This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse
Sam ac0053f491 FEATURE: navigate to first post and auto bump category settings
### navigate_to_first_post_after_read setting for categories

When enabled on categories logged on users will return to OP after
reading the entire category. (useful for documentation categories)

### num_auto_bump_daily

Set a number of topics that will automatically bump daily on a category.

- Every 15 minutes we will check if any category has this setting
- Categories with the setting are shuffled
- We exclude pinned, closed, category description and archived topics
- Maximum of 1 topic for the list of categories is bumped till limit reached per category
- We always try to bump oldest first
- Limit is elastic using a RateLimiter that ensures that we only bump N per day

Also some minor organisation on category settings

Froze strings on category.rb
2018-07-16 18:10:35 +10:00
..
adapters DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
components FEATURE: add data-username on user-info blocks 2018-07-12 18:16:05 +10:00
controllers FIX: jumpToPost no working on megatopics. 2018-07-13 16:16:39 +08:00
helpers DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
initializers FEATURE: Groundwork for user-selectable theme components 2018-07-12 14:18:21 +10:00
lib UX: make sure autocomplete does not render off screen 2018-07-12 17:07:25 +10:00
mixins Fix: delay panning until we can determine direction 2018-07-14 15:57:58 -07:00
models FEATURE: navigate to first post and auto bump category settings 2018-07-16 18:10:35 +10:00
pre-initializers DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
raw-views DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
routes FEATURE: per-category approval settings (#5778) 2018-07-13 12:51:08 +10:00
services DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
templates FEATURE: navigate to first post and auto bump category settings 2018-07-16 18:10:35 +10:00
widgets prettier is offended 2018-07-13 14:57:55 -04:00
mapping-router.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00