summaryrefslogtreecommitdiff
path: root/src/static
AgeCommit message (Collapse)Author
2012-10-23Do not assume window object existsChia-liang Kao
2012-10-16Merge pull request #1072 from marcelklehr/fix/timeslider-links-regexpJohn McLear
Fix #1067 Corrected exports links regexp
2012-10-16Fix #1067 Corrected exports links regexpMarcel Klehr
2012-10-12fix Pita/etherpad-lite #1032NAGOYA, Yoshihiko
refact inInternationalComposition
2012-10-04Merge pull request #1004 from yourcelf/developJohn McLear
Add `userColor` query param to set initial color
2012-10-02Update src/static/js/pad_editbar.jsJohn McLear
Somehow </iframe> was no more.  Now it is back..  Oh boy.
2012-09-21Make intialization of Ace2Inner analogous to other page controllers.Chad Weider
2012-09-21Reformat Ace2Editor frame boot scripts.Chad Weider
2012-09-21Consolidate Ace2Editor frame's boot script.Chad Weider
2012-09-18List 12 plugins instead of 4John McLear
4 was a bit stingy :)  12 is a bit more friendly from a UX persepctive.
2012-09-17Require userColor to be valid css hexCharlie DeTar
The utility functions colorutils.js assume that background colors are in CSS hex format, so require userColor to do the same, rather than allowing inputs like "red" and "rgba(...)", to insure that inversion checks will succeed.
2012-09-17Use 'transparent' as reference to validate cssCharlie DeTar
Use 'transparent' instead of 'white' as a reference color for validating CSS color values. Presumably, a user setting a userColor wants some color other than 'transparent' if they are setting it (they could always duplicate the background's color if not).
2012-09-16Remember, the `class` symbol is reserved in some environments.Chad Weider
Fixes issue introduced in 9be69ef2582dfc2c1b050041d4586cbd90d20e2c.
2012-09-15Add `userColor` query param to set initial colorCharlie DeTar
Add a URL parameter which sets the initial color for a user, e.g.: http://example.com/p/mypad?userColor=%2300ff00 Sanitize the given color value to ensure that it's a valid css value (could be any supported CSS color format -- #fff, rgba(), "red", etc). Shortly after rejoining a pad, the server responds with a USER_NEWINFO message which may contain an old color value; however, this message arrives after we have set and sent the new color value to the server. To avoid this race condition, if the query parameter has been set, ignore the color value in a USER_NEWINFO message which matches our user ID.
2012-09-14Merge pull request #992 from gedion/developJohn McLear
Added hooks and made some ace functions available to editorInfo Object
2012-09-14Merge pull request #999 from lepidum/developJohn McLear
Fixed international composition issues (e.g., Japanese Input method)
2012-09-13fix for InternationalComposition(e.g., Japanese Input)NAGOYA, Yoshihiko
moved inInternationalComposition from Ace2Inner to top window fix bindTheEventHandlers() because ie9 implement CompositionEvent when inInternationalComposition, NEW_CHANGES msg and ACCEPT_COMMIT msg are pushed msgQueue. when handleUserChanges(), apply msgQueue.
2012-09-11Replace ParentRequire hack.Chad Weider
Instead of hacking with the internals of require, make client_plugins aware and capable of sharing behavior.
2012-09-11Split client and server plugin functionality.Chad Weider
There is virtually no shared code for the client, extract it into its own module and do away with the switches.
2012-09-11Inject plugins into hooks.Chad Weider
2012-09-11Inject special normalization behavior.Chad Weider
2012-09-11Static functions are static.Chad Weider
2012-09-11Fix worthless indentation.Chad Weider
2012-09-11fixed indentationGedion
2012-09-11fixed commentsGedion
2012-09-11fixed pluginsGedion
2012-09-09Use packaged version of Tinycon.Chad Weider
2012-09-09Use packaged version of UNorm.Chad Weider
2012-09-09Clean up requires.Chad Weider
2012-09-09Use packaged edition of async.Chad Weider
2012-09-09Use packaged edition of underscore.Chad Weider
2012-09-09Use packaged edition of security module.Chad Weider
2012-09-09Merge pull request #987 from cweider/loopback-avoidanceJohn McLear
Windows server fixes
2012-09-09If the file was not found this should be nothing.Chad Weider
2012-09-09Drop embedding of modules.Chad Weider
With loopback removed, embedding concatenated resources doesn't happen. It was a marginal feature to begin with so it will not be missed.
2012-09-08added hooks and made some functions available to editor info object in aceGedion
2012-09-08added hooks to contentcollector.jsGedion
2012-09-08added hooks to contentcollector.jsGedion
2012-09-07Merge pull request #984 from lepidum/developJohn McLear
Fixed ESC key handling issue of Firefox 15
2012-09-03Merge pull request #977 from cweider/loopback-avoidanceJohn McLear
Loopback avoidance
2012-09-03Make exception case for require kernel obvious.Chad Weider
2012-08-30fix prevent ESC key patchNAGOYA, Yoshihiko
2012-08-30prevent ESC keyNAGOYA, Yoshihiko
2012-08-16fix for all IE8 issues when IE8 setting NATIVE XMLHHTP SUPPORT is disabledWikinaut
2012-08-13Normalize inserted text using UNormDaniel Perez Alvarez
For some reason, the client was sending the server a Unicode-normalized version of inserted strings. So if for example we inserted the string 'ä' (i.e. \x61\xCC\x88) into the document, what would be sent to the server would be 'ä' (i.e. \xC3\xA4). This wouldn't be a problem on its own. BUT JavaScript reports that the length of the first string is 2, while the length of the second one is 1. So the command that was being sent to the server was 'Z:1>2*0+1$ä', when it should really be 'Z:1>1*0+1$ä'. When the `checkRep` method checks the length of the inserted string, it finds an inconsistency, and disconnects the client. We now normalize the inserted string before the command is generated, so the length is always correct.
2012-08-13Add Unicode normalization libraryDaniel Perez Alvarez
2012-08-10Add in a plugin hook "handleClientMessage_<MSG_NAME>"Mark Holmquist
The new hook will accept only the message named in the hook call. It will be used primarily for adding new message handlers, but it can alse be used to handle existing message types.
2012-08-01Merge pull request #872 from marcelklehr/feature/connectivity-toolbar0ip
Nice popups instead of modals
2012-08-01fix #890 test if console is available before writing to console.logWikinaut
2012-07-25Fix #769 - wonky bug with pasted listsodony
After 6507614e459dac868d3c76355ca013d13132bc79 the contentcollector does not properly "exit" lists back to the `none` listType anymore. The repro steps on #769 seem to pass correctly after this change.