Commit Graph

3413 Commits

Author SHA1 Message Date
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
Régis Hanol babbbc06d1 FIX: add support for .tgz and .gz backup files 2015-04-07 15:26:47 +02:00
Sam f5d89169e2 FEATURE: initial implemenation of anonymous posting mode 2015-04-07 18:05:31 +10:00
Régis Hanol cd5af46fb7 Merge pull request #3341 from techAPJ/patch-1
FIX: include topic excerpt in topic/message invite mail for existing user
2015-04-07 09:25:18 +02:00
Arpit Jalan d5db44da87 FIX: include topic excerpt in topic/message invite mail for existing user 2015-04-07 12:02:04 +05:30
Régis Hanol 2389bee24c FEATURE: add notice when successfully changing avatar 2015-04-06 18:14:13 +02:00
Régis Hanol 1fd50634f0 FIX: translation issues with top periods 2015-04-06 13:24:46 +02:00
Régis Hanol 7749b3e99f Merge pull request #3320 from Qasem-h/Add-Persian-Language
Add persian language for Discourse
2015-04-06 12:12:44 +02:00
Régis Hanol 33879e1311 Merge pull request #3199 from fantasticfears/seo
FEATURE: add microdata prop and more links for crawler
2015-04-06 11:18:34 +02:00
Régis Hanol 50edad5fb2 Merge pull request #3336 from techAPJ/patch-1
FEATURE: support inviting existing users to topic and message when SSO is enabled
2015-04-06 11:11:42 +02:00
Qasem Hajizadeh 87df1dad43 Update server.fa_IR.yml 2015-04-05 21:27:52 +04:30
Qasem Hajizadeh ae75edf1be Update client.fa_IR.yml 2015-04-05 21:25:54 +04:30
Arpit Jalan e8dd5592c6 FEATURE: support inviting existing users to topic and message when SSO is enabled 2015-04-05 14:31:35 +05:30
riking 1d4a6618d0 UX: Use ellipsis in topic wrench menu for 'more choices' 2015-04-04 21:59:00 -07:00
Arpit Jalan af948f6931 minor improvement in copy 2015-04-04 18:18:34 +05:30
Arpit Jalan 3f59cf752d UX: add reply-to glyph in composer 2015-04-04 13:02:55 +05:30
Sam 6f63f4fe17 correct anon search 2015-04-04 07:55:32 +11:00
Jeff Atwood 2da0019228 remove word "by" in editor title, ONW 2015-04-03 12:42:23 -07:00
Jeff Atwood 456d19f44d clarify avatar crop warning 2015-04-03 11:43:46 -07:00
Erick Guan 4065df29f1 add missing period in the translation file
Transifex doesn't recognize the `one` and `other` again :( Hope this can fix that.
2015-04-03 20:26:24 +08:00
Arpit Jalan 125a0ec5bf UX: dynamic invite copy 2015-04-03 16:24:17 +05:30
Jeff Atwood d3c0fc8288 better copy for invites 2015-04-03 03:06:34 -07:00
Régis Hanol 0e1c4a0a44 Merge pull request #3313 from techAPJ/patch-1
FEATURE: invite existing user to a topic
2015-04-03 11:41:10 +02:00
Régis Hanol 00976304bc Default 'allow animated thumbnails' to true 2015-04-03 11:40:54 +02:00
Arpit Jalan 8c2d7dcaac FEATURE: invite existing user to a topic 2015-04-03 15:00:04 +05:30
Neil Lalonde 30b063c08b FEATURE: make full names a required field of user profiles with the full_name_required setting 2015-04-02 17:08:04 -04:00
Régis Hanol a799f6f8d9 Merge pull request #3321 from techAPJ/patch-2
FIX: include site name in email reply error subject
2015-04-02 13:55:49 +02:00
Arpit Jalan a80c742855 FIX: include site name in email reply error subject 2015-04-02 15:46:22 +05:30
Jeff Atwood a51cb6c8d5 add placeholders for all long badge descs 2015-04-02 02:24:36 -07:00
Sam 09c733831c missing localization 2015-04-02 17:09:57 +11:00
Sam 214034f34a regression search route was getting in the way 2015-04-02 17:03:32 +11:00
Sam 1f59375c82 rename max_word_length to title_max_word_length 2015-04-02 16:46:53 +11:00
Sam 4dbd065026 work-in-progress full page search 2015-04-02 16:02:07 +11:00
Jeff Atwood a764840794 increase default attachment size to match images 2015-04-01 15:37:40 -07:00
Qasem Hajizadeh d23ff0de2f Create server.fa_IR.yml 2015-04-02 02:53:36 +04:30
Qasem Hajizadeh 1df2f6eba4 Create client.fa_IR.yml 2015-04-02 02:53:16 +04:30
Arpit Jalan 47525c6af4 Update Translations 2015-04-01 22:16:57 +05:30
Jeff Atwood 801d04997a FIX: staff message color was wrong on mobile 2015-04-01 01:07:22 -07:00
Jeff Atwood 39f284ac26 remove date from digest email subject field 2015-04-01 00:29:26 -07:00
Sam 1a05a675ae UX: user page copy change replies -> responses 2015-04-01 16:39:31 +11:00
Robin Ward 910571c45a Add a redirect from `/c` to `/categories` 2015-03-30 12:15:02 -04:00
Régis Hanol b861669ceb add global notice for S3 deprecation warning 2015-03-30 11:26:45 +02:00
riking 0b98b7da60 FEATURE: Use fa-at for mentioned notification 2015-03-27 14:09:45 -07:00
Régis Hanol f036b23be5 FIX: add CORS header for .woff2 2015-03-27 13:30:18 +01:00
Sam 1721872084 cleanup out-of-memory detection and correction code 2015-03-27 15:44:52 +11:00
Sam 251ebb0d65 disable memory check till we confirm all is good 2015-03-27 14:51:22 +11:00
Sam 43eb030402 PERF: restart sidekiq if it consumes more than 500MB
configurable with UNICORN_SIDEKIQ_MAX_RSS
2015-03-27 14:27:01 +11:00
Jeff Atwood d5eed540ea fix minor site setting copy mistake 2015-03-26 16:58:37 -07:00
Jeff Atwood 6875a09f79 Change "Private Message" to "Message" (server side) 2015-03-26 16:56:08 -07:00
Jeff Atwood f2a819064d Change "Private Message" to just "Message" 2015-03-26 16:26:03 -07:00
Jeff Atwood adc9e68e66 remove SSO full name override warning not needed 2015-03-26 16:19:00 -07:00
Régis Hanol 6493e4f641 FIX: missing tooltip on backup screen 2015-03-26 18:05:27 +01:00
Robin Ward 2cc5858163 Add site setting to disable User Directory, include restricted info 2015-03-26 11:26:19 -04:00
Régis Hanol b4b505d45f UX: move automatic/custom groups properties to their own fields group in user admin 2015-03-25 20:16:47 +01:00
Régis Hanol 90de61ee3d S3 deprecation warning 2015-03-25 18:34:07 +01:00
Robin Ward 1e3e4135a3 Add Posts Read + Visits to User Directory 2015-03-24 15:31:54 -04:00
Arpit Jalan 7acae703d9 Update Translations 2015-03-24 20:57:12 +05:30
Sam 92e371f0b3 FEATURE: civilized mute
Allow user to mute all notifications generated by specific users
2015-03-24 11:55:22 +11:00
Neil Lalonde 55f293d062 FEATURE: add a route to show the password reset dialog: /password-reset 2015-03-23 15:14:50 -04:00
Sam 1601211617 Revert "FEATURE: allow end users to opt out of getting any private messages"
This reverts commit 229ecc4f8a.
2015-03-23 17:21:58 +11:00
Sam 229ecc4f8a FEATURE: allow end users to opt out of getting any private messages 2015-03-23 15:50:45 +11:00
Sam acf6b253e1 FEATURE: pick a valid hostname for notification email based on hostname
FEATURE: allow notification email to be set via ENV
2015-03-23 11:57:59 +11:00
Jeff Atwood ce09adb5ff some tweaks to Feature this Topic 2015-03-20 12:47:39 -07:00
Robin Ward 4d26ef5e29 Add Title tag, rename to "Users" 2015-03-20 14:20:50 -04:00
Régis Hanol 18f4f60956 FIX: used 'pin' terminology instead of 'feature topic' 2015-03-20 11:43:05 +01:00
Régis Hanol e70597a0d0 typo 2015-03-20 10:17:16 +01:00
Robin Ward 051a2a3d14 FEATURE: Can search the user directory by name 2015-03-19 18:07:48 -04:00
Robin Ward 326dff6068 UX: User directory tweaks.
Also includes Better refresh semantics for query params (avoids
transition)
2015-03-19 17:09:39 -04:00
Régis Hanol b18dfa7ca0 change copy of the 'save' button when creating a topic 2015-03-19 20:30:19 +01:00
Régis Hanol 225c1dc682 oops - typo (:fired:) 2015-03-19 20:07:48 +01:00
Régis Hanol 28c0f9dd1f FIX: only nag when pinning globally 2015-03-19 20:05:03 +01:00
Régis Hanol 5084e2bdf1 Merge pull request #3284 from techAPJ/patch-1
FEATURE: new site setting min_first_post_length
2015-03-19 19:55:27 +01:00
Arpit Jalan b706307ac7 FEATURE: new site setting min_first_post_length 2015-03-20 00:20:38 +05:30
Robin Ward 7ef306cd3b A bunch of tweaks to the Users directory
- Move user directory from `/directory` to `/users/`
- Defaults to 'weekly' time period
- Don't include deleted topics/posts in the results
- Move heart icon to header instead of on each row
- "Users" instead of "Users found"
2015-03-19 12:29:38 -04:00
Jeff Atwood b2845a3dec make link to mailjet https 2015-03-18 15:05:21 -07:00
Régis Hanol b31c05704a UX: fix [Object object] on admin/groups buttons 2015-03-18 22:46:24 +01:00
Robin Ward 3d2d224312 FEATURE: User Directory, with sorting and time period filter 2015-03-18 15:20:34 -04:00
Jeff Atwood 4bc101d40c increase urgency of Google warning 2015-03-18 10:11:30 -07:00
Arpit Jalan 27a793073a Update Translations 2015-03-18 18:27:27 +05:30
Sam a0369855b9 FIX: subfolder offsite message bus was not returning wrong header 2015-03-18 09:10:35 +11:00
Régis Hanol 9cbd0f8e78 UX: separate custom from automatic groups in user admin
REFACTOR: some moar ES6 refactoring
2015-03-17 22:59:05 +01:00
Régis Hanol 6be645e1ca FEATURE: ask confirmation when clearing more than 1 bookmark 2015-03-16 22:06:11 +01:00
Sam 4720d0c12b Merge pull request #3277 from techAPJ/patch-1
FIX: return proper error message when replying to a closed or deleted topic
2015-03-17 07:38:00 +11:00
Régis Hanol 83a2a832b1 FIX: hide draft status when uploading an image 2015-03-16 17:06:23 +01:00
Erick Guan c955907f60 FEATURE: add microdata prop and more links for crawler
- add microdata based on schema.org
- add breadcrumb on the top of topic
- add navigations link on the bottom of every pages
- add category description on the category list
2015-03-16 22:52:10 +08:00
Régis Hanol b0abe3a9d6 FIX: change button to 'remove feature' when a topic is already featured 2015-03-16 12:18:30 +01:00
Arpit Jalan 484ae8b6b7 FIX: return proper error message when replying to a closed or deleted topic 2015-03-16 16:43:22 +05:30
Jeff Atwood 705e7105c8 safer default all time post edit limit
we have wiki for this now anyway
2015-03-15 03:03:24 -07:00
Régis Hanol 424a3b042a FEATURE: unified UI for pinning/banner topics
REFACTOR: ES6ified all the modals
2015-03-14 01:18:05 +01:00
Sam a82530012a FEATURE: Allow selection of highlight js languages
PERF: stop loading highlight js on load

