1
0
Fork 0
mirror of https://github.com/SunRed/haste-server.git synced 2024-11-24 02:00:17 +01:00
Commit graph

58 commits

Author SHA1 Message Date
zneix
509971c5ac
Switched to proper babel-minify lib
I Decided to remove static asset compression from actual code to make runtime faster and moved it to package.json script which only builds application once on installation.\nAfter this commit, after every update that changed static/application.js, you also need to run npm run-script build after git pull
2020-09-20 18:18:38 +02:00
twiclo
f8c3a58b3a
Updated highlightjs to support many more languages (#6)
We updated highlight.min.js library to newer version (v9.12.0 -> 10.2.0) and added support for many languages. Updated extensionMap accordingly and also removed from it some unnecessary aliases, like 'json' since they are already natively supported by highlight.min.js library.
There also a new documentation page under docs/languages.md which lists all supported aliases.
2020-09-18 16:19:34 +02:00
zneix
3d501c980f
Made app.js proper Class, added support for non-absolute path
Something that would solve relevant upstream issues/prs: seejohnrun/haste-server#53 seejohnrun/haste-server#140
2020-09-05 18:13:49 +02:00
zneix
d303416dba fixed eslint formatting 2020-08-28 23:57:50 +02:00
zneix
78aabf90bb Refactored static files compression 2020-08-26 16:04:20 +02:00
zneix
c585e3b815 Huge refactor, switched to express 2020-08-26 04:54:58 +02:00
John Crepezzi
bf1dbb68b8 Fix eslint 2017-06-26 12:38:17 -04:00
John Crepezzi
af9a71549b Upgrade highlight.js
Also adds swift support

Closes #69
2016-09-12 20:10:15 -04:00
John Crepezzi
afb0c332cc Added shift modifier to twitter shortcut
Closes #29
2012-12-23 10:53:53 -05:00
John Crepezzi
46bdd27431 Fix for type name ;)
Closes #28
2012-12-19 08:17:52 -05:00
John Crepezzi
54e55b1b0d Added JSON to extension map (JS)
Closes #28
2012-12-19 08:12:08 -05:00
John Crepezzi
13bb094fb3 Revert "Refactor frontend"
This reverts commit 1950cc8db0.
2012-03-19 18:17:39 -04:00
Michael Macias
1950cc8db0 Refactor frontend
* restructured JavaScript using backbone.js
* replaced highlight.js with CodeMirror for its editor
* added CodeMirror Solarized (dark) theme based on Ethan Schoonover's solarized.vim
* changed `POST /document` to accept real JSON
* cleaned up template and stylesheet
2012-02-18 02:40:56 -06:00
John Crepezzi
87e28548b9 Explicitly set encoding
Closes #24
2012-02-07 17:52:31 -05:00
John Crepezzi
ef96704f2c Basic coffeescript highlighting
From https://github.com/dnagir/highlightjs-coffeescript

Closes #2
2012-01-24 22:28:58 -05:00
John Crepezzi
047a686248 Open raw in same window 2012-01-23 11:40:09 -05:00
John Crepezzi
844a2efb02 Added support for raw button 2012-01-10 23:06:44 -05:00
Michael Macias
d87c3b7d61 Escape document when using the txt extension 2012-01-08 23:47:07 -06:00
Joe Friedl
6145a938e3 Error messages in the UI 2011-12-19 11:44:12 -06:00
John Crepezzi
3a6b36ebaa Working line number support - just waiting on a final color from @bridawson
[#5]
2011-12-15 21:27:23 -05:00
John Crepezzi
49bb449141 Back button fix 2011-12-15 14:23:09 -05:00
John Crepezzi
0f02d83d24 remove ^L for saving 2011-11-29 20:11:09 -05:00
John Crepezzi
15bd62836b Change how twitter link is built 2011-11-29 12:06:49 -05:00
John Crepezzi
0e292ad21b support .txt type 2011-11-29 10:44:05 -05:00
John Crepezzi
9378f2b2e4 Automatically add file extensions 2011-11-29 10:39:12 -05:00
John Crepezzi
9157a0227d Remove clipboard 2011-11-28 13:02:48 -05:00
John Crepezzi
52198b97b2 Get rid of the CSS #key .box* nonsense 2011-11-28 09:56:06 -05:00
John Crepezzi
f651c30981 Merge branch 'master' of codeplane.com:seejohnrun/haste-server
Conflicts:
	TODO.md
2011-11-28 09:48:28 -05:00
John Crepezzi
9e046ba8eb Added the arrow pointer in 2011-11-28 09:42:26 -05:00
John Crepezzi
895485e410 Fix highlighting bug 2011-11-28 00:54:24 -05:00
John Crepezzi
2a3a9046d8 Proper markdown highlighting 2011-11-27 23:39:09 -05:00
John Crepezzi
4233e58995 Added copy URL functionality 2011-11-27 15:34:09 -05:00
John Crepezzi
8281d382e4 on highlight error, return data 2011-11-23 16:58:56 -05:00
John Crepezzi
6285d665ad Expand extension map and catch highlight errors 2011-11-23 16:55:26 -05:00
John Crepezzi
f601d9f159 Implement redesign of key 2011-11-23 11:31:50 -05:00
John Crepezzi
ec0d419c61 Allow forcing of highlight type 2011-11-22 20:29:46 -05:00
John Crepezzi
025dfcfe26 Remove save when on locked screen 2011-11-21 20:47:29 -05:00
John Crepezzi
29a600fe87 Fix ^n bug while editing 2011-11-21 10:01:33 -05:00
John Crepezzi
9fa99fe69d Fixes for Firefox 2011-11-21 09:56:33 -05:00
John Crepezzi
9638baffdb Make twitter posting an option 2011-11-19 01:00:04 -05:00
John Crepezzi
6499ad3190 Clean up animations 2011-11-19 00:53:38 -05:00
John Crepezzi
af02375b7c Show certain options only sometimes 2011-11-19 00:30:14 -05:00
John Crepezzi
f54712f9d9 Added twitter functionality 2011-11-19 00:23:53 -05:00
John Crepezzi
b9e9bd154c Fix some annoying visual quirks 2011-11-19 00:02:11 -05:00
John Crepezzi
01b622821e Added a command key 2011-11-18 18:17:49 -05:00
John Crepezzi
a6bd69f20a Rename to haste 2011-11-18 17:24:15 -05:00
John Crepezzi
fe68e42b90 Don't save blank docs 2011-11-18 17:21:31 -05:00
John Crepezzi
f48cc45928 Cleanup and remove TODO that is done 2011-11-18 17:14:03 -05:00
John Crepezzi
f935ac56c2 Nicer page titles 2011-11-18 16:42:05 -05:00
John Crepezzi
d69839b2fb Push state for new documents fixed 2011-11-18 16:37:38 -05:00