Commit graph

3336 commits

Author SHA1 Message Date
Arthur Neves
439d0d2e37
Check Rails.version instead of ENV
Like that we can have code that works on multiple Rails versions, and we
dont need to mix a new method on Kernel.
Also, this makes easier to have multiple versions.
For instance, before master was 4.2, which is not the case anymore, so
on the code we should check versions and not Environment variables
2015-04-28 22:27:47 -04:00
Robin Ward
15ea0c4789 Merge pull request #3304 from riking/desktop-notifications
Desktop notifications!
2015-04-28 16:24:02 -04:00
Sam
729aaa826b Merge pull request #3404 from techAPJ/patch-1
FEATURE: magic login route for admin when SSO is enabled
2015-04-28 07:47:50 +10:00
Robin Ward
8c930c97e0 If there are pending posts in a topic, display a message at the bottom 2015-04-27 15:55:10 -04:00
Robin Ward
ecafbb0a63 Can delete users via the moderation queue 2015-04-27 15:06:20 -04:00
Arpit Jalan
2932284293 FEATURE: magic login route for admin when SSO is enabled 2015-04-27 22:54:48 +05:30
Jeff Atwood
04b064cbde add mention of HTML to reply placeholder 2015-04-25 02:48:08 -07:00
Jeff Atwood
6233770e3a period at bottom of topic msg was dangling 2015-04-25 01:40:55 -07:00
Robin Ward
15dbce5886 Show pending posts count in modal when your posts are enqueued 2015-04-24 15:44:59 -04:00
Robin Ward
3a6efa25f0 Allow ReadOnly to propogate up to the Ember app via Response Header 2015-04-24 14:37:16 -04:00
Robin Ward
5b3f99aa50 Don't blow up if Redis switches to READONLY 2015-04-24 14:37:16 -04:00
Régis Hanol
a5804d7040 FIX: reduce 'download_remote_images_threshold' default value to 10 2015-04-24 12:07:01 +02:00
Arpit Jalan
574052b786 Update Translations 2015-04-22 19:05:15 +05:30
riking
f5e27fe2c8 FEATURE: Desktop notifications 2015-04-21 20:21:52 -07:00
Jeff Atwood
444fe5757d improve new topic copy 2015-04-21 17:10:49 -07:00
Robin Ward
5bf8c31af4 Users can see their pending posts 2015-04-21 16:44:47 -04:00
Neil Lalonde
3071650eb3 FEATURE: when post is too short, suggest using the like button instead 2015-04-20 11:10:56 -04:00
Robin Ward
ba6d5505af FIX: Typos in translations 2015-04-19 11:04:15 -04:00
Jeff Atwood
dac4c646d5 add warning on default trust level 2015-04-17 15:29:40 -07:00
Robin Ward
a61c202ac4 Rewrite /private-messages to /messages 2015-04-17 12:01:50 -04:00
Sam
0c11b4c707 timings is a POST 2015-04-17 12:49:55 +10:00
Sam
2599b94920 ignore uploads for mini profiler 2015-04-17 12:16:37 +10:00
Robin Ward
788b66e4a3 Update SourceURL to work better 2015-04-16 16:51:49 -04:00
Robin Ward
c7d367996a PERF: Concatenate scripts in development mode
This improves my DOMContentLoaded from 9s+ to less than 4s.
Pinging @SamSaffron on this because this was previously controversial.

This implementation adds the `@sourceURL` directive so chrome correctly
identifies the source files.
2015-04-16 15:40:23 -04:00
Robin Ward
2459f52c71 Merge pull request #3375 from techAPJ/patch-2
FEATURE: invite existing users to private topic
2015-04-16 11:13:42 -04:00
Robin Ward
94fea09416 Merge pull request #3383 from techAPJ/patch-4
FIX: handle error for duplicate email_in address
2015-04-16 11:13:36 -04:00
Arpit Jalan
866d1cd8e3 FIX: handle error for duplicate email_in address 2015-04-16 16:23:22 +05:30
Sam Saffron
67ed6b1e9a FIX: missing pluralization, change topic card to use replies 2015-04-16 14:54:24 +10:00
Sam
a5b25ad2af FEATURE: scale up likes per day as users increase trust level
tl2 = 1.5 times the likes
tl3 = 2 times the likes
tl4 = 3 times the likes

configurable via tl[234]_additional_likes_per_day_multiplier site setting
2015-04-16 09:44:30 +10:00
Robin Ward
08b4b7b7ff Moderators can edit posts that are queued before they approve/reject 2015-04-15 17:20:34 -04:00
Jeff Atwood
17696e8c6f Merge pull request #3379 from betson/pipe-delimited-indicator
indicate that lists can be pasted if pipe-delimited
2015-04-15 14:06:48 -07:00
Neil Lalonde
dcb9d6e16a remove queue_size_check 2015-04-15 15:52:39 -04:00
Arpit Jalan
d491d4f997 FEATURE: invite existing users to private topic 2015-04-16 00:52:54 +05:30
Robin Ward
af1571a58f Site Settings for post approval 2015-04-15 14:54:37 -04:00
Robin Ward
0c233e4e25 Interface is wired up for Approving/Rejecting posts 2015-04-15 14:54:37 -04:00
Robin Ward
96d2c5069b Interface for reviewing queued posts 2015-04-15 14:54:37 -04:00
Robin Ward
f1ede42569 Add the posts that need to be reviewed to the hamburger 2015-04-15 14:54:37 -04:00
Robin Ward
7f501a0c41 When a post returns enqueued don't insert it in the stream and notify
- Includes removal of a lot of modal boilerplate
2015-04-15 14:54:37 -04:00
betson
b28a004413 indicate that lists can be pasted if pipe-delimited
In the configuration for a list-setting component, the Select2 component is initialized with a pipe ("|") as the separator. (app/assets/javascripts/admin/components/list-setting.js.es6)

This should be communicated to the user in the event they want to paste a list of domains for the blacklist/whitelist.
2015-04-15 11:42:39 -04:00
Arpit Jalan
499bed69e2 FIX: show error message if user already exist in group 2015-04-15 14:15:58 +05:30
Sam
6a0cce8571 UX: tweak copy and position of tracking and new prefs 2015-04-15 08:38:42 +10:00
Arpit Jalan
77baae13bc Update Translations 2015-04-13 23:58:48 +05:30
Neil Lalonde
0ba2ac97f2 Merge pull request #3358 from techAPJ/update-translations
Update Translations
2015-04-10 12:43:54 -04:00
Arpit Jalan
e6df97f01d FIX: add email reply error message for topic not getting created in restricted category 2015-04-10 17:11:52 +05:30
Sam
75890aed26 FEATURE: allow admins to choose a group as a primary group
FEATURE: allow admins to set a default title for a group
2015-04-10 12:17:28 +10:00
Arpit Jalan
8623f179ff Update Translations 2015-04-09 20:58:06 +05:30
Régis Hanol
4a9587fa23 FIX: auto-load all plugin locales so that they can be used in PrettyText 2015-04-09 17:04:14 +02:00
Qasem Hajizadeh
f89b1002f0 change fa key to fa_IR in plurals.rb
change fa key to fa_IR in plurals.rb
2015-04-09 01:39:59 +04:30
Sam
2d9d60e9a2 we don't need oobgc in ruby 2.2, disable for now 2015-04-08 15:24:17 +10:00
Sam
4bfca12b11 FEATURE: anonymous_account_duration_minutes , cycle anon accounts after N minutes from last post
fixes it so anon users can not like stuff
2015-04-08 12:30:02 +10:00