To get latest highlight js run bin/rake highlightjs:update
2015-03-13 16:18:59 +11:00
Jeff Atwood f3b5a4c888 better validation / desc for embeddable_host 2015-03-11 15:31:27 -07:00
Régis Hanol 5de563fd2f Merge pull request #3269 from techAPJ/update-translations
Update Translations
2015-03-11 19:49:06 +01:00
Régis Hanol afd2417945 FEATURE: new 'auto_respond_to_flag_actions' site setting 2015-03-11 19:29:09 +01:00
Arpit Jalan e46d2a2272 Update Translations 2015-03-11 23:43:01 +05:30
Robin Ward 354b9ccf3b Allow users to choose "Every 3 days" as a digest frequency 2015-03-10 16:04:48 -04:00
Neil Lalonde be446b7e50 use d-buttons, and other small tweaks 2015-03-10 13:06:24 -04:00
Neil Lalonde 608647d02f FEATURE: Anonymize User. A way to remove a user but keep their topics and posts. 2015-03-10 11:59:08 -04:00
Robin Ward 0db89d20ee FEATURE: email digest frequency of every 3 days 2015-03-10 11:21:15 -04:00
Robin Ward 31ca464c31 We define `console.log` as an empty function for old browsers now 2015-03-09 14:51:37 -04:00
Régis Hanol 5ceb84421e UX: remove live character countdowns from the composer 2015-03-09 17:46:36 +01:00
Sam d4d5f739ea get rid of deprecation 2015-03-09 13:14:29 +11:00
Sam f5af4768eb FEATURE: add clean support for running Discourse in a subfolder
To setup set DISCOURSE_RELATIVE_URL_ROOT to the folder you wish
2015-03-09 13:14:29 +11:00
Régis Hanol 9b9bd9c0a1 fix my git foo 2015-03-07 02:36:35 +01:00
Régis Hanol 12919f72fa Revert "Support for plugins to add bulk operations"
This reverts commit 7a508b201a.
2015-03-07 02:30:53 +01:00
Robin Ward 7a508b201a Support for plugins to add bulk operations 2015-03-06 15:58:37 -05:00
Neil Lalonde ddbe1c017b FIX: reason for not being able to delete a staff user's posts was wrong in admin 2015-03-06 14:12:01 -05:00
Sam 2a586d59e9 FEATURE: top topics all time
tweak top algorithm (we will continue next week)
2015-03-06 18:00:29 +11:00
riking cab92f947c FEATURE: All preload data available under /site/
This will be essential for entirely local Discourse clients.
2015-03-04 20:49:03 -08:00
Sam 09e470c98a FEATURE: start counting repeat topic views (default is one per 8 hours)
configurable with topic_view_duration_hours site setting
2015-03-05 15:25:05 +11:00
Dan Dascalescu 32d6080d15 Typo fix: publically -> publicly 2015-03-04 01:33:32 -08:00
Robin Ward 26f577dfd8 FIX: Default avatars should be under files 2015-03-03 16:40:48 -05:00
Robin Ward 9974a26c47 FEATURE: Can specify a list of `default_avatars` urls.
These new avatars will be used by new users until they upload their own
avatars. If left blank, letter avatars are used.
2015-03-03 16:19:29 -05:00
Robin Ward 84b84a9d7c Support for `url_list` site setting. 2015-03-03 16:19:29 -05:00
Sam 9698447e89 FEATURE: support staff only custom user fields 2015-03-03 17:51:01 +11:00
Neil Lalonde 832fefac26 Merge pull request #3245 from techAPJ/update-translations
Update Translations
2015-03-02 13:12:36 -05:00
Neil Lalonde 7c14db44cc UX: improve message when admin login is blocked because of admin ip address whitelisting 2015-03-02 12:13:22 -05:00
Arpit Jalan ade082c072 Update Translations 2015-03-02 21:59:07 +05:30
Sam 14feec8aac UX: rename posts -> replies (and change to be posts-1) 2015-03-02 15:59:23 +11:00
Sam 79249a8d5f Merge pull request #3244 from gschlager/german_umlauts
FEATURE: Adds transliteration of German umlauts in slugs
2015-03-02 10:19:30 +11:00
Gerhard Schlager cfb2964aad FEATURE: Adds Vietnamese transliterations 2015-02-28 00:46:39 +01:00
Gerhard Schlager 8a236c06e2 FEATURE: Adds transliteration of German umlauts in slugs
- Moves the already existing transliteration rules into `transliterations.en.yml` (there's no need to translate this for every language). The same goes for the stringex configuration.
- Doesn't calculate the default slug for *zh_CN* and *ja* anymore. It hasn't been used anyway since stringex is used instead.
- Removes a wrong comment from the Russion transliteration file (I hate wrong comments)
2015-02-27 23:53:58 +01:00
Neil Lalonde c04b214910 FEATURE: don't allow username and email to be the same 2015-02-27 13:47:43 -05:00
Sam f555bbb416 FEATURE: long descriptions for badges to help teach people 2015-02-27 17:19:18 +11:00
Sam 0742f340f9 FEATURE: allow for a localized error when a regex fails in site settings
FEATURE: apply string validation to list site settings (so we get regex)
2015-02-27 11:45:56 +11:00