Christian Müller
f2d395de33
stats rendering simplified
2017-09-11 23:46:46 +02:00
Christian Müller
b2edcd6569
new.html form added
2017-09-11 23:40:03 +02:00
Christian Müller
9a2d6f516a
stats added
2017-09-11 23:03:01 +02:00
Christian Müller
852f7785e8
export endpoint added
2017-09-11 22:40:56 +02:00
Christian Müller
4b827e7723
adds title derivation
2017-09-11 22:39:36 +02:00
Christian Müller
b7875667f0
fixes styling, adds predefined error notes
2017-09-11 22:26:39 +02:00
Christian Müller
54f1c1d460
sqlite access added
2017-09-11 20:40:43 +02:00
Christian Müller
8f12a1a691
templating added
2017-09-09 20:52:39 +02:00
Christian Müller
7afa2fc724
markdown conversion added
2017-09-09 14:03:11 +02:00
Christian Müller
0833852238
first server version added
2017-09-09 13:24:38 +02:00
Christian Müller
72854f8b28
adds echo framework
2017-09-09 13:09:22 +02:00
Christian Müller
e0d8c470a4
style.css changed
2017-09-09 00:15:47 +02:00
Christian Müller
ab8a2d874c
preparing for 3.0
2017-09-09 00:08:14 +02:00
Christian Müller
80950e7286
fixed TOS formatting
2017-09-08 23:57:11 +02:00
Christian Müller
d6af897453
fixes tern project for node
2017-02-26 23:54:43 +01:00
Christian Müller
5a89055e1f
delete from cache only new blacklist entries
2017-02-26 22:59:05 +01:00
Christian Müller
f826e172f9
deletes jsconfig.json
2017-02-26 22:34:01 +01:00
Christian Müller
91e5c745c1
jshinted all files
2017-02-26 22:13:18 +01:00
Christian Müller
7078589d7c
adds API tests
2017-02-26 20:34:36 +01:00
Christian Müller
dbd3414ef5
improves error handling
2017-02-26 17:30:02 +01:00
Christian Müller
a133871595
removes timestamp based session
2017-02-10 22:30:34 +01:00
Christian Müller
62a8c5c736
set autocomplete=off for password field
2017-01-14 20:50:56 +01:00
Christian Müller
b2fa8c3cdc
minor cleanups
2017-01-14 19:52:35 +01:00
Christian Müller
b2a0f2ae6e
fixes note title generation
2016-11-05 20:23:09 +01:00
Christian Müller
2ffc975568
code color scheme improved
2016-10-23 14:06:57 +02:00
Christian Müller
dbcde233c6
minor refactorings
2016-10-22 15:15:46 +02:00
Christian Müller
e9c8ad4fdb
fixes templating
2016-10-13 10:38:48 +02:00
Christian Müller
48c9ad65a5
padding to code blocks added
2016-08-03 21:47:38 +02:00
Christian Müller
fec02520b0
changelog
2016-08-03 21:27:54 +02:00
Christian Müller
234967b40d
Merge pull request #37 from maciejsmolinski/master
...
Hooks and Code Highlighting
2016-08-03 21:27:09 +02:00
Maciej Smolinski
f2c77b6c0e
Highlight: Keep highlighted code tags at 1.05em font-size.
2016-08-03 08:00:23 +02:00
Maciej Smolinski
5aa889a63a
Highlight: Use arrow functions (back-end rendering).
2016-08-03 07:55:23 +02:00
Maciej Smolinski
7f0fefc900
Highlight: Increase the contrast between the text background and code background.
2016-08-03 07:54:34 +02:00
Maciej Smolinski
6879b08fd0
Highlight: Make hljs theme code easily readable.
2016-08-03 07:53:51 +02:00
Christian Müller
3810db4a61
extends robots.txt with ognoring edit, exports and stats
2016-08-02 22:06:25 +02:00
Maciej Smolinski
29d036c0fd
Highlight: Use default theme.
2016-08-01 19:57:51 +02:00
Maciej Smolinski
4676d46a15
Highlight: Inline highlight.js styles so even more transfer is saved and notes render faster.
2016-08-01 19:52:51 +02:00
Maciej Smolinski
0f618cd50f
Highlight: Apply some defaults to hljs themes (background, border radius).
2016-08-01 19:38:45 +02:00
Maciej Smolinski
093b0c95e1
Highlight: Use tomorrow (light) theme.
2016-08-01 19:38:29 +02:00
Maciej Smolinski
dd2c69afdb
Highlight: As per PR comments - preview becomes static (back-end rendered), edit more dynamic. No hooks.
2016-08-01 19:15:42 +02:00
Maciej Smolinski
55bfeeb156
Highlight: Use lighter theme with good contrast.
2016-07-26 19:58:36 +02:00
Maciej Smolinski
032b088529
Highlight: Node.js highlighting.
2016-07-26 19:33:04 +02:00
Maciej Smolinski
dc7ecb7621
Highlight: Use highlight.js.
2016-07-26 19:32:48 +02:00
Maciej Smolinski
74ed0744ec
Highlight: Use marked options.
2016-07-26 18:21:06 +02:00
Maciej Smolinski
262202fbad
Styles: Prevent syntax-highlighted code from being over-sized.
2016-07-20 16:55:58 +02:00
Maciej Smolinski
38e6108000
Module: Use Prism own autoloader.
2016-07-20 09:42:22 +02:00
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
e902fc3a26
logging improved
2016-07-02 18:18:19 +02:00
Christian Müller
f53962915d
minor improvement on landing
2016-07-02 18:17:19 +02:00