Commit Graph

41 Commits

Author SHA1 Message Date
Nicolas Wavrant 46a08fb2de README: Add example of nginx config 2024-01-08 01:38:51 +00:00
Nicolas Wavrant aaf4837aaa sw.js: support calling /edit on a directory path 2020-07-10 08:41:30 +02:00
Nicolas Wavrant 8bbbe96c22 version up renderjs/rsvp 2020-04-30 14:44:27 +02:00
Nicolas Wavrant 31ea8179a6 storage: trim directory_list.txt content to avoid empty strings on split 2020-04-10 07:07:13 +02:00
Nicolas Wavrant 9fe2b229ff editor: fail gracefully when pulling without credentials set 2020-04-10 07:00:29 +02:00
Nicolas Wavrant 759a1a96b3 sw: never look in cache for query to a different domain 2020-04-10 06:50:23 +02:00
Nicolas Wavrant fc36423b57 storage: do not hardcode directory list to synchronize in gadget logic 2020-04-10 06:48:51 +02:00
Nicolas Wavrant 6569a6ffe2 Add search addon in CodeMirror 2020-01-21 06:38:18 +01:00
Nicolas Wavrant fd16d0cc34 Editor shouldn't grow bigger than page height 2019-06-28 15:10:23 +02:00
Nicolas Wavrant 8431cb1dfc Organise file explorer in sections 2019-06-28 15:09:56 +02:00
Nicolas Wavrant 4e3ac14a05 Redirect to Preview mode if there is no network 2019-02-18 11:58:53 +01:00
Nicolas Wavrant 9b870cce6a Update window title with current document 2019-02-17 09:05:03 +01:00
Nicolas Wavrant 6059d2c346 Empty hash when previewing document 2019-02-17 07:36:20 +01:00
Nicolas Wavrant 1911875ade Adding /edit to pathname opens this pathname in editor 2019-02-17 07:26:25 +01:00
Nicolas Wavrant 329a01efdd Add a router gadget
Make use of the router for opening documents in editor, which is
much better than intercepting events.
2019-02-15 14:35:09 +01:00
Nicolas Wavrant b11497f438 make the editor a standalone gadget 2018-05-30 12:29:22 +02:00
Nicolas Wavrant 7bd59fc6cb gadget_storage: replace some "this" by "gadget" 2018-05-21 18:40:58 +02:00
Nicolas Wavrant 6f78fed638 Reload menu when deleting or adding new document 2018-05-21 18:35:22 +02:00
Nicolas Wavrant f2be83ebe1 Add delete icon 2018-05-20 21:32:22 +02:00
Nicolas Wavrant 812e54e86e add a delete feature 2018-05-20 21:29:40 +02:00
Nicolas Wavrant 775dd259eb text_editor: do not loose blob's type information 2017-12-28 19:58:30 +01:00
Nicolas Wavrant 98aaa4a5fe storage: add test folder in the list of folders to pull 2017-12-02 19:29:27 +01:00
Nicolas Wavrant 41a99fe060 text_editor: only get file type from content-type header 2017-12-02 19:28:09 +01:00
Nicolas Wavrant 1f437fdb6f README: update Apache conf to return text files as utf-8 encoded 2017-12-02 19:27:27 +01:00
Nicolas Wavrant 878b1f5627 Add .gitignore 2017-11-08 21:05:14 +01:00
Nicolas Wavrant e8aedb112c Make /dev folder public
It happens that Service Worker do not trigger the Basic Auth
credential window when content fetched returns 401. Thus whenever
the browser "forgets" the credentials, playJS becomes unusable until
user unregister the service worker (or delete all the site's data on
mobile, which sucks as we want to have a working offline mode).
In fact playJS do not need to be private, as it is an open source
software. Thus the easiest workaround to this web browser (HTML5 spec ?)
is to make "/dev" folder public, but create a "/priv" directory where
user can store their private information.
2017-11-08 20:49:19 +01:00
Nicolas Wavrant 2018a5fcdc gadget_storage.js: fix promise's chain 2017-11-06 22:18:16 +01:00
Nicolas Wavrant 73528f46d5 editor.js: fix typo 2017-11-06 22:06:17 +01:00
Nicolas Wavrant 0e7d9b8b87 gadget_image_editor: define setters 2017-10-26 20:29:43 +02:00
Nicolas Wavrant 75d550adc8 Add link to open preview of current buffer in new tab 2017-10-26 20:29:43 +02:00
Nicolas Wavrant f5bc416d87 gadget_image_editor: add a bit of CSS 2017-10-26 19:48:22 +02:00
Nicolas Wavrant f07228a569 Make document list more compact 2017-10-26 19:47:31 +02:00
Nicolas Wavrant 05456a3ab4 Add favicon 2017-10-26 19:47:09 +02:00
Nicolas Wavrant 117d721299 Version up for renderjs 2017-10-26 19:46:24 +02:00
Nicolas Wavrant b7cac6ea83 commit all "\ No newline at end of file"
to be annoyed anymore
2017-10-23 21:15:54 +02:00
Nicolas Wavrant fadd68ba2e image_editor: add an image upload function 2017-10-23 21:13:49 +02:00
Nicolas Wavrant 323aeadd10 editor_gadget: getValue() should always return a blob 2017-10-23 21:13:12 +02:00
Nicolas Wavrant f4766e4a0b add basic image editor and simplify interface of editor gadgets.
Editor gadgets now takes a blob as parameter to replace object's "value"
and mitetype parameters.
2017-10-22 22:13:57 +02:00
Nicolas Wavrant c228a8ae6b Implement buffers.
Now when a file is opened, a buffer containing it is created on the fly.
As each file has their own buffer, it is not needed to read from disk
every time user wants to open a file. Also, unsaved changes won't be
lost when user changes buffer (TODO: implement function "Save All").

This commit also set up the bases to multiple kind of editors (= a file
can be open in a different editor depending of their mime-type).
2017-10-21 23:40:27 +02:00
Nicolas Wavrant a628a8303a sw.js: do not fail to get pages if there is no setting registered yet 2017-10-18 12:34:06 +02:00
Nicolas Wavrant b68494b4d2 First Commit 2017-10-12 22:04:05 +02:00