Commit Graph

3732 Commits

Author SHA1 Message Date
Kane York 6119d9fdc0 FIX: Fallbacks for missing interpolation arguments
This takes effect when an interpolation is removed from a translation in
a Discourse update.

The I18n::Backend::Fallbacks loops with a catch(:exception), so calling
throw(:exception) will cause it to use the next locale, until it reaches
English which is assumed to be correct.

Also, enable fallbacks in everything except development (#3724 for more
discussion) - we should be able to test this
2015-09-11 09:39:40 -07:00
Robin Ward 4f5d42ca69 Merge pull request #3749 from riking/patch-1
FIX: Don't allow editing seeded category security settings
2015-09-11 12:22:58 -04: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
ismail-arilik 8ca2ab1b3b Update some strings to meet referred options lists
The options which changed strings are referred, were changed to lists so these strings were supposed to be generalized.
2015-09-11 15:02:12 +03:00
Arpit Jalan d73d4d4769 FIX: UserNameSuggester should not suggest usernames with a sequence of 2 or more special chars 2015-09-11 16:53:26 +05:30
Régis Hanol 2742602254 FEATURE: support for external letter avatars service 2015-09-11 02:12:40 +02:00
Régis Hanol e43034f08f Revert "FEATURE: SVG letter avatars (based on @eviltrout's spike)"
This reverts commit cd77465788.
2015-09-11 00:23:52 +02:00
Régis Hanol cd77465788 FEATURE: SVG letter avatars (based on @eviltrout's spike) 2015-09-11 00:11:48 +02:00
Kane York d86d4752cb FIX: Don't allow editing seeded category security settings 2015-09-10 14:04:21 -07:00
Kane York c038758f8c FIX: Several fixes related to category reorder
- Move "New Category" and "Reorder Categories" into a dropdown
 - Always show "New Topic" on categories page, even for admins
 - Make category reorder modal full-height (.full-height-modal)
 - Move category reorder stylesheet out of admin stylesheet
2015-09-10 13:42:10 -07:00
Kane York 0c5fb207e9 FIX: Fix behavior of category reorder dialog 2015-09-10 13:04:25 -07:00
Arpit Jalan ad481b3427 FIX: permalinks like read.php should work 2015-09-11 00:16:37 +05:30
Jeff Atwood 9ba5d73ddf omit needless words 2015-09-09 22:16:15 -07:00
Régis Hanol 38cb72b329 FEATURE: upload placeholder 2015-09-09 23:14:06 +02:00
Robin Ward 9f826f1ad6 UX: Change style of "New" next to unread FAQ 2015-09-09 15:18:26 -04:00
Jeff Atwood 5ae6257504 shorter copy for post placeholder text 2015-09-09 04:27:27 -07:00
Régis Hanol 9a999bfe84 FIX: ensure we never have a string when an enum is Fixnum 2015-09-09 12:59:49 +02:00
Robin Ward d3666d3468 FIX: If private messages are disabled don't show the menu link 2015-09-08 16:32:20 -04:00
Régis Hanol 0e02e0272d FIX: always-enabled plugins should be, well, enabled 2015-09-08 19:28:05 +02:00
Robin Ward 2866440968 Don't cache urls with `emoji` in them unless they are images 2015-09-08 13:12:32 -04:00
Sam 71892cc5f4 FEATURE: select all / deselect all on search page 2015-09-08 16:11:21 +10:00
Arpit Jalan 21f81979cb Update Translations 2015-09-07 19:48:43 +05:30
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
Kane York 342eba4374 FEATURE: Category reordering dialog 2015-09-06 16:53:52 -07:00
Jeff Atwood 3a1c83bc35 increase new user image limit to 1 2015-09-06 03:11:02 -07:00
Robin Ward 32e2d7963a FEATURE: Show FAQ at top of the hamburger until the user reads it 2015-09-04 16:56:02 -04:00
Régis Hanol 76fac18085 FIX: link to COPPA in Privacy Policy 2015-09-04 17:14:42 +02:00
Arpit Jalan 4e2c932895 Update Translations 2015-09-04 18:59:15 +05:30
Jeff Atwood c1cd6a2792 add links to the too many tracked topics warning 2015-09-03 15:19:56 -07:00
Sam 25fb684565 ensure statistic collection is on 2015-09-03 12:00:19 +10:00
Tobias Eigen 85154422f1 Fix typo about table settings in server.en.yml
Intrepid n00b pull request at encouragement by @zogstrip. Fixing a small typo, as discussed on meta: https://meta.discourse.org/t/typo-in-description-of-allow-html-tables-admin-setting/32835?u=tobiaseigen
2015-09-02 12:46:47 -07:00
Régis Hanol a501947d67 FEATURE: suppress categories from the homepage 2015-09-02 20:25:18 +02:00
Robin Ward a76d1079b2 Support jumping to messages 2015-09-02 13:39:14 -04:00
Neil Lalonde 1fbc142b0c UX: add screen reader support to notifications. (title attribute is ignored by screen readers) 2015-09-02 12:29:30 -04:00
Sam a0dd0bf1af when looking at your own profile it should be collapsed. 2015-09-02 16:50:40 +10:00
Sam 6e04e5bd2c correct routing to allow for wider regex matching username 2015-09-02 14:57:26 +10:00
Sam 262f561a87 FEATURE: relax username rules to allow - and . and leading _
This relaxes our very strict username rules to allow for some long asked for requests

- leading _ is now allowed
- . is allowed except for trailing char and confusing extensions like .gif .json
- dash (-) is now permitted
2015-09-02 12:13:44 +10:00
Kane York 940b79ed5b more copyedits 2015-09-01 16:40:25 -07:00
Kane York 65192a09a6 copyedits 2015-09-01 16:20:24 -07:00
Kane York f595e562ea Signup CTA first attempt 2015-09-01 16:16:19 -07: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 f2fa7a39be FEATURE: Use shift+Z twice to log out 2015-09-01 16:37:54 -04:00
Jeff Atwood 5925155394 make Activate your Account more CLICK HERE-y 2015-09-01 00:11:23 -07:00
Sam a13e7d10cf FEATURE: site setting for show log out in header 2015-09-01 07:44:21 +10:00
Robin Ward 82ad3e0401 Support for jump to profile 2015-08-31 14:40:52 -04:00
Arpit Jalan b8c3187a94 Update Translations 2015-08-31 22:19:30 +05:30
Guo Xiang Tan e0aee75c82 FIX: Duplicate translation. 2015-08-31 12:11:56 +08:00
Guo Xiang Tan d39cfe9068 UX: Combine closed and archived icon. 2015-08-31 09:21:58 +08:00
Allen Hancock b5db68a6f0 less restrictive wording with no invites pending
I've got four invites which were accepted. This wording is more universally correct.
2015-08-30 19:37:05 -05:00
Arpit Jalan 3bc79f6885 UX: select invite link by default 2015-08-29 00:42:58 +05:30
Arpit Jalan 8a52cc9725 Update Translations 2015-08-28 19:53:39 +05:30
Arpit Jalan 4ad07b8c09 FEATURE: generate invite token 2015-08-28 18:29:31 +05:30
Jeff Atwood a289cb5156 copyedit on new site content reminder 2015-08-27 15:26:48 -07: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 d96531b163 FEATURE: bronze/silver/gold badges for popular links 2015-08-27 18:52:31 +02:00
Régis Hanol 05adcda1fc FIX: pop a descriptive error when pinning a topic without a date 2015-08-26 22:23:08 +02:00
Sam b736b56e97 hide site setting that was causing confusion 2015-08-26 11:02:21 +10:00
Robin Ward c5460b7d3f FEATURE: Full height hamburger menu
- Rename `site-map` to `hamburger-menu`
- Includes acceptance tests
2015-08-25 16:48:43 -04:00
Sam 124fc4daf7 PERF: the 500 cap was sane, keep it capped at 500 2015-08-25 18:32:54 +10:00
Arpit Jalan 7df62023c7 Update Translations 2015-08-25 13:28:56 +05:30
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
Sam 2c59ad3dd3 FIX: favicon update broken when favicon lived on a CDN 2015-08-25 11:54:23 +10:00
Sam d74d5c47ad FIX: admin not getting updates for topics in secure groups
(only where admin is missing explicit permissions)
2015-08-25 09:25:39 +10:00
Arpit Jalan 99edcddafb FEATURE: show pending/redeemed invite count in tabs 2015-08-25 01:12:46 +05:30
Robin Ward f40f733269 FIX: The digests aren't always weekly 2015-08-24 11:37:24 -04:00
Régis Hanol bef80633b1 FEATURE: global admin override of most of the user preferences 2015-08-21 20:39:21 +02:00
Régis Hanol 07d6bb8d31 FIX: remove client side maximum filesize check 2015-08-21 12:19:35 +02:00
Kane York 2363897a25 FEATURE: Arbitrary validations for site settings 2015-08-20 18:27:19 -07: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 146f2eab7f Can edit settings on the embedding page 2015-08-20 15:56:05 -04:00
Robin Ward d1c69189f3 FEATURE: Can edit category/host relationships for embedding 2015-08-20 15:56:04 -04:00
Arpit Jalan e1575746f2 Update Translations 2015-08-20 17:33:13 +05:30
Sam 2203a4147d add some extra diagnostics 2015-08-19 16:58:25 +10:00
Sam 82a6176b08 lower the volume on failed to pull hotlinked image
add more diagnostics
2015-08-19 12:32:45 +10:00
Régis Hanol 4c2df814de FIX: ensure a file is present when creating an upload 2015-08-18 11:39:51 +02:00
Sam b703af3d37 Skip 403 forbidden as well 2015-08-18 17:48:54 +10:00
Sam f1398f0650 another hotlinked image whitelist 2015-08-18 17:41:39 +10:00
Sam 45adeacd45 ignore empty script errors, line 0 gives us nothing. 2015-08-18 17:06:07 +10:00
Sam ffe06fbcb5 whitelist 404 pull hotlinked image 2015-08-18 17:06:07 +10:00
Arpit Jalan 4296bee86e Update Translations 2015-08-18 09:56:54 +05:30
Jeff Atwood ddd3a8d340 change search help word to "options" 2015-08-17 03:28:40 -07:00
Jeff Atwood 5b9a01e3b6 switch to <h3> for search help headings 2015-08-17 03:23:38 -07:00
Sam f06137003b logster needs application version 2015-08-17 16:54:44 +10:00
Guo Xiang Tan c7a21b7c23 FEATURE: Allow admin to change timestamp of topic. 2015-08-17 00:00:05 +08:00
Sam e670ebb433 FEATURE: allow backup settings to be overriden by globals
FEATURE: allow backup interval of up to 30 days
FIX: if a custom file exists in backup directory look at its date
FEATURE: site setting automatic_backups_enabled default true
2015-08-14 16:28:29 +10:00
Jeff Atwood 07e66a5eff set default OOB backup interval to 7 days vs 1 day 2015-08-13 22:20:34 -07:00
Sam c711c06bb8 FIX: stop double reporting errors that were already reported 2015-08-14 12:51:23 +10:00
Arpit Jalan 8ea765f50a Update Translations 2015-08-13 19:38:53 +05:30
Jeff Atwood 35a9212804 Switch from regular to normal on notification state 2015-08-12 23:39:35 -07:00
Jeff Atwood 61dc01911e copyedit on per-topic email notify change page 2015-08-12 22:55:24 -07:00
Régis Hanol 6669a2d94d FEATURE: per-topic unsubscribe option in emails 2015-08-12 23:00:16 +02:00
Arpit Jalan b1488b430a UX: show invite sent date on pending tab 2015-08-12 23:55:13 +05:30
Sam abf269c5df only do magic headers for local assets, don't muck with logster's stuff 2015-08-12 18:48:34 +10:00
Robin Ward 7a5fbae060 Shrink some status messages 2015-08-11 15:00:58 -04:00
Arpit Jalan 73f547b019 Update Translations 2015-08-10 23:41:05 +05:30
Robin Ward 7fffd483f8 Fix deprecations with site text, upgrade to ES6 / store 2015-08-10 10:21:04 -04:00
Robin Ward bd631e343a FEATURE: Can create stylesheets for embedded comments 2015-08-10 10:21:04 -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
Régis Hanol 15418f3d44 FEATURE: new 'backup_frequency' site setting 2015-08-07 17:34:58 +02:00