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
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