Robin Ward
434deb1bd3
SECURITY: Backported XSS fixes from Handlebars
2015-11-24 16:08:08 -05:00
Sam
5c899c765b
Revert "Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS""
...
This reverts commit c21457d6a7
.
2015-11-21 12:27:06 +11:00
Robin Ward
c21457d6a7
Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS"
...
This reverts commit c0b277d273
.
2015-11-20 10:00:12 -05:00
Sam
c0b277d273
REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS
...
This change is discussed here: https://meta.discourse.org/t/deprecating-es6-compatibility-layer/35821
Prior to this change we were not booting correctly with DISCOURSE_NO_CONSTANTS
2015-11-21 00:14:50 +11:00
Robin Ward
bb76c389fd
Merge pull request #3817 from gschlager/locale-pluralization
...
FIX: Pluralizations in English locale files
2015-11-17 12:35:24 -05:00
Régis Hanol
92ba6125c4
FEATURE: new 'automatically_unpin_topics' user preference
2015-11-17 18:21:40 +01:00
Gerhard Schlager
6e33a21a7a
FIX: Replace invalid pluralizations in locale files
2015-11-13 21:25:15 +01:00
Robin Ward
f85d848649
Remove a bunch of old deprecated code
2015-11-10 13:09:05 -05:00
Régis Hanol
1ac0c97c81
fix ESLINT
2015-11-09 15:14:14 +01:00
Sam Saffron
6dd4bc7d57
FEATURE: support group owner, capable of controlling group membership
...
Group owners are regular users that can add or remove users to a group
The Admin UX allows admins to appoint group owners
The public group UX will display group owners first and unlock UI to
add and remove members
Group owners can only be appointed on non automatic groups
Group owners may not appoint another group owner
2015-11-10 00:56:57 +11:00
Robin Ward
47495a5713
FEATURE: Replace composer editor with ember version
2015-11-06 09:49:16 -05:00
Régis Hanol
d0fe4fc4b5
FIX: topic.posters might be null or empty
2015-11-02 11:39:23 +01:00
Régis Hanol
7ced16acbf
FIX: topic.lastPoster should be based on the 'latest' extra
2015-11-02 11:19:37 +01:00
Sam Saffron
606b10445e
FEATURE: remove muted topics from suggested and latest
2015-11-02 09:20:22 +11:00
Sam Saffron
0d15dbd886
FIX: lastPoster not defined correctly in model
2015-11-01 14:30:54 +11:00
Régis Hanol
bde4bc52d7
UX: use 'last poster' avatar for mobile topics list
2015-10-30 16:50:46 +01:00
Robin Ward
09195768be
FIX: Quote button was broken when the quoted post was unloaded
2015-10-23 12:49:13 -04:00
Régis Hanol
9483940244
UX: new topics list for mobile
2015-10-23 10:19:28 +02:00
Neil Lalonde
976692b387
FIX: moderators need to choose a category when uncategorized topics are no allowed
2015-10-20 15:55:17 -04:00
Régis Hanol
1a3e9cf571
FIX: sorting was not working in /top
...
PERF: remove double request when sorting topics lists
2015-10-12 21:58:40 +02:00
Sam Saffron
4ade6138d3
FIX: suggested topics showing up when last post not loaded
...
New fix means that was show suggested
1. If all posts are loaded
2. If we are in the process of loading 1 more post due to message bus
2015-10-05 16:10:00 +11:00
Régis Hanol
2c384aec83
FIX: reply as new topic wasn't working in FF when the post was only composed of an image
2015-10-01 21:43:43 +02:00
Robin Ward
33e58c0587
FIX: You can click to see your own PMs from flags
...
Also refactors post action users to be a new object type since they can
have `post_url` which is not a field of a `User`
2015-09-30 12:28:55 -04:00
Robin Ward
c4b1b848bc
More extension points for login buttons, used by OAuth2 plugin
2015-09-25 11:29:40 -04:00
Sam
e817267dd2
FIX: when replying to a expanded reply, correctly attribute author
2015-09-24 15:32:09 +10:00
Robin Ward
79beb9f409
FIX: You could set reply_to_post_number
when replying as a new topic
2015-09-22 13:32:19 -04:00
Robin Ward
b49e9fb174
FIX: Load order of TopicTrackingState
was off
2015-09-21 14:15:25 -04:00
Sam
5a9517af5e
correct build failure
2015-09-21 10:57:48 +10:00
Sam
f74c21d2e7
FIX: tracking of new/unread/latest in category/subcategory was broken
2015-09-21 10:36:20 +10:00
Robin Ward
4eaaf4198c
FIX: Liking a post shouldn't contract who liked it
2015-09-17 16:29:17 -04:00
Régis Hanol
07e7b07b63
FIX: refreshing gravatar wasn't working
2015-09-17 19:42:44 +02:00
Robin Ward
b45af1d6c8
FIX: Replies to whispers should default to whispers
2015-09-17 11:48:37 -04:00
Sam
66ec6b6e17
FIX: not counting new/unread on categories
2015-09-16 17:41:53 +10:00
Robin Ward
975edceff4
Add semi colon linting to Javascript
2015-09-15 17:08:50 -04:00
Régis Hanol
0de00308af
FIX: categories' notification_level wasn't serialized when hitting /categories
2015-09-15 14:58:22 +02:00
Sam
e0562894a8
FEATURE: if there is only one category, don't show the category picker
2015-09-15 10:52:42 +10:00
Sam
8bcb22f52d
Merge pull request #3723 from tgxworld/remove_sequential_rendering_of_time_gap
...
FIX: Timegap only shows up for sequential posts.
2015-09-15 08:28:45 +10:00
Régis Hanol
edf54979e4
UX: don't show the top period in the navigation bar since it has its own dropdown
2015-09-14 21:54:39 +02:00
Robin Ward
5af0f5f80e
FEATURE: Whisper posts
2015-09-11 14:05:21 -04:00
Neil Lalonde
637b110e76
use setter in topic-tracking-state or else get assertion error
2015-09-11 11:38:39 -04:00
Régis Hanol
93f9dcfcec
FIX: don't overwrite custom uploaded avatar when selecting gravatar
...
FIX: remove unecessary serialized fields
2015-09-11 15:10:56 +02:00
Régis Hanol
0c58f08207
FIX: profile picture selector
2015-09-11 15:10:56 +02:00
Sam
6437cd0341
FEATURE: add support for generic external avatar services
...
This changes it so we only ship an avatar template down to the client
it has no magic, all it knows is how to plug in size
2015-09-11 15:10:56 +02:00
Régis Hanol
2742602254
FEATURE: support for external letter avatars service
2015-09-11 02:12:40 +02:00
Robin Ward
ca8046c7c3
FIX: Switch out topic template if the user hasn't changed it
2015-09-09 16:21:01 -04:00
Robin Ward
f887637935
Don't use the container to look up the store for drafts
2015-09-08 11:34:52 -04:00
Sam
b2633098ee
FIX: regression unable to send any PMs if you have a PM draft
2015-09-08 16:57:52 +10:00
Régis Hanol
d5a2029026
FIX: category permissions weren't properly loaded when /categories is the homepage
...
FIX: don't scope to a specific category when creating a new topic from /categories
2015-09-07 18:52:53 +02:00
Sam
335be272ff
FEATURE: implement capping of new/unread
...
We cap new and unread at 2/5th of SiteSetting.max_tracked_new_unread
This dynamic capping is applied under 2 conditions:
1. New capping is applied once every 15 minutes in the periodical job, this effectively ensures that usually even super active sites are capped at 200 new items
2. Unread capping is applied if a user hits max_tracked_new_unread,
meaning if new + unread == 500, we defer a job that runs within 15 minutes that will cap user at 200 unread
This logic ensures that at worst case a user gets "bad" numbers for 15 minutes and then the system goes ahead and fixes itself up
2015-09-07 12:03:17 +10:00
Robin Ward
73526e1211
FIX: Category permissions were broken
2015-09-05 11:40:12 -04:00
Robin Ward
8e776d0fd7
Move TopicTrackingState
to injected object
2015-09-04 13:00:24 -04:00
Sam
a54e8f3c5e
FEATURE: live refresh notifications as they happen
2015-09-04 13:20:33 +10:00
Sam
f019f5a62d
FIX: return 0 if we are unable to count unread/new topics
2015-09-04 10:33:16 +10:00
Robin Ward
0e1d6272b9
FIX: highest_post_number
was not being updated from gaps
2015-09-03 13:37:55 -04:00
Régis Hanol
80041b874c
FIX: don't show new topic notifications in homepag for suppressed categories
2015-09-03 19:18:46 +02:00
Robin Ward
7516643f11
Middle clicking the avatar should go to profile
2015-09-03 11:53:42 -04:00
Robin Ward
e53d9f0e8b
FIX: Don't use observers to update data
...
Message bus events were triggering users who didn't have access to
update posts to update them. Instead, perform the update in the action
itself.
2015-09-03 11:10:04 -04:00
Régis Hanol
6a25a62e63
FIX: make sure we have a category
2015-09-03 11:59:04 +02:00
Régis Hanol
d34f42d2f7
FIX: hide category column in topic list only when the current category has no children
2015-09-02 23:46:04 +02:00
Régis Hanol
a501947d67
FEATURE: suppress categories from the homepage
2015-09-02 20:25:18 +02:00
Guo Xiang Tan
0b20ded4fb
FIX: Timegap only shows up for sequential posts.
2015-09-02 17:23:41 +08:00
Neil Lalonde
1bd0f5b015
FEATURE: group can grant a trust level when a user is added
2015-09-01 16:52:12 -04:00
Robin Ward
bf2c18fddb
Migrate KeyValueStore
to ES6 modules
2015-09-01 14:45:24 -04:00
Robin Ward
11b73e1fb7
Avoid calling Discourse.logout
and use an action instead
2015-09-01 14:41:31 -04:00
Robin Ward
ddf0db0338
Refactor notifications localStorage
cache into adapter pattern.
...
Sometimes you want stale data right away, then refresh it async.
This adds `findStale` to the store for that case. If it returns
an object with `hasResults` you can get the `results` and display
them.
It also returns a `refresh()` method to freshen up the stale data.
To enable `localStorage` support for stale data, just include the
mixin `StaleLocalStorage` into an adapter for that model. This
commit includes a sample of doing that for `Notifications`.
2015-08-31 14:12:27 -04:00
Arpit Jalan
eb96016043
FEATURE: copy invite link for topic invites
2015-08-31 21:15:15 +05:30
Arpit Jalan
4ad07b8c09
FEATURE: generate invite token
2015-08-28 18:29:31 +05:30
Régis Hanol
727827dc25
FIX: error when loading admin > flags
2015-08-28 12:31:32 +02:00
Neil Lalonde
cc2dc4d550
FEATURE: the notice asking admins to get discussion started will update with live counts of topics and posts
2015-08-27 17:28:40 -04:00
Régis Hanol
fd3dd3bdeb
Merge pull request #3691 from tgxworld/toggle_edits
...
FIX: Dirty edit can toggle to another edit.
2015-08-27 14:26:51 +02:00
Kane York
633c175a8a
FIX: Badge SQL controls would never show up, needed refresh
2015-08-25 13:30:26 -07:00
Guo Xiang Tan
23b4d2d7d7
FIX: Censored words filter not applied to title.
2015-08-25 22:35:29 +08:00
Sam
00e59bdc62
FIX: display warning when user is tracking too many topics
...
FEATURE: allow admins to bump up number of tracked topics if needed
using max_tracked_new_unread
2015-08-25 15:40:50 +10:00
Arpit Jalan
99edcddafb
FEATURE: show pending/redeemed invite count in tabs
2015-08-25 01:12:46 +05:30
Guo Xiang Tan
f98eddb675
FIX: Dirty edit can toggle to another edit.
2015-08-24 22:55:56 +08:00
Sam
5658119a36
Merge pull request #3649 from tgxworld/click_reply_should_clear_edit
...
Click reply should clear edit
2015-08-21 10:36:21 +10:00
Sam
2b9ca0de8b
Merge pull request #3678 from tgxworld/allow_admin_to_change_timestamp
...
FEATURE: Allow admin to change timestamp of topic.
2015-08-21 10:34:37 +10:00
Robin Ward
d1c69189f3
FEATURE: Can edit category/host relationships for embedding
2015-08-20 15:56:04 -04:00
Robin Ward
11d1619e2c
Hack to allow posts to have access to siteSettings
2015-08-20 11:06:23 -04:00
Robin Ward
6d6b41dbcc
Merge pull request #3660 from tgxworld/wrong_message_on_rate_limit
...
FIX: Rate limit message not shown.
2015-08-19 12:14:51 -04:00
Robin Ward
abd9b26642
Convert Badges / User Badges to ES6.
2015-08-19 12:09:10 -04:00
Régis Hanol
fadd6582af
Merge pull request #3674 from tgxworld/increment_posts_count_when_closing_topic
...
FIX: Closing and opening topic should increment posts count.
2015-08-19 12:58:51 +02:00
Guo Xiang Tan
23c4b51805
FIX: Closing and opening topic should increment posts count.
2015-08-19 18:12:09 +08:00
Guo Xiang Tan
33260f3203
FIX: Errors raised for recovering post not being handled.
2015-08-19 10:48:35 +08:00
Guo Xiang Tan
019191a944
FIX: undoDeleteState() should restore delete button.
2015-08-19 09:31:09 +08:00
Guo Xiang Tan
80f36b81a6
FIX: Rate limit message not shown.
2015-08-17 21:10:44 +08:00
Guo Xiang Tan
c7a21b7c23
FEATURE: Allow admin to change timestamp of topic.
2015-08-17 00:00:05 +08:00
Robin Ward
b0541500b4
FIX: eslint deprecations
2015-08-13 15:14:08 -04:00
Robin Ward
02a968bd27
Remove ObjectController, Discouse Controllers + Presence
2015-08-13 10:49:08 -04:00
Robin Ward
e2e3e7c0e0
Add ES6 support to more files
2015-08-13 10:49:08 -04:00
Robin Ward
0442457e7b
Fix deprecations in admin groups interface
2015-08-13 10:01:29 -04:00
Guo Xiang Tan
9fbab34e57
FIX: Clear edit post when clicking reply.
2015-08-13 20:17:01 +08:00
Guo Xiang Tan
3ef66b1dca
Use existing function.
2015-08-13 18:26:06 +08:00
Guo Xiang Tan
01354b5c30
Remove unused code.
2015-08-13 18:01:40 +08:00
Arpit Jalan
267d8be1f5
UX: show complete URL path if website domain is same as instance domain
2015-08-12 01:19:20 +05:30
Sam
b3297d0d62
FIX: error messages missing if topic edit failed in composer
2015-08-11 17:08:30 +10:00
Robin Ward
b7e6eaa961
ES6ify some of the remaining files
2015-08-10 10:21:05 -04:00
Robin Ward
0932e82508
Refactor Customizations to have deeper URLs
2015-08-10 10:21:04 -04:00
Arpit Jalan
0300da59e2
UX: simplify composer title
2015-08-07 23:05:28 +05:30
Neil Lalonde
5ebd12c070
FEATURE: plugin hooks for topic list nav items
2015-08-05 15:41:36 -04:00