Commit Graph
61 Commits
Author SHA1 Message Date
Maciej Smolinski 9690f717fe Modules: Add code highlighting using hooks.
Achieved using Prism.js (MIT licensed) library and its language addons.
Website: http://prismjs.com/
2016-07-19 19:06:21 +02:00
Maciej Smolinski e25926619e Events: Allow for easier application extension with hook points.
How does it work?

Every time someone wants to extend the application, instead of modifying original `publishing.js` file, he or she can subscribe to given events, e.g.

Scenario: Table Of Contents extension

```
// resources/public/js/toc.js

events.subscribe('content:rendered', function () {
  // Prepend table of contents in edit mode on updates
});

events.subscribe('document:loaded', function () {
  // Prepend table of contents on initial load in edit view and preview
});
```

Now, having structured way to hook into app allows to keep the main codebase maintainable and pretty stable and extremely extensible at the same time.
2016-07-19 19:03:20 +02:00
Christian Müller 29200e6671 terms of service added 2016-07-02 17:24:23 +02:00
Christian Müller 8ccf7d5a71 Note deletion feature added 2016-03-21 11:16:35 +01:00
Christian Müller 2dee4a9d1d tableau feature added to editing page; styling improved 2015-11-03 18:38:51 +01:00
Christian Müller 15bfde9a8c preview added to the left 2015-11-03 12:45:40 +01:00
Christian Müller e852d3b3e5 draft autosave finished 2015-10-31 08:13:16 +01:00
Christian Müller 74fdc348a3 first version of the draft feature 2015-10-28 14:27:59 +01:00
Christian Müller b078891190 /edit page implemented 2015-10-17 23:40:13 +02:00
Christian Müller 8cc0360c57 POST request parsing added 2015-10-17 21:57:56 +02:00
Christian Müller b05f103a37 /new page implemented 2015-10-06 22:06:36 +02:00
Christian Müller da3535e06c styling improved 2015-09-30 20:21:03 +02:00
Christian Müller aad64bc256 expected note title feature added 2014-12-25 15:56:10 +01:00
Christian Müller d353a746ea md5 lib eliminated 2014-12-25 01:00:30 +01:00
Christian Müller 731f299efe theming moved to server side due to unreliability of less.js 2014-12-25 00:19:09 +01:00
Christian Müller 604b0e5698 bugfix 2014-12-24 11:49:50 +01:00
Christian Müller fd917dcce5 bugfix 2014-12-24 11:30:18 +01:00
Christian Müller 10a55121f4 rollback to previous styling solution 2014-12-24 10:41:49 +01:00
Christian Müller 1cd2b9e181 newest less.js version used 2014-12-23 23:38:13 +01:00
Christian Müller 63eb55b827 bugfix 2014-12-23 23:12:40 +01:00
Christian Müller 709cc9347b further theming simplification 2014-12-23 22:41:34 +01:00
Christian Müller ea16c6dc07 footer styling implemented using flexbox 2014-12-23 21:10:14 +01:00
Christian Müller b918f97d17 start time imrpovements; removing local js files 2014-12-23 19:36:46 +01:00
Christian Müller 3a40e00a2a styling fixed 2014-12-23 18:38:09 +01:00
Christian Müller ab41d82cf5 styling delay fixed 2014-12-23 17:12:37 +01:00
Christian Müller 801477ef6b upgrade less.js, marked.js 2014-12-14 22:32:12 +01:00
Christian Müller dccf9e3966 header size setting added 2014-10-05 20:45:08 +02:00
Christian Müller 0dfbfc0824 all urls changes to https 2014-10-04 21:56:05 +02:00
Christian Mueller 36158191bc google analytics removed 2014-10-01 16:13:32 +02:00
Christian Müller 2aebc91b6e landing page simplified 2014-09-28 11:53:30 +02:00
Christian Mueller b0920d9e2e font-size -> text-size 2014-09-28 11:01:17 +02:00
Christian Mueller 72e36acfd2 font size option added 2014-09-27 14:55:03 +02:00
Christian Mueller 6557de2fdf excluded heavy js where not necessary 2014-07-08 08:56:58 +02:00
Christian Mueller c3980a325c translating MD on the server side now 2014-07-08 08:22:34 +02:00
Christian Mueller 5566936e5c bugfix 2014-03-31 21:06:17 +02:00
Christian Mueller 144218ecc2 bugfix: signature computation was broken for multiline texts 2014-02-25 18:13:01 +01:00
Christian Mueller 8a219376e5 minor style improvement 2014-01-26 13:34:57 +01:00
Christian Mueller 1800397fcf sanitizing added 2014-01-26 11:24:14 +01:00
Christian Mueller c0ac559608 links moved to the page bottom 2014-01-26 09:56:56 +01:00
Christian Mueller 8a6eadf79a fonts are loadedsynchronously now 2014-01-20 22:15:42 +01:00
Christian Mueller 5bb42baf80 escaping bug fixed 2014-01-20 21:53:17 +01:00
Christian Mueller d117a582df stylig bug fixed 2014-01-19 22:28:03 +01:00
Christian Mueller af7b94ddfe rollback of 2fff40f 2014-01-19 22:03:10 +01:00
Christian Mueller 2fff40f20f escaping bug 2014-01-19 15:57:40 +01:00
Christian Mueller 226d8133da theming moved to JS completely 2014-01-19 12:22:47 +01:00
Christian Mueller c84909d891 last bugs fixed 2014-01-17 22:27:08 +01:00
Christian Mueller 9bd70deadc merge with master 2014-01-17 21:30:06 +01:00
Christian Mueller 2835537d3d bugfix: no posting possible when password specified 2014-01-17 07:10:19 +01:00
Christian Mueller fa3a93ee4a another md5 implementation used 2014-01-16 20:22:32 +01:00
Christian Mueller a245dd8bcf migrated to API internally 2014-01-15 19:47:44 +01:00