Commit graph

4003 commits

Author SHA1 Message Date
593c0558e0 Refactored simple backup feature when creating a new story and discarding unsaved content (e.g. by accidentally closing the window – which furthermore is alerted now using onbeforeunload handler) 2015-03-15 17:48:38 +01:00
cdc6f5db07 Merge branch 'develop' into feature/wysiwyg-editor
* develop:
  Added comment about why including main CSS file does not work
  Moved renderPage() method down in code
  Fixed bug causing error when trying to delete a comment (see e-mail from kinomu, 22 Feb 2015 19:20:15 – trinity-4365fa39-f3f6-407b-a241-18f3c180b59e-1424629215534@3capp-gmx-bs61)
  Fixed source map URLs

Conflicts:
	build.xml
	code/Site/Site.js
	static/scripts/cm.min.js
	static/scripts/main.min.js
	static/styles/main.min.css
2015-03-14 19:56:46 +01:00
a9ef61898d Added comment about why including main CSS file does not work 2015-03-14 19:33:56 +01:00
5986b59089 Moved renderPage() method down in code 2015-03-14 19:25:48 +01:00
ca5e560ef2 Fixed bug causing error when trying to delete a comment (see e-mail from kinomu, 22 Feb 2015 19:20:15 – trinity-4365fa39-f3f6-407b-a241-18f3c180b59e-1424629215534@3capp-gmx-bs61) 2015-03-14 19:23:32 +01:00
35bb4734ed Streamlined WYSIWYG story editor integration 2015-03-14 19:16:23 +01:00
1ebcbca48e Merge branch 'develop' into feature/wysiwyg-editor
* develop:
  Fixed color of button for current page in pager navigation
  Fixed color of title and hovered navigation items
  Removed layout values for debugging
  Renamed layout “variables” to “settings”
  Re-added some layout variables and refactored CSS
  Added control for copying the value macro to the clipboard
  Enabled built-in colorpicker for any value which name ends with “color”. (Fixes issue 39.) Added remove link for any value form element. Fixed issue where no value could be added after the last remaining one was removed.
2015-03-14 18:05:27 +01:00
52ffac6295 Fixed color of button for current page in pager navigation 2015-03-14 16:36:47 +01:00
407e46a00b Fixed color of title and hovered navigation items 2015-03-14 16:30:04 +01:00
fa8785050f Removed layout values for debugging 2015-03-14 16:19:47 +01:00
d856ba24e3 Renamed layout “variables” to “settings” 2015-03-14 16:17:16 +01:00
a93b467e8e Merge branch 'develop' into feature/layout-rerefactoring
* develop:
  Added control for copying the value macro to the clipboard
  Enabled built-in colorpicker for any value which name ends with “color”. (Fixes issue 39.) Added remove link for any value form element. Fixed issue where no value could be added after the last remaining one was removed.
2015-03-14 16:08:32 +01:00
3698c82d99 Re-added some layout variables and refactored CSS 2015-03-14 16:03:26 +01:00
90a700ab7c Added control for copying the value macro to the clipboard 2015-03-07 18:18:34 +01:00
649cd144eb Enabled built-in colorpicker for any value which name ends with “color”. (Fixes issue 39.) Added remove link for any value form element. Fixed issue where no value could be added after the last remaining one was removed. 2015-03-07 18:02:28 +01:00
8ae9afae6f Implemented first version of working WYSIWYG story editor 2015-03-07 12:28:05 +01:00
5446fc87c2 Fixed nasty bug when resubmitting the story editor via script 2015-03-06 17:25:53 +01:00
cac7eb0ea7 Moved client-side extract script to extra skin which will always be rendered (edit skin is customizable) 2015-02-28 22:55:23 +01:00
1cc9b347de Added missing ID to story editor form 2015-02-28 22:06:00 +01:00
865a418b49 Implemented client-side parsing of story content to extract image and video URLs as metadata. This metadata is then used for rendering Open Graph, Twitter Cards and microdata. 2015-02-28 22:00:54 +01:00
29350df8f0 Commented out og:locale data because Facebook is very picky about locales (see https://www.facebook.com/translations/FacebookLocales.xml) 2015-02-28 17:18:18 +01:00
1ced2595dd Fixed some issues with microdata and Open Graph, removed twitter:site data and added og:locale 2015-02-28 16:43:57 +01:00
9804165c33 Fixed tiny bug when rendering the og:image et al. meta information 2015-02-28 14:40:56 +01:00
5734ca7f8b Improved support for OpenGraph, Twitter Cards and Microdata 2015-02-28 14:12:34 +01:00
40534dad48 Refactored regular expression for autolinking to become more readable and reliable 2015-02-22 15:08:38 +01:00
01ec0ba1e4 Changed order of filters to be applied to story text to make autolinking more reliable 2015-02-22 15:07:46 +01:00
1812a8bc98 Always redirect to the story form after submit 2015-02-22 14:39:47 +01:00
938b4b57e0 Removed code removing one choice field too many 2015-02-22 14:39:15 +01:00
99da4fcd6f Fixed erroneous display of »closed« poll if it was not opened at all 2015-02-22 14:38:10 +01:00
76d09794a5 Fixed invalid HTML 2015-02-22 14:37:32 +01:00
90b0124d56 Removed title from default comment form 2015-02-22 14:36:53 +01:00
dd3fbb9a0a Fixed HTML for validation with validator.w3.org 2015-02-22 14:36:00 +01:00
6ed2ed60d0 Removed obsolete code in comments 2015-02-21 22:16:08 +01:00
8a196f3632 Replaced double newlines with <p> elements before letting Helma <br>eak everything 2015-02-21 22:00:20 +01:00
39e08577f0 Modified link of Antville logo to lead back to start page of the site 2015-02-21 21:56:47 +01:00
0733d19622 Added json2 and lessjs via node_modules / npm 2015-02-21 21:55:46 +01:00
d864126e50 Fixed restoring of JS triggering links 2015-02-21 20:00:55 +01:00
158594f3f7 Slightly modified exampes in robots.txt 2015-02-21 19:27:22 +01:00
b8df28e0de Added dummy action for favicon.ico to Root 2015-02-21 19:26:32 +01:00
60f6349df9 Do not redirect to the static URL of a file 2015-02-21 19:25:51 +01:00
9ef3184d11 Refactored code with required client-side functionality to basically work with disabled JS, too. Fixes #36 2015-02-21 19:21:35 +01:00
1d1d2ebf57 Removed obsolete attribute 2015-02-21 19:14:18 +01:00
30c40de80b Added metadata for Open Graph and mobile devices 2015-02-21 19:12:22 +01:00
c5b4293d74 Added safemode to site delete link 2015-02-15 20:46:21 +01:00
fb3168701c Refactored blocking users and deleting sites in admin section 2015-02-15 20:26:57 +01:00
31b15d6b46 Added new ant image as favicon 2015-02-15 20:25:24 +01:00
be4d319d99 Fixed sorting of skins 2015-02-14 17:38:54 +01:00
4f36a1e661 Fixed missing setting of modified date on creation of root site 2015-02-14 17:01:59 +01:00
73af9f864b Fixed potential bug in quote() method, leaving some strings unquoted which might break things 2015-02-14 16:30:49 +01:00
246e1c9503 Fixed some issues when creating / removing a site 2015-02-11 22:23:30 +01:00