Commit Graph

7828 Commits

Author SHA1 Message Date
Robin Ward
657e592a39 FIX: Oneboxes were not being previewed 2017-07-20 17:12:54 -04:00
Robin Ward
3882722195 FEATURE: Inline (Mini) Oneboxing
see:
https://meta.discourse.org/t/mini-inline-onebox-support-rfc/66400?source_topic_id=66066
2017-07-20 15:38:04 -04:00
Sam
44fb2a2833 DEV: support multiple capture groups for text post process 2017-07-20 15:33:44 -04:00
Joffrey JAFFEUX
d7a20c8e93 FIX: Object.assign is not supported in all browsers 2017-07-20 20:27:59 +02:00
Joffrey JAFFEUX
ac6413f456 FIX: broken specs 2017-07-20 20:08:11 +02:00
Sam
1096dcd602 correct bbcode parsing edge case 2017-07-20 13:02:40 -04:00
Sam
0791d740a6 FIX: only highlight exact word matches in results
- also fixes phrase highlighting
2017-07-20 12:26:46 -04:00
Sam
911ffbb98c Correct mention edge cases
@sam. was not correctly detected as a mention
2017-07-20 11:52:38 -04:00
Joffrey JAFFEUX
a9ab3f9ef0 FIX: emoji-picker positioning glitches on few edge cases 2017-07-20 17:03:45 +02:00
Joffrey JAFFEUX
a5a3651cf3 FIX: improves emoji-picker handling of its different states
- closing modal with escape
- using modal less frequently
- closing the picker by clicking anywhere
2017-07-20 16:08:25 +02:00
Joffrey JAFFEUX
739794f0cb resets img src before changing it 2017-07-19 23:24:50 +02:00
Joffrey JAFFEUX
26a7ae3750 increase time needed to load section in emoji-picker 2017-07-19 23:20:27 +02:00
Joffrey JAFFEUX
d27f744d16 refactor async code of the emoji-picker 2017-07-19 22:54:58 +02:00
Joffrey JAFFEUX
ce982d9935 enforce that emoji-picker is not active by default 2017-07-19 22:54:57 +02:00
Joffrey JAFFEUX
bb7241ccc2 simplify emoji-picker recent usage logic 2017-07-19 22:54:56 +02:00
Joffrey JAFFEUX
f32950a475 unbind div-resizing event 2017-07-19 22:54:55 +02:00
Joffrey JAFFEUX
bd0607b15b makes emoji-picker position more dynamic 2017-07-19 22:54:55 +02:00
Joffrey JAFFEUX
d238de87a4 FIX: infinite rebinding when filtering emojis 2017-07-19 22:54:53 +02:00
Joffrey JAFFEUX
69a52cca83 improve emoji picker filter style 2017-07-19 22:54:52 +02:00
Joffrey JAFFEUX
a1de26d614 more consistent positioning 2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
81c1cc4f22 should be a const 2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
33c1ce8d55 better scroll/touch handling on mobiles 2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
b3454b535f refactoring 2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
4ef52d5e88 correctly hide the picker 2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
8d91e7d493 pixel perfect position 2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
2322118d4f es-lint 2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
c99a5bce8f faster tests 2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
b83f430ef0 better positioning on mobile devices 2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
8cf7e614d9 move picker at top of the screen on mobile 2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
9956a58df0 uses es6 shorthands 2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
0b98bfe1dc function is not needed 2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
7739b2f53e reduces element search scope 2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
d992ef24ce emphasizes it's a jquery object 2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
b5c5c9c883 formating 2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
6ebdf86ec1 storing scroll position every 100 ms should be enough 2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
9a4dcd1a1c es-lint 2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
bd0e5b91c0 function is not needed 2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
f4c20472d2 refactoring 2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
80ff685148 disable modale escape for now 2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
60c0b5f0d2 bind hover only on desktop 2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
38be969727 do not apply touch start hack on emojis 2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
89573e3427 simplifying code 2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
03508b72b9 clarification 2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
6a4d74d9f8 performance/memory optimizations 2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
9664fd7302 fixes es-lint errors 2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
6de258d4cf FEATURE: Introduces new emoji-picker 2017-07-19 16:48:23 +02:00
Guo Xiang Tan
87a1ff15fd Treat URL as loaded when loading script with tag. 2017-07-19 10:25:13 +09:00
Sam
c7b0764089 correct more edge cases with new engine 2017-07-17 17:44:48 -04:00
Sam
8921058c67 FIX: medium URL with @ incorrectly handled as mention
Also:

- remove unused code
- rename bbcode_ruler to bbcode.ruler
- add md.core.textPostProcess.ruler to apply at end of chain (excluding links)
2017-07-17 17:44:48 -04:00
Robin Ward
29d529020b UX: Allow site settings to display as textareas if they like 2017-07-17 16:38:26 -04:00