Joffrey JAFFEUX
1d90f6016a
Revert "FEATURE: improves select-box to support category selection on new topic"
...
This reverts commit 7b4e302677 .
2017-08-23 16:33:03 +02:00
Joffrey JAFFEUX
7b4e302677
FEATURE: improves select-box to support category selection on new topic
2017-08-23 15:08:19 +02:00
Sam
d7a2584c6e
FEATURE: image uploads now have short urls
...
Shorten all image uploads to use short urls, this is the client
side implementation.
2017-08-22 16:40:08 -04:00
Joffrey JAFFEUX
c264348fcb
FIX: avoids user-selector having no width
2017-08-21 18:55:44 +02:00
Sam
889b99552a
FEATURE: allow ctrl+shift+s to open search
2017-08-17 12:57:08 -04:00
Régis Hanol
15fa27a1ff
Add warning when using the 'modifyClass' plugin API after it's been cached in the container
2017-08-08 20:07:35 +02:00
Régis Hanol
125cc356f3
FIX: don't break the site when adding a navigation item without a 'name' field
2017-08-07 10:45:35 +02:00
Régis Hanol
4b53fe3cc7
new 'addNavigationBarItem' plugin api
2017-08-05 02:23:35 +02:00
Sam
902be91a5a
FEATURE: CTRL+/ to trigger search even from composer
2017-08-02 16:26:03 -04:00
Robin Ward
41afd9c818
Bump Plugin API version for icon api
2017-07-27 15:13:03 -04:00
Robin Ward
5b590b9637
REFACTOR: Replace some fa-* uses with helpers
2017-07-27 14:55:41 -04:00
Robin Ward
e87125b63c
FEATURE: Plugins can overwrite and add support for new icons
2017-07-26 13:21:17 -04:00
Neil Lalonde
24cb950432
FEATURE: Watched Words: when posts contain words, do one of flag, require approval, censor, or block
2017-07-26 11:01:09 -04:00
Sam
17d56a4cb7
FEATURE: use Markdown for image pasted in as opposed to IMG tags
2017-07-25 15:11:38 -04:00
Régis Hanol
65ab5f58fe
FIX: keep newlines between paragraphs when quoting a post
2017-07-23 15:25:28 +02:00
Sam
0791d740a6
FIX: only highlight exact word matches in results
...
- also fixes phrase highlighting
2017-07-20 12:26:46 -04:00
Joffrey JAFFEUX
38be969727
do not apply touch start hack on emojis
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
Guo Xiang Tan
2ddf2e0e95
FIX: Concurently loading deferred loading of a script incorrectly resolves the promise.
2017-07-17 14:41:46 +09:00
Guo Xiang Tan
d613f3f559
Fix guard against concurrently loading of assets.
2017-07-17 13:04:30 +09:00
Guo Xiang Tan
c5401a0927
Log errors when trying to load a markdown-it-bunlde.js.
2017-07-17 11:21:57 +09:00
Guo Xiang Tan
3ff9133f85
FIX: Only trigger callback for parent transition events.
...
* This fixes a bug where multiple requests were being
made to the server whenever the composer is opened.
2017-07-11 15:09:22 +09:00
Robin Ward
31f7640335
FIX: Allow discourse app to link directly to wizard
2017-07-10 14:31:58 -04:00
Robin Ward
c53eeaaa68
REFACTOR: Remove requirejs calls
2017-07-05 17:24:27 -04:00
Robin Ward
754c1e5438
Upgrade to Babel 6
2017-07-05 15:25:23 -04:00
Joffrey JAFFEUX
fcc50edeef
FIX: do not override 🦗 with :cricket_bat_and_ball:
2017-07-05 18:51:25 +02:00
Joffrey JAFFEUX
76a55fd138
FIX: adds new emojis into correct groups
2017-07-05 16:24:53 +02:00
Robin Ward
35ff5d6796
FIX: Naving to root URL was broken
2017-07-04 12:44:53 -04:00
Joffrey JAFFEUX
6e1a06d07f
Uses es6 object literal shorthand
2017-06-29 00:27:02 +02:00
Joffrey JAFFEUX
560dfe74af
Adds support for skin tones in emoji picker
2017-06-28 15:07:05 +02:00
Sam
81eb3218b2
FEATURE: used strict sanitizer by default
...
This amends it so sanitize always uses the most strict sanitizer
by default, if it needs to be "widened" to use more options then
you need to pass it more options.
2017-06-26 11:27:30 -04:00
Sam
234694b50f
Feature: CommonMark support
...
This adds the markdown.it engine to Discourse.
https://github.com/markdown-it/markdown-it
As the migration is going to take a while the new engine is default
disabled. To enable it you must change the hidden site setting:
enable_experimental_markdown_it.
This commit is a squash of many other commits, it also includes some
improvements to autospec (ability to run plugins), and a dev dependency
on the og gem for html normalization.
2017-06-23 12:01:33 -04:00
Joffrey JAFFEUX
7c68949e04
Emoji ordering
...
This commit uses
http://www.unicode.org/emoji/charts/emoji-ordering.html to generate an
automatic ordering of emojis. We also don't have to maintain a full
emoji list for groups but only sub sections.
2017-06-23 17:51:13 +02:00
Robin Ward
1a02f5154f
FIX: Dirty keys should become to a widget, not global
2017-06-21 14:27:08 -04:00
Robin Ward
8ae445766f
Upgrade Ember to 2.13
2017-06-15 10:12:07 -04:00
Régis Hanol
31b8477d8b
use obj.prop syntax rather than obj[prop] syntax
2017-06-14 17:08:42 +02:00
Régis Hanol
1ceb64500f
Merge pull request #4926 from jjaffeux/fixes-mouse-three
...
Uses computer_mouse as base name
2017-06-14 14:55:48 +02:00
Joffrey JAFFEUX
252c811dae
Uses computer_mouse as base name
2017-06-14 11:10:09 +02:00
Régis Hanol
f943efe1a9
remove use of soon-to-be-deprecated 'Discourse.SiteSettings' (cc @eviltrout)
2017-06-14 10:02:13 +02:00
Régis Hanol
493ab9d10e
Merge pull request #4923 from jjaffeux/fixes-automobile-emoji-not-displayed
...
Fixes automobile being an alias now
2017-06-14 09:25:10 +02:00
Joffrey JAFFEUX
03f3612884
Fixes automobile being an alias now
2017-06-14 07:50:36 +02:00
Robin Ward
867cefc492
Ember.K was deprecated, so let's remove it.
2017-06-13 15:59:48 -04:00
Robin Ward
74858fd450
FIX: Don't show emoji selector when ending a line with a colon
2017-06-13 14:25:31 -04:00
Robin Ward
13f89a53a3
FIX: Autocomplete wasn't showing up for PM user selection
2017-06-13 13:23:27 -04:00
Sam
826f332766
Merge pull request #4901 from jjaffeux/emoji-5.0
...
Emoji next
2017-06-13 11:12:41 -04:00
Régis Hanol
5f6c859744
missing semicolon
2017-06-12 23:01:38 +02:00
Régis Hanol
54e8fb0d89
FEATURE: new 'allow_staff_to_upload_any_file_in_pm' site setting
2017-06-12 22:41:29 +02:00
Guo Xiang Tan
eab3562864
Merge pull request #4905 from tgxworld/strip-zero-width-chars-from-search-term
...
FIX: Strip zero-width characters from search terms.
2017-06-12 18:01:02 +09:00
Robin Ward
8e2e962b1a
FIX: Replace /my/ URLs before fixing the prefix
2017-06-08 16:21:54 -04:00
Guo Xiang Tan
684b05f510
FIX: Strip zero-width characters from search terms.
2017-06-07 18:19:47 +09:00
Joffrey JAFFEUX
ab8a1a377c
fixes eslint errors
2017-06-05 15:50:15 +02:00
Joffrey JAFFEUX
05f8b5b72e
white_sun_small_cloud is an alias
2017-06-05 15:31:24 +02:00
Joffrey JAFFEUX
64336a8c75
Emoji 5.0 support
2017-06-05 14:06:23 +02:00
Robin Ward
007873af3c
FIX: Don't run in testing mode
2017-06-02 12:42:00 -04:00
Robin Ward
62e6108756
FIX: Improper error message
2017-06-02 12:37:03 -04:00
Robin Ward
e66fa82f3a
FIX: Don't load JS via SCRIPT tag in QUnit mode
2017-05-31 15:31:24 -04:00
Robin Ward
908433a7a0
SECURITY: Validate the entity when downloading a CSV
2017-05-19 16:00:51 -04:00
Robin Ward
733b0009cb
FIX: Don't memoize the currentUser in case some plugins use it too early
2017-05-16 16:35:18 -04:00
Sam
e1dd543a93
FEATURE: allow users to select theme on single device
2017-05-15 12:48:16 -04:00
Robin Ward
42de1cc977
FIX: Don't warn if the link is in the post you are editing
2017-05-12 20:05:30 -04:00
Sam
2d96a0785d
FEATURE: theme selection is now global per-user
2017-05-12 12:41:34 -04:00
Robin Ward
b301b69d00
FIX: Don't warn users about duplicate links for:
...
- The original post
- If the post is older than (x) (Two Weeks for now)
2017-05-12 12:37:02 -04:00
Robin Ward
ae15b10cf8
FIX: The keyboard shortcut to bookmark the first post wasn't refreshing
2017-05-09 15:37:36 -04:00
Sam
a7471fe85f
FIX: page scroll lock not clearing properly on chrome
...
For some reason Chrome renamed "mousewheel" to "wheel"
2017-05-08 09:50:07 -04:00
Robin Ward
09cb61b533
FIX: Jumping to a post that doesn't exist should jump to closest
2017-05-03 13:24:30 -04:00
Robin Ward
12fb20fe1b
FEATURE: Allow users to resend/update email from confirmation page
2017-05-03 11:18:01 -04:00
Robin Ward
b381372184
Use Ember.js for the /u/account-created path so we can add controls
2017-05-03 11:18:01 -04:00
Sam
556ef4cfbd
FIX: case sensitive unconditional add of exact match in user search
2017-05-01 14:37:16 -04:00
Neil Lalonde
bb82e0a041
FIX: theme preview from preferences wasn't working
2017-04-28 14:01:57 -04:00
Robin Ward
cb8f91ca21
FIX: Scrolling offset was broken when entering some topics
2017-04-27 16:22:25 -04:00
Robin Ward
5774a9a2c8
Revert offset calculation, was working poorly.
2017-04-27 12:20:32 -04:00
Régis Hanol
64787e7fa4
Merge pull request #4831 from gdpelican/image-gallery
...
FEATURE: Use image gallery functionality in magnific
2017-04-25 09:39:10 +02:00
James Kiesel
48c0f3faf3
Use image gallery feature of magnific
...
commit cc7061e9458d04dd02aad9c02ba3a89306e0fae7
Author: James Kiesel <james.kiesel@gmail.com>
Date: Tue Apr 25 11:21:08 2017 +0900
;
commit 9233be7e432daff605812e6b49042f69d348b6e7
Author: James Kiesel <james.kiesel@gmail.com>
Date: Tue Apr 25 10:01:26 2017 +0900
Don't break if $elem is undefined
commit 598a694c070c86df8d9f5ffa1ed84e2f8756e65f
Author: James Kiesel <james.kiesel@gmail.com>
Date: Tue Apr 25 04:51:14 2017 +0900
.
commit 1711685a33ccd236011f54d3e652991728530b3a
Author: James Kiesel <james.kiesel@gmail.com>
Date: Tue Apr 25 04:34:11 2017 +0900
;
commit 81703f36c0593250aeac3418fde86660fd307092
Author: James Kiesel <james.kiesel@gmail.com>
Date: Tue Apr 25 04:12:37 2017 +0900
Use image gallery functionality in magnific
2017-04-25 11:23:15 +09:00
Robin Ward
f41ab98e86
FIX: Scrolling to the bottom was still a bit weird with no suggested
2017-04-24 16:36:43 -04:00
Robin Ward
4e1f8ec72b
FIX: Without suggested topics jumping to a post had the wrong offset
2017-04-24 13:21:50 -04:00
Sam
8628a57f4e
FIX: colors picker not working with CDN
2017-04-20 11:04:23 -04:00
Neil Lalonde
e7b0ce1334
FIX: add white space in discourse-tags so tags can wrap
2017-04-18 17:09:46 -04:00
Sam
0a67d859d5
correct watcher so it handles color scheme changes correctly
2017-04-18 16:48:15 -04:00
Sam
def7348777
FIX: display custom sections with default theme
...
also cleans up mechanism for previewing themes, cleans up naming,
gets rid of old janky "preview_style", secures local theme key
2017-04-14 13:35:12 -04:00
Sam
d0fa8cda76
correct issue where no selected theme would force incorrect selection
2017-04-12 13:00:25 -04:00
Sam
7f2a80bbc8
correct theme selector expiry selection
2017-04-12 11:59:47 -04:00
Sam
a3e8c3cd7b
FEATURE: Native theme support
...
This feature introduces the concept of themes. Themes are an evolution
of site customizations.
Themes introduce two very big conceptual changes:
- A theme may include other "child themes", children can include grand
children and so on.
- A theme may specify a color scheme
The change does away with the idea of "enabled" color schemes.
It also adds a bunch of big niceties like
- You can source a theme from a git repo
- History for themes is much improved
- You can only have a single enabled theme. Themes can be selected by
users, if you opt for it.
On a technical level this change comes with a whole bunch of goodies
- All CSS is now compiled using a custom pipeline that uses libsass
see /lib/stylesheet
- There is a single pipeline for css compilation (in the past we used
one for customizations and another one for the rest of the app
- The stylesheet pipeline is now divorced of sprockets, there is no
reliance on sprockets for CSS bundling
- CSS is generated with source maps everywhere (including themes) this
makes debugging much easier
- Our "live reloader" is smarter and avoid a flash of unstyled content
we run a file watcher in "puma" in dev so you no longer need to run
rake autospec to watch for CSS changes
2017-04-12 10:53:49 -04:00
Guo Xiang Tan
5cb64810cd
FIX: Changing notification level in topic footer buttons was not updating timeline.
2017-04-12 14:54:03 +08:00
Robin Ward
397e850fba
FIX: Allow replaceState to run on iOS.
...
Removes a test for unsupported versions.
2017-04-07 11:30:24 -04:00
Robin Ward
40ab2e5667
FEATURE: Let users update their emails before confirming
...
This allows users who entered a typo or invalid email address when
signing up an opportunity to fix it and resending the confirmation
email to that address.
2017-04-05 16:44:49 -04:00
Robin Ward
62be121328
FIX: On long browsers, you could get a double title
2017-03-31 13:00:52 -04:00
Robin Ward
45a257815a
Convert front end paths from /users/ to /u/
2017-03-30 10:23:24 -04:00
Robin Ward
6b976433c9
Support for both /users/ and /u/ paths
2017-03-30 10:23:24 -04:00
Robin Ward
b240437b6f
Merge pull request #4777 from gdpelican/add-header-panels
...
Allow plugins to add panels to header more easily
2017-03-29 12:53:08 -04:00
James Kiesel
3b55ceffb3
Use local var for additionalPanels
2017-03-29 08:52:50 +09:00
Robin Ward
86f11955cf
FIX: Clicking on the title was doubling up the title
2017-03-28 17:05:07 -04:00
Robin Ward
243b5756ee
Adds a keyboard shortcut (shift+u) for jumping back to the last read post
2017-03-27 11:23:06 -04:00
James Kiesel
c99883cf65
SEMICOLONS ;.;
2017-03-25 21:44:28 +13:00
James Kiesel
a4127a8f71
Add addAdditionalHeader widget to pluginApi
2017-03-25 21:33:55 +13:00
Régis Hanol
823e50b099
make eslint happy
2017-03-24 01:27:15 +01:00
Régis Hanol
5d9cba5581
quotes should keep new lines
2017-03-24 01:07:32 +01:00
Robin Ward
d161422002
UX: Be more optimistic about showing topic titles while entering topics
2017-03-23 13:53:49 -04:00
Robin Ward
6f230945c2
UX: Clear the header when navigating to a new topic
2017-03-23 13:19:59 -04:00
Victor van Poppelen
9e60f9f093
JSON API parsing error on CSRF exception: single quotes in ['BAD CSRF'] is invalid JSON:
...
https://meta.discourse.org/t/json-api-parsing-error-single-quotes-used-for-errors-like-bad-csrf/58869
2017-03-16 16:47:18 -07:00
Régis Hanol
30d5d61158
use 'toLocaleDateString()'
2017-03-13 16:11:49 +01:00
Régis Hanol
dd60cb82c3
UX: add client-side rate limit on click counters
2017-03-13 11:31:37 +01:00
Guo Xiang Tan
6a7773b681
FIX: Category autocomplete breaks when search menu widget rerenders.
...
https://github.com/discourse/discourse/pull/4717#issuecomment-284914585
2017-03-08 20:13:48 +08:00
Sam
0c03ccb01e
FEATURE: allow plugins to transform, the transformed post
...
This allows plugins to amend posts prior to rendering.
2017-03-07 17:12:31 -05:00
Guo Xiang Tan
60b7453f3f
FIX: Do not trigger fullpage search when selecting autocomplete term with enter.
2017-03-07 11:56:40 +08:00
Guo Xiang Tan
f3a7e398ca
Merge pull request #4717 from cpradio/autocomplete-search
...
FEATURE: Autocomplete support on search
2017-03-07 06:40:45 +08:00
Sam
3227d79430
FIX: extra-nav-item outlet no longer adds a DIV to UL
...
This amends the extensibility on navigation bar so extra nav items are not
added to a DIV nested into the UL, instead the LIs are rendered as usual
2017-03-06 15:00:13 -05:00
Sam
3e3fdfc717
FEATURE: plugin can now extend list of classes for topic-post
2017-03-03 16:57:25 -05:00
Sam
7895b71817
move to use let, missed a spot
2017-03-01 15:15:36 -05:00
Sam
ca951f2cf2
FIX: render custom tag extensions even when tags disabled
2017-03-01 13:38:44 -05:00
Sam
89bd538742
add callback priority to tags html
2017-03-01 12:56:45 -05:00
Sam
8c8de1c2d4
FEATURE: addUserMenuGlyph extensibility point
2017-03-01 10:32:01 -05:00
Sam
f918951d42
FEATURE: clean up tags extensibility
...
centralizes all logic for topic tag rendering and provides API for extension
2017-02-28 17:08:43 -05:00
Sam
122fb8025d
FIX: last seen date erroneously updated when browser in background
...
In some cases user may be "last seen" even though browser tab is in
the background or computer is locked
2017-02-28 12:35:10 -05:00
Robin Ward
b2b7f4d905
FIX: Query parameters were not being cleared when changing filtering.
2017-02-27 15:49:14 -05:00
cpradio
59922a7899
Extract autocomplete initialization to a function
...
Create a REGEXP_TAGS_REPLACE regex to remove a chained .replace call
Fix autocomplete positioning
2017-02-27 07:48:14 -05:00
Jeff Atwood
ad6cb3c638
force all iOS editors to minimum height for compat
2017-02-22 16:56:19 -08:00
Jeff Atwood
22fc761cc3
tweak iOS composer heights a bit
2017-02-22 15:48:39 -08:00
cpradio
38d7234018
FEATURE: Autocomplete support on advanced search
2017-02-22 08:42:16 -05:00
Jeff Atwood
c191e2e84c
more conservative editor heights on iOS
2017-02-21 16:25:46 -08:00
James Kiesel
7dc0e11360
Rename exported function
2017-02-21 02:53:16 +13:00
James Kiesel
ffe41c9ae8
Allow access to safari hack applicable function
2017-02-21 02:32:01 +13:00
Sam
023bd0e9e7
FEATURE: allow client side of topic list to accept custom params
...
- Also normalize API version to use a version comparison function instead of float
2017-02-15 16:14:43 -05:00
Sam
675cb1c715
FEATURE: allow registrations of custom small action icons via plugins
2017-02-10 12:55:21 -05:00
Sam Saffron
4332f0dde1
FEATURE: allow user search API to restrict to group
2017-02-09 18:45:39 -05:00
Robin Ward
cef8a0af34
Merge pull request #4657 from gdpelican/reopen-widget
...
Add reopenWidget method
2017-02-01 13:18:55 -05:00
Guo Xiang Tan
18007ed34b
FIX: Can't use an internal name here if SiteSetting.convert_pasted_images_to_hq_jpg is false.
2017-02-01 14:51:56 +08:00
Guo Xiang Tan
6c8c91dca4
UX: Change default filename for images that have been pasted.
2017-02-01 14:44:41 +08:00
James Kiesel
816a030f78
Bump plugin api to 0.7
2017-02-01 11:05:47 +13:00
Robin Ward
0c71e37aab
Merge pull request #4660 from ryantm/serversideonly
...
add more SERVER_SIDE_ONLY routes; use pathname in matching
2017-01-17 13:55:40 -05:00
Ryan Mulligan
f641655f1b
add more SERVER_SIDE_ONLY routes; use pathname in matching
2017-01-17 09:51:39 -08:00
Robin Ward
11641fb3cd
Whitelist the alternative raw url
2017-01-17 11:11:27 -05:00
James Kiesel
646b49e5ae
Expose reopenWidget through plugin api
2017-01-17 08:19:29 +13:00
Arpit Jalan
e793caf3e3
FIX: only allow CSV file to be uploaded for bulk invite
2017-01-11 16:26:01 +05:30
Robin Ward
7c8095294d
FIX: Raw plugin outlets were broken
2017-01-05 11:38:57 -05:00
Guo Xiang Tan
1cf0401e26
Allow option to not include title on emoji images.
2017-01-03 11:07:55 +08:00
Régis Hanol
d8be3e8bb1
UX: ensure we only allow images when uploading an avatar, user card background, etc...
2017-01-02 11:37:56 +01:00
Robin Ward
da76dd3d6b
REFACTOR: Cleaner quoteButton object, and some bug fixes
2016-12-30 12:14:56 -05:00
Robin Ward
61584f6c0c
UX: Improve composer heights in some resolutions
2016-12-29 12:51:57 -05:00
Claas Augner
2e9bbccea9
Move cursor/selection algo to lib/utilities.
2016-12-29 10:16:17 +01:00
Robin Ward
3786d3679c
FIX: Always return the latest API version requested
2016-12-27 11:57:46 -05:00
Angus McLeod
6f0a937fa1
Resolve raw templates in 'javascripts/mobile' and 'javascripts' on mobile
2016-12-22 18:13:26 -05:00
Neil Lalonde
b5cc6851cf
FIX: tag chooser input was navigating to tag pgaes on some mobile browsers
2016-12-21 12:01:53 -05:00
Robin Ward
1be800b673
FIX: Prioritize raw template overrides from plugins
2016-12-20 13:07:09 -05:00
Robin Ward
da4e27ca7d
FIX: Allow resolution of javascripts prefixed raw templates
2016-12-20 11:53:43 -05:00
Robin Ward
e03d5e2140
Reapply Ember 2.10 for good this time!
...
This reverts commit ddd299f4aa .
2016-12-19 11:19:10 -05:00
Robin Ward
ddd299f4aa
Revert "Revert "Revert Ember 2.10+ for a short while""
...
This reverts commit 76bbc481cb .
2016-12-16 10:29:30 -05:00
Robin Ward
76bbc481cb
Revert "Revert Ember 2.10+ for a short while"
...
This reverts commit 21682fd60b .
2016-12-16 09:52:29 -05:00
Robin Ward
21682fd60b
Revert Ember 2.10+ for a short while
2016-12-15 16:43:38 -05:00
Robin Ward
250ca11416
Add PluginAPI for registering a connector class
2016-12-15 11:54:37 -05:00