79 Commits

Author SHA1 Message Date
Sebastian Schenk c3e3c4af96 Fix missing attribut in xhr request for dnd 2021-06-29 20:00:01 +02:00
ritt 4c184eb83f Added confirmation dialog before deleting an attachment 2017-11-08 16:16:38 +01:00
ritt 848ceb4370 Removed non-printable characters at beginning of file 2015-11-10 14:19:17 +01:00
ritt 87a560796d Switch language of CKEditor automatically 2015-07-29 09:46:18 +02:00
ritt 5a8547bd99 Upgraded CKEditor to version 4.5.1 2015-07-28 12:24:16 +02:00
ritt a09ed01c82 Fixed problem with truncated date on CKEditor "Insert Timestamp" button 2015-06-08 12:01:17 +02:00
ritt c7d1f53594 Stop AJAX request before submitting entry 2015-06-05 15:59:51 +02:00
ritt 3c6435e3a8 Fixed issue with "Save" button and "Show text = 0". Hide "Preview" button when "Show text = 0". 2015-05-04 15:43:23 +02:00
ritt 98494f3cb0 Fixed time for "draft saved" display, save draft every 10 seconds. 2015-04-23 16:03:48 +02:00
ritt 6f2eed1852 Display "Draft saved at..." 2015-04-21 16:36:22 +02:00
ritt 725545d482 Fine tuned draft submission, fixed issue with multiple drafts, made drafts work with locks 2015-04-02 12:07:42 +02:00
ritt 3d5f1cbc12 Finished Drag & Drop, resize editor window (all modes) to fit exactly browser window. 2015-04-01 16:08:04 +02:00
ritt 16748f643b Implemented drag handler 2015-03-31 17:56:21 +02:00
ritt b74db5edb6 Enabe/disable smileys for ELCode via display attribute. 2015-03-31 12:07:33 +02:00
ritt 70b274b2c0 Implemented insertion of link to full-size image when DnD is used in the editor window 2015-02-02 17:29:45 +01:00
Dario Milicic 83a10a5e9a Dragged and dropped images should now also link to themselves. 2015-01-28 21:37:11 +01:00
Dario Milicic e04fb76a49 Fixed the absolute URL in the plugin dndfiles to be relative. 2014-10-27 11:30:15 +01:00
Dario Milicic 39f100a402 All absolute URLs that were used for uploading files are now relative. 2014-10-23 11:38:14 +02:00
Dario Milicic 46bdc62add Localize function now uses the correct relative link. 2014-10-22 18:22:37 +02:00
Dario Milicic f6275ffc09 Unnecessary console outputs removed. 2014-10-22 17:38:40 +02:00
Dario Milicic 72a8401f14 All files that are uploaded when creating a new entry now appear in the attachment section where they can be deleted from the server entirely. NOTE: This does NOT automatically remove them from the editor as well. 2014-10-07 23:48:16 +02:00
Dario Milicic 4d6e68f9b1 All new strings should now be localized. There is a new function called localize in the scripts/load-ckeditor.js that translates any given string to the server's language (This function is SYNCHRONOUS). The editor area should make use of more room on bigger screens. The make install command should now behave correctly. 2014-09-30 12:55:07 +02:00
Dario Milicic ee7bb02433 Revert "This is a commit that updates ELOG to the demonstration version for the SwissFEL student presentations. This version is just temporary and all changes will probably be reverted in a future patch."
This reverts commit 3463760570.
2014-09-10 18:48:25 +02:00
Dario Milicic aab9ffe387 Merge branch 'develop' of https://bitbucket.org/ritt/elog into develop 2014-09-10 17:35:06 +02:00
Dario Milicic 3463760570 This is a commit that updates ELOG to the demonstration version for the SwissFEL student presentations. This version is just temporary and all changes will probably be reverted in a future patch. 2014-09-10 17:34:40 +02:00
ritt 502845108b Removed menu items which do not make sense with ELOG 2014-09-05 16:20:58 +02:00
Dario Milicic 16e6126304 Made the editor area a bit bigger. Replaced colored toolbar icons with black and white icons for more consistency. Expanded the custom config script so toolbar options can be easily modified. 2014-09-05 15:30:34 +02:00
Dario Milicic 06a1c240a6 Fixed a repository problem where one of the plugins was not downloaded when the repository is cloned. 2014-08-20 09:56:31 +02:00
Dario Milicic e723e7e6b2 Deleted an internal git repository that was not correctly set up as a submodule. 2014-08-20 09:55:15 +02:00
Dario Milicic 53bed4e1f9 Added a global progress bar for all custom plugins which upload files. Also added a progress bar for the drag and drop box for attachment upload. 2014-08-19 15:07:22 +02:00
Dario Milicic 74a2bb2705 Fixed the multilanguage support for the fileupload plugin. On the new entry page a new attachment drop box is added. Users can now drag&drop files into this drop box to be uploadad asynchronously and displayed as attachments on the page without reloading the entire page. 2014-08-14 13:59:07 +02:00
Dario Milicic 228262bf70 Fixed a few bugs regarding sending empty responses. If no file is selected for upload an alert will appeart to notify the user. 2014-08-11 11:19:47 +02:00
Dario Milicic 89d9f7a6ed File upload plugin implemented as a toolbar command and added some multilanguage support. Completely removed the old FCKeditor from the source code. 2014-08-08 15:42:40 +02:00
Dario Milicic 25ed9017de Modified the toolbar image upload button so it correctly uploads images to ELOG. Changed the response content type to application/json so the client won't have to parse the response to JSON. 2014-08-07 16:56:23 +02:00
Dario Milicic d05e6016b7 Replaced the FCKeditor with the new CKeditor v4. Implemented a plugin that allows dragging and dropping one or more files into the CKeditor - plugin name is dndfiles. Modified the save toolbar button on the CKeditor so that it behaves like a submit button. Implemented a timestamp plugin that behaves the same way as the old timestamp button on FCKeditor. Added a plugin to the CKeditor that allows typing LaTeX syntax. 2014-08-06 15:19:55 +02:00
ritt 97b4959f64 Release 2.7.7-1
SVN revision: 2246
2009-07-31 11:00:49 +00:00
ritt 0e2b1d4153 Removed jcmd='Delete' in deleteAtt()
SVN revision: 2231
2009-07-17 06:22:10 +00:00
ritt 2ade7175ba Added restauration of scroll state inside replaceSelection
SVN revision: 2215
2009-06-22 12:42:27 +00:00
ritt 761b5a0e0e Revised selection code
SVN revision: 2160
2009-01-16 13:42:07 +00:00
ritt 9fd81e39e7 Made keystrokes working with Safari (Chrome)
SVN revision: 2138
2008-11-03 14:08:07 +00:00
ritt f54fe5f329 Made thumbnail resizing work with IE
SVN revision: 2039
2008-02-11 20:50:50 +00:00
ritt 4d056313b3 Implemented 1:1 thumbnail scaling
SVN revision: 2038
2008-02-11 16:26:48 +00:00
ritt 6c46ab832e Implemented resizing of thumbnails for PDF attachments
SVN revision: 2032
2008-02-06 14:44:31 +00:00
ritt 72ebdc83cb Implemented resizing and rotation of thumbnails
SVN revision: 2027
2008-02-05 21:20:59 +00:00
ritt 84975adda3 Allow Ctrl-Shift-PgUp/PgDn for browsing
SVN revision: 2014
2008-01-30 16:08:08 +00:00
ritt b6e49c2db8 Upgraded to FCKeditor 2.5beta
SVN revision: 1968
2007-11-27 13:52:23 +00:00
ritt 76e068438a Implement InsertLink
SVN revision: 1961
2007-11-07 21:33:12 +00:00
ritt 6534db6d49 Added CTRL-N for new list item, thanks to Bill Pier
SVN revision: 1957
2007-11-05 08:17:52 +00:00
ritt 882978ff8c Version 2.4.3
SVN revision: 1952
2007-10-25 18:33:04 +00:00
ritt 2d6d08a5b0 Use translation strings from main HTML page
SVN revision: 1947
2007-10-24 21:33:35 +00:00