Vinoth Kannan
84ce1acfef
FEATURE: Allow staffs to tag PMs
2018-02-21 20:11:46 +05:30
OsamaSayegh
f3815cd785
FEATURE: New site setting for additional allowed filetypes for staff ( #5364 )
...
* FEATURE: New site setting for additional allowed filetypes for staff
* Problematic variable name
* feedback
* small issues
* fix indentation
* failing tests
* Remove message bus and fix minor issues
* Missed this message bus
2018-02-19 10:44:24 +01:00
Arpit Jalan
585fc26f8e
FIX: allow discourse app to link directly to upgrade page
2018-02-15 18:20:25 +05:30
Vinoth Kannan
0a95d2a21f
FIX: Upload fails silently if it is bigger than max allowed size
2018-02-13 14:39:25 +05:30
Sam
b34b1b6fe3
FIX: invite to message was not allowing groups
...
Previously we were incorrectly checking mentionable instead of messageable
Also fix edge case where multiple groups sharing a name mean that exact match override is not working
Also cleans up params sent to user selector
2018-02-13 13:28:46 +11:00
Robin Ward
ae15faeb34
FIX: Allow links from one relative uri to another
2018-02-12 18:27:08 -05:00
Vinoth Kannan
91beedd0ca
FEATURE: Composer HTML pasting ul tag support for MS Word
2018-02-10 01:18:56 +05:30
Joffrey JAFFEUX
cf592fa35d
remove debugging code
2018-02-02 09:31:47 +01:00
Robin Ward
d31417d3af
FIX: Remove unused import
2018-02-01 18:03:22 -05:00
Robin Ward
8ff4104555
Many enhancements to the flagging / suspending interface.
2018-02-01 17:13:02 -05:00
Robin Ward
08db10491e
Adds a new plugin API for adding classes to be shown on user avatars
2018-02-01 15:24:26 -05:00
Robin Ward
96710754d9
Merge pull request #5540 from discourse/mixed-text-direction-support
...
FEATURE: Mixed text direction support
2018-02-01 07:29:15 -08:00
Arpit Jalan
ff0376a80b
rename 'enable_private_messages' to 'enable_personal_messages'
2018-02-01 13:25:29 +05:30
Vinoth Kannan
10ed4c0078
FEATURE: Composer HTML pasting support for complex table formats
2018-01-31 01:39:11 +05:30
scossar
41f1e7430c
Refactor code; add tests
2018-01-29 17:42:19 -08:00
scossar
caa38aaaad
Add support for mixed text directions
2018-01-28 18:33:55 -08:00
Robin Ward
6b04967e2f
FEATURE: Staff members can lock posts
...
Locking a post prevents it from being edited. This is useful if the user
has posted something which has been edited out, and the staff members don't
want them to be able to edit it back in again.
2018-01-26 14:01:30 -05:00
Joffrey JAFFEUX
3d595a52ca
FIX: improves UI state when no extensions are allowed for upload
2018-01-26 18:12:23 +01:00
Joffrey JAFFEUX
56834dbd98
FEATURE: select-kit api to modify collection header
2018-01-26 14:42:24 +01:00
Arpit Jalan
8b59ce9183
FIX: CTRL+mouse-left-click / CMD+mouse-left-click or mouse-middle-click should open link in new tab
2018-01-25 20:35:39 +05:30
Robin Ward
e52e0f4635
FIX: Disable the keyboard shortcut if private messages are disabled
2018-01-22 16:45:27 -05:00
Régis Hanol
f674b9e86e
FIX: encode image filename so '[', ']' and '|' doesn't break the markdown
2018-01-19 19:52:03 +01:00
Sam
873624c487
FIX: never flush timings while in progress
...
Also reset last flush counter when we finally get a response from server.
2018-01-19 08:27:29 +11:00
Neil Lalonde
718e932b44
FEATURE: plugins can send more data to Google Tag Manager
2018-01-17 11:18:17 -05:00
Kane York
ff91c43087
FEATURE: Keyboard shortcut to refocus composer ( #5506 )
...
It was very annoying to get back to the composer after losing it!
Added to the keyboard shortcuts help dialog, and reshuffled it a bit.
Translation keys were intentionally kept so our translators don't have
to copy paste to update.
This commit also fixes an incidental listener leak.
2018-01-17 17:15:03 +11:00
Kris
92c5bc6ac9
UX: Removing width: auto; in mobile autocomplete so long strings truncate
2018-01-16 17:09:07 -05:00
Arpit Jalan
785d063a6b
Merge pull request #5496 from techAPJ/admin-graphs
...
FIX: graphs should go to zero for missing dates
2018-01-15 11:10:29 +05:30
Arpit Jalan
b7ba490df7
FIX: graphs should go to zero for missing dates
2018-01-15 10:16:34 +05:30
Robin Ward
3ddc33b07c
Don't swallow errors once they've been popped up
2018-01-12 16:08:59 -05:00
Joffrey JAFFEUX
c9921869f1
FIX: adds select-kit api to modify header computed content ( #5476 )
...
This api would allow to simply modify header text or icons, eg:
```
api.modifySelectKit("select-kit")
.modifyHeaderComputedContent((context, computedContent) => {
computedContent.title = "Not so evil";
return computedContent;
});
```
2018-01-09 10:52:32 +01:00
Robin Ward
c1ae562389
Add support for app events in plugin api, plus an event for custom html
2018-01-05 16:45:57 -05:00
Arpit Jalan
04b8831cde
UX: for numbers greater than 100k allow 0 precision
2018-01-02 13:27:46 +05:30
Régis Hanol
f5e170c6b5
FIX: catch all server-side error when uploading a file
...
UX: always show a message to the user whenever an error happens on the server when uploading a file
2017-12-27 16:33:25 +01:00
Vinoth Kannan
e9cd7af10e
FIX: IE not supporting regex negative lookbehind
2017-12-23 23:44:57 +05:30
Vinoth Kannan
035f96d25f
Allow linked images inside table cells in HTML to Markdown conversion
2017-12-23 22:48:39 +05:30
Vinoth Kannan
3ae9d91d86
UX: Use tight list by default in HTML to Markdown conversion
2017-12-22 21:34:55 +05:30
Vinoth Kannan
ac1e93e82a
Minor fix to correctly trim spaces in HTML to Markdown conversion
2017-12-22 19:05:40 +05:30
Vinoth Kannan
4935ae4338
Remove unwanted spaces between HTML tags and support Word documents
2017-12-22 09:28:24 +05:30
Vinoth Kannan
129d924c0d
Dont support single row or column tables in HTML to Markdown conversion
2017-12-21 12:58:57 +05:30
Sam
62a27f9d57
FEATURE: warn if attempting to mention a group with too many members
2017-12-21 16:13:57 +11:00
Sam
2423b18839
FIX: links inside quotes not opening in new tab
2017-12-21 13:00:20 +11:00
Sam
e756d02088
FIX: create topic keyboard shortcut not checking permissions
2017-12-21 11:23:57 +11:00
Régis Hanol
7f69362d9d
FIX: external links in whisper ended up in a white page
...
FIX: clicking a link in a onebox wasn't properly extracting the post_id
2017-12-20 17:55:15 +01:00
Vinoth Kannan
ac1d3a761e
Support for table & ol tags for HTML pasting in composer
2017-12-20 19:24:55 +05:30
Vinoth Kannan
6272f35eec
blockquote tag support for HTML pasting in composer
2017-12-19 20:59:55 +05:30
Sam
e63a2487e3
UX: allow for iPhone X in iOS Hacks
2017-12-19 15:20:06 +11:00
Vinoth Kannan
70b6030c74
FIX: IE syntax error in regular expression
2017-12-18 23:03:35 +05:30
Vinoth Kannan
ad41523895
FEATURE: Converting code tags to Markdown while pasting
2017-12-18 22:12:05 +05:30
Vinoth Kannan
b9f553d45d
REFACTOR: Small improvement in code for Tag.slice method
2017-12-18 13:38:47 +05:30
Vinoth Kannan
0588edbc96
FEATURE: Keep supported HTML tags in HTML to Markdown conversion
2017-12-18 12:48:17 +05:30
Vinoth Kannan
b963307f30
FIX: IE compatability issue in clipboard files array
2017-12-17 12:04:16 +05:30
Vinoth Kannan
4f2f42d710
PERF: Better handling of headings in HTML inline pasting
2017-12-17 00:45:21 +05:30
Vinoth Kannan
dc159d7fa6
Grab dimention of the clipboard images
2017-12-15 17:28:38 +05:30
Vinoth Kannan
236ecec0b0
Skip HTML pasting if image upload available
2017-12-15 16:40:40 +05:30
Vinoth Kannan
f0497ee9c4
FEATURE: HTML to Markdown conversion using native JavaScript ES6 classes ( #5425 )
2017-12-15 10:28:20 +05:30
Joffrey JAFFEUX
fd99e1ef56
FEATURE: site setting enable_mentions to turn on/off mentions
2017-12-07 16:27:58 -05:00
ckeboss
7a093ea5d6
Format username for desktop notifications ( #5403 )
...
FIX: Desktop notifications weren't formatting the username
2017-12-06 12:52:11 -05:00
Vinoth Kannan
94e9be3b88
Make eslint happy
2017-12-06 01:28:22 +05:30
Vinoth Kannan
8cf7152151
FIX: IE compatability issue in clipboard data types array
2017-12-06 01:02:06 +05:30
Vinoth Kannan
37948838be
FIX: Global event variable is not compatible with all browsers
2017-12-05 11:27:08 +05:30
Vinoth Kannan
ab4c953d82
FEATURE: Paste plain text table as Markdown table
2017-12-04 20:53:42 +05:30
Vinoth Kannan
e2c60ea4b2
FIX: Skip pasting files if plain text available in clipboard
2017-12-02 02:05:11 +05:30
Guo Xiang Tan
9fbe1436b6
UX: Replace heuristic solution root domain extraction for topic featured link.
2017-11-29 21:52:41 +08:00
Gerhard Schlager
41e70c410c
FEATURE: replace GUID in image name uploaded from iOS ( #5370 )
2017-11-28 11:05:34 +01:00
Neil Lalonde
6c86e0c94a
FEATURE: remove the featured link by editing the topic
2017-11-22 14:53:35 -05:00
Joffrey JAFFEUX
b2b565c2fb
select-kit initial plugin api implementation (0.8.13)
...
```
api.modifySelectKit("identifier-of-the-select-targeted")
.modifyContent((context, existingContent) => {})
.appendContent(() => {})
.prependContent(() => {})
.onSelect((context, val) => {});
```
2017-11-22 10:34:12 +01:00
Neil Lalonde
33feb62673
FIX: times showing as < 1m instead of blank
2017-11-21 14:33:49 -05:00
Joffrey JAFFEUX
39f3dbd945
Introduces select-kit
...
* renames `select-box-kit` into `select-kit`
* introduces `single-select` and `multi-select` as base components
* introduces {{search-advanced-category-chooser}} as a better component for selecting category in advanced search
* improves events handling in select-kit
* recreates color selection inputs using {{multi-select}} and a custom {{selected-color}} component
* replaces category-selector by a component using select-kit and based on multi-select
* improves positioning of wrapper
* removes the need for offscreen, and instead use `select-kit-header` as a base focus point for all select-kit based components
* introduces a formal plugin api for select-kit based components
* introduces a formal pattern for loading and updating select-kit based components:
```
computeValue()
computeContent()
mutateValue()
```
2017-11-21 11:53:09 +01:00
Neil Lalonde
b37e40eea9
FEATURE: show read time in last 60 days
2017-11-16 15:46:51 -05:00
Michael Howell
38b8d68c68
FEATURE: Allow the user to select a custom home page ( #5268 )
...
* Add user_home configuration option
* Use the new user_home preference to actually show the right home page
* Fix trailing whitespace
* Update user_option_serializer.rb
* Fix JavaScript default homepage tests
* Use an object instead of a giant switch
* Remove trailing whitespace
* Make the default `user_home` set to `null` instead of `0`
* Rename user_home to homepage_id
2017-11-10 06:45:19 +11:00
Sam
3f2105db85
UX: iOS 11 modals now hide all background
...
This fixes issues where login looks very buggy on iOS
see also: https://meta.discourse.org/t/ios-11-makes-discourse-buggy/71140/7
2017-11-08 07:31:45 +11:00
Neil Lalonde
e7d8f5f9c8
FIX: support /my routes with subfolders
2017-10-31 16:02:32 -04:00
Robin Ward
a0dd75ba88
FEATURE: New API to create a custom formatter for displaying usernames
...
This is not exhaustive right now, but a good start and we can add to
it over time.
2017-10-30 13:27:08 -04:00
Robin Ward
fbd5f1e411
REFACTOR: Rename store:main to service:store so we can inject it
2017-10-27 13:59:45 -04:00
Joffrey JAFFEUX
ae1743c61f
[WIP] select-box-kit refactoring
2017-10-19 12:51:08 -07:00
Guo Xiang Tan
25c25ae423
FEATURE: Allow user to leave a PM.
2017-10-19 12:32:55 +08:00
Sam
7f9b0f5e60
try moving shortcut to ctrl+alt+f
2017-10-18 12:20:45 +11:00
Sam
7af1bf32d5
UX: switch global search trigger to ctrl+alt+s
...
Otherwise it conflicts with firefox
2017-10-16 10:01:17 +11:00
Robin Ward
f4decf9193
The quote-other-topic class has been removed
2017-10-06 15:16:06 -04:00
Guo Xiang Tan
3e53dbcade
UX: Only include tag hashtag postfix when necessary.
...
https://meta.discourse.org/t/links-to-tags-not-working-in-final-post-unless-autocompleted/69884/6?u=tgxworld
2017-10-03 13:54:50 +08:00
Guo Xiang Tan
8140e54675
FIX: More fixes for Group#mentionable and Group#messageable feature.
2017-10-02 17:45:58 +08:00
Sam
05dd97ffe0
correct iPad sizing
2017-09-29 11:49:10 +10:00
Robin Ward
01c6224ca5
Include the currentRouteName in the page change event
2017-09-28 14:31:20 -04:00
Robin Ward
954013a45c
Use appEvents for page tracking so widgets can listen to it easily
2017-09-28 14:20:32 -04:00
Sam
b2575a8ce3
improve keyboard height detection
2017-09-28 21:25:03 +10:00
Sam
cfed431ef2
More height hacks for iPhone
2017-09-28 18:06:00 +10:00
Sam
d36d5ba8ac
Correct iPad fudge factors for keyboard size detection
2017-09-28 17:26:54 +10:00
Sam
a311dd06fe
UX: mess with iPad and iPhone sizing to compensate for keyboard
...
iOS still has no mechanism for figuring out how big the keyboard is, so
we fudge it.
2017-09-27 16:50:28 +10:00
Robin Ward
cb78ffd328
<<<<<<< HEAD
...
=======
>>>>>>> FEATURE: Add ability to claim topics on flagged topics page
Bump Plugin API version
2017-09-25 12:28:01 -04:00
Robin Ward
e809996c2a
Allow modifyClass to operate on optional classes.
...
This is useful if you want to modify an admin class that might not be
present for regular users.
2017-09-25 12:28:00 -04:00
Robin Ward
d7c37d9369
Add front end service for staff controls
2017-09-25 12:25:14 -04:00
Robin Ward
bbbd974487
REFACTOR: Convert admin flagged posts to a component
2017-09-25 12:25:14 -04:00
Robin Ward
e4e27a4b83
New API for replacing an icon
2017-09-15 13:54:47 -04:00
Régis Hanol
85ef3696de
UX: show date of last edit on wiki topics
2017-09-12 15:37:47 +02:00
Joffrey JAFFEUX
950b9e9eaf
FIX: keeps as much as possible the same api for select-box components
2017-09-09 20:29:07 +02:00
Joffrey JAFFEUX
cf6fb7622e
Replaces all notification-options like dropdowns with select-box
2017-09-08 20:47:39 +02:00
Robin Ward
c6ff387ce9
Use more semantic names for various tracking icons
...
This way they can be replaced by plugins without conflicting with other
icons. For example `circle` is used in some places that doesn't
represent `tracking`.
2017-09-01 12:14:58 -04:00
Sam
5cdb486332
UX: large topic creation area on mobile
...
This refines the iOS hack and allows for height 100%
on the composer
Also removes annoying box shadows
2017-08-29 15:45:02 -04:00
Bianca Nenciu
bb3a5910d7
Support for sending PMs to email addresses ( #4988 )
...
* Added support for sending PMs to email addresses.
* Made changes after review.
* Added settings validator.
* Fixed tests.
2017-08-28 12:07:30 -04:00
Neil Lalonde
2c56f8df7c
FEATURE: show tags in search results
2017-08-25 11:52:59 -04:00
Joffrey JAFFEUX
d52048ad34
Revert "Revert "FEATURE: improves select-box to support category selection on new topic""
...
This reverts commit 1d90f6016a .
2017-08-24 16:04:47 +02:00
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
Robin Ward
0348f23f6d
FIX: Register a test waiter rather than using hidden properties
2016-12-15 11:36:21 -05:00
Robin Ward
ea3db56d1c
FIX: Mobile raw templates were not being resolved
2016-12-15 10:28:15 -05:00
Robin Ward
28699e66d8
Revert "REVERT: Ember 2.10 -- it's not building properly"
...
This reverts commit 600541c623 .
2016-12-15 10:28:15 -05:00
Robin Ward
600541c623
REVERT: Ember 2.10 -- it's not building properly
2016-12-12 16:19:05 -05:00
Robin Ward
b6e03116ba
Auto discover connector classes. Support a setup method
2016-12-12 14:44:29 -05:00
Robin Ward
9a7998a930
Various fixes for Ember 2.10
2016-12-12 14:44:29 -05:00
Robin Ward
2efe4900cf
Plugin Outlets need their arguments to be explicit
2016-12-12 14:44:29 -05:00
Neil Lalonde
a62b028e16
Remove the open_topic_featured_link_in_external_window setting. Use the user preference.
2016-12-09 13:48:29 -05:00
Neil Lalonde
56ee4ffadc
Merge pull request #4522 from fantasticfears/featured-link
...
FEATURE: Allow posting a link with the topic
2016-12-05 16:05:38 -05:00
Robin Ward
9e807896bc
FIX: We can route from user cards
2016-12-05 13:45:31 -05:00
Erick Guan
52763f5115
FEATURE: Allow posting a link with topics
2016-12-05 17:20:54 +01:00
Sam
7b5b255168
UX: improve topic composition on mobile
...
- tighten up space used for composer body
- stop collapsing and expanding so much
2016-12-02 17:43:18 +11:00
Guo Xiang Tan
e0803e1f91
Merge pull request #4567 from toumou/master
...
FIX uploadLocation when window.location.port is empty
2016-12-01 07:19:24 +01:00
Arpit Jalan
8a18c5be1f
FIX: use proper locale for user archive download alerts
2016-11-29 12:48:28 +05:30
Régis Hanol
af387edeb0
FIX: quote button issues
...
- disappear when moving to another topic
- disappears when clicking outside of the selection
- works even when selecting the last paragraph of a post
- works on all latest mobile OS
2016-11-24 18:23:33 +01:00
Thomas Ferracin
c74a5771fd
FIX uploadLocation when window.location.port is empty
...
More information available: https://meta.discourse.org/t/uploaded-video-are-not-embedded-and-display-a-link/53346
2016-11-24 18:01:08 +01:00
Robin Ward
5ba653d604
Allow old plugins without d-modal-body to work
2016-11-24 11:24:06 -05:00
Robin Ward
9afa55a3fd
FIX: Random failing plugin tests
2016-11-22 15:36:18 -05:00
Robin Ward
438e1bc0a9
Use the view registry instead of Ember.View.views
2016-11-21 15:31:14 -05:00
Guo Xiang Tan
07717dfaa7
FIX: Emoji not rendering using plugin api.
2016-11-21 14:33:17 +08:00
Guo Xiang Tan
6397d935ce
Merge pull request #4560 from tgxworld/optional_title_for_emoji_widget
...
Make title attribute on emoji widget optional.
2016-11-21 06:17:44 +01:00
Guo Xiang Tan
cba763a162
Revert "FIX: Login was broken on mobile"
...
This reverts commit fe94c5f9a5 .
2016-11-20 10:11:16 +08:00
Rafael dos Santos Silva
fe94c5f9a5
FIX: Login was broken on mobile
2016-11-19 21:13:52 -02:00
Robin Ward
06254d3163
Remove the last of the ModalBodyView uses
2016-11-18 12:13:21 -05:00
Guo Xiang Tan
3f54730c2d
Make title attribute on emoji widget optional.
2016-11-18 12:36:48 +08:00
Régis Hanol
ec28789b99
Merge pull request #4558 from fantasticfears/long-date-i18n
...
FIX: activy column title shows the non-i18n datetime
2016-11-17 10:57:26 +01:00
Robin Ward
6431b03d66
Remove the last of the admin view classes
2016-11-16 16:41:15 -05:00
Erick Guan
fb3c5bcd0f
FIX: activy column title shows the non-i18n datetime
2016-11-16 22:15:34 +01:00
cpradio
c3d4c949f1
Add comments to relevant sections denoting "create new topic" scenario is not supported for cannot-see-mention (per @coding-horror instruction)
2016-11-16 06:26:36 -05:00
Guo Xiang Tan
239cbc6e68
Make eslint happy.
2016-11-16 10:55:57 +08:00
Guo Xiang Tan
64b5c81843
FIX: Add alt and title attribute to emoji widget.
2016-11-16 10:48:20 +08:00
Robin Ward
aa86e5f206
Remove admin modal views
2016-11-15 17:18:36 -05:00
cpradio
824c235760
FEATURE: Notify user when mention can't see the reply they were mentioned in
...
FIX: Group Mention Notifications
2016-11-14 22:03:16 -05:00
Robin Ward
0904ad5537
Migrate createViewWithBodyClass helper to components
2016-11-10 14:28:04 -05:00
Robin Ward
70fb2431a1
Migrate this.container to getOwner(this)
2016-11-07 15:21:31 -05:00
Robin Ward
2d126cff8f
Ember.String.fmt is deprecated
2016-11-03 11:00:26 -04:00
Robin Ward
7953a53cc5
Replace findProperty and filterProperty with findBy and filterBy
2016-10-26 15:45:06 -04:00
Robin Ward
3bb4e22692
FIX: cleanDOM couldn't be called from url
2016-10-26 13:27:47 -04:00
Régis Hanol
3841cd9a7f
FEATURE: onebox everything by default
...
FEATURE: new 'max_oneboxes_per_post' site setting
FEATURE: change onebox whitelist to a blacklist
PERF: debounce the loading of oneboxes
PERF: improve perf of mention links in preview
FIX: sort loading of custom oneboxer
2016-10-24 12:46:22 +02:00
Sam
f083994f5a
FIX: exact group match always should be added
2016-10-24 12:43:38 +11:00
Robin Ward
fab36e6cf7
Fix more deprecations:
...
- Remove all `needs:` code
2016-10-21 17:28:37 -04:00
Neil Lalonde
761cc688b4
FEATURE: add a setting to allow url schemes other than http(s)
2016-10-21 12:21:31 -04:00
Régis Hanol
35a79a70c3
FIX: uploading custom avatar was always hidden
2016-10-20 19:53:41 +02:00
Régis Hanol
9f7b529495
FIX: properly detect when attachments are allowed
2016-10-19 18:42:24 +02:00
Sam
1bf0b2a5f4
FEATURE: show timeline component when expanding post progress
...
- Show fullscreen timeline with title of topic in mobile
- Go to post # kb shortcut now unconditionally uses a modal
- Always show wrench on topics (was missing if progress bar was showing)
- Be smarter about rendering timeline even if composer is open (provided there is room)
2016-10-19 14:29:58 +11:00
Guo Xiang Tan
af90a04bd9
FIX: All clicks should close autocomplete.
2016-10-13 13:28:24 +08:00
Sam
6031e692f0
Merge pull request #4366 from xfalcox/print
...
Print Support
2016-10-11 11:47:20 +11:00
Sam
f6ac914376
Merge pull request #4467 from cpradio/advanced-search-ui
...
FEATURE: Advanced Search UI
2016-10-11 10:02:35 +11:00
cpradio
4b71fd253b
Advanced Search UI
...
Properly support Categories so it updates the search box correctly
Use category id, as it is more consistent with search results than using the slugs, especially for parent/subcategory
Added Status
Improve AutoComplete so it can receive updates
Added the ability for AutoComplete to receive updates to badge-selector and group-selector
Respect null, which is set via web-hooks
Support both # and category: for category detection.
Only update the searchedTerms if they differ from its current value (this helps the Category Selector receive updates)
Opt in receive updates (#3 )
* Make the selectors opt-in for receiving updates
* Opt-in to receive updates
* Fix category detection for search-advanced-options
Fix eslint error
Update user-selector so it can receive updates live too
Make the canReceiveUpdates check validate against 'true'
Converted to use template literals
Refactor the regex involved with this feature
Split apart the init to make it a bit more manageable/testable
Switch the category selector to category-chooser, so it is a dropdown of categories instead of auto-complete
Reduce RegEx to make this happier with unicode languages and reduce some of the complexity
2016-10-04 11:18:01 -04:00