Commit graph

3628 commits

Author SHA1 Message Date
Neil Lalonde
249ef75f12 FIX: when rate limited on login attempts, show a meaningful message instead of unknown error. 2015-07-14 18:17:39 -04:00
Kane York
2a897a8a6b SECURITY: Remove email validation check bypass
- Increase size of email column to varchar(513)
 - Give error message on signup when email is too large

Overall impact: Low, allows signups from blocked domains. Main risk is increased spam.
2015-07-13 15:36:17 -07:00
Robin Ward
8a33fb9bd5 Merge pull request #3601 from techAPJ/patch-1
FEATURE: invite page tabs
2015-07-13 10:28:21 -04:00
Arpit Jalan
e0c9054748 FEATURE: invite page tabs 2015-07-13 09:42:51 +05:30
Jeff Atwood
0f9d2d2d96 first pass on longer badge descriptions 2015-07-11 14:07:51 -07:00
Robin Ward
88712bc548 Don't vacuum for a long time until we fix it 2015-07-10 17:46:09 -04:00
Arpit Jalan
63b5a6c4e0 Update Translations 2015-07-09 18:57:52 +05:30
Sam
e516036492 correct broken specs 2015-07-09 17:05:15 +10:00
Sam
2bd6e201f9 UX: tweak location of like count
UX: clean up fade logic so it meshes with new like style
EXTENSIBILITY: add hook for insertion of custom HTML for buttons
UX: stop suppressing share for anon, like expander is not suppressed
 old behavior is inconsistent


also reimplements like count expander as a proper button,
adds a nice label for it
2015-07-08 15:10:53 +10:00
Neil Lalonde
782dd13e78 FEATURE: track user visits on mobile and display on admin dashboard in a new Mobile section 2015-07-07 14:06:42 -04:00
Jeff Atwood
df55596907 add link oneboxing animation to new user tips 2015-07-04 16:38:44 -07:00
Neil Lalonde
86cd1a19cc FEATURE: page view stats for mobile view 2015-07-03 17:19:33 -04:00
Robin Ward
db75774440 UX: Move likes into drop down instead of its own status line 2015-07-03 17:15:20 -04:00
Neil Lalonde
06dc63fbae FIX: add ability to show report data for all categories 2015-07-03 12:58:13 -04:00
Robin Ward
822d77713c Put back /srv/status non-logging but include proxy details 2015-07-03 11:44:48 -04:00
Robin Ward
5f59424937 Don't disable logging for /srv/status 2015-07-03 11:02:07 -04:00
Robin Ward
be664857be Merge pull request #3585 from riking/patch-3
FEATURE: Reserved usernames
2015-07-03 10:02:24 -04:00
Robin Ward
7676c5dfe7 Can add topic templates to categories, prepopulated on compose 2015-07-03 10:01:46 -04:00
Kane York
af042ffe5e FEATURE: Per-plugin settings buttons, "Enabled" column
Also, added enabled_site_setting to the Poll plugin so it shows up properly.
2015-07-02 10:59:06 -07:00
Arpit Jalan
0e74c46d74 FIX: add missing translaton key 2015-07-02 18:42:45 +05:30
Neil Lalonde
9a0e4bb96e Update translations 2015-07-01 17:09:37 -04:00
Kane York
df988a20eb FEATURE: Reserved usernames
A list of usernames that will be blocked from being used to sign up.
2015-07-01 13:50:55 -07:00
Robin Ward
c4b685469e Merge pull request #3569 from gschlager/i18n
FEATURE: Make abbreviated numbers (k, M) localizable
2015-07-01 15:27:17 -04:00
Neil Lalonde
05b611853c FEATURE: show date ranges in heading on Top page 2015-07-01 11:48:59 -04:00
Arpit Jalan
656d629382 Update Translations 2015-07-01 19:23:15 +05:30
Robin Ward
cf3aa867ab Don't log /srv/status 2015-06-30 12:12:55 -04:00
Kane York
418718c416 Copy changes for "sso overrides" settings 2015-06-29 22:22:05 -07:00
Jeff Atwood
a6d0e4b1fb change time gap and suggested topic defaults 2015-06-29 12:53:44 -07:00
Jeff Atwood
837c0e267a Shorten /top descriptions 2015-06-29 02:31:26 -07:00
Jeff Atwood
92b2bf425d change Meta default name to "Site Feedback" 2015-06-29 00:33:53 -07:00
Jeff Atwood
db066b5d3f off/on 2015-06-26 14:51:42 -07:00
Jeff Atwood
f841523bc2 add warning to "allow uncategorized" 2015-06-26 14:51:09 -07:00
Arpit Jalan
db02dbb0da Update Translations 2015-06-26 20:30:13 +05:30
Robin Ward
9005afbe49 FIX: Missing translation key 2015-06-26 10:38:27 -04:00
Sam
542e796fb0 FEATURE: daily performance reports 2015-06-26 13:37:05 +10:00
Gerhard Schlager
d08693edce FEATURE: Make abbreviated numbers (k, M) localizable
- Make the decimal separator and thousands delimiter localizable
- Add translations for all languages, otherwise this will look very ugly
2015-06-26 00:51:12 +02:00
Sam
8252f4e110 FEATURE: allow use of redis sentinel via redis_sentinels
Use: DISCOURSE_REDIS_SENTINELS and DISCOURSE_REDIS_HOST to configure redis
sentinel
2015-06-25 16:51:48 +10:00
Sam
28a8b886c0 typo in help 2015-06-25 09:49:16 +10:00
Robin Ward
a526e76236 Reduce suggested topic count by 1 2015-06-24 17:44:22 -04:00
Régis Hanol
5b1a764734 Merge pull request #3565 from riking/patch-9
FIX: Add missing translation
2015-06-24 22:25:27 +02:00
Kane York
a663181335 FIX: Add missing translation 2015-06-24 13:19:46 -07:00
Robin Ward
6422d5efbd Use the same component for similar topics as search results. 2015-06-24 15:08:22 -04:00
Sam
b052179ae6 Merge pull request #3163 from rcfox/fix-by-external
Allow periods in the external_id value used in the /users/by-external route.
2015-06-24 13:07:12 +10:00
Neil Lalonde
7d8fcc0969 FIX: subfolder support: welcome messages and emails have broken images 2015-06-23 14:41:49 -04:00
Sam
63351d5629 FEATURE: in:first for searching first post 2015-06-23 13:39:40 +10:00
Sam
e85df6b876 FEATURE: min_age and max_age search operators 2015-06-23 13:21:50 +10:00
Sam
f101408d03 FEATURE: on mobile display a rollup of unread and new on latest 2015-06-23 12:45:41 +10:00
Robin Ward
76bfd723f6 Merge pull request #3482 from riking/patch-3
Import/Export site customizations
2015-06-22 14:03:07 -04:00
Régis Hanol
b25a16ee3e FEATURE: 2 new reports: time to first response, topics with no response
FIX: relativeAgeMediumSpan was off by 1
REFACTOR: extracted decimalAdjust & round functions from the poll plugin
2015-06-22 19:46:51 +02:00
Sam
b3e583faf3 UX: correct text for sharing badges 2015-06-22 15:58:51 +10:00
Kane York
72db917169 Fix copy error in temporarily_closed_due_to_flags 2015-06-19 11:30:46 -07:00
Neil Lalonde
4b6cf528ce update translations 2015-06-19 11:29:13 -04:00
Jeff Atwood
8feaa5c613 typo: later, not layer 2015-06-18 16:23:18 -07:00
Jeff Atwood
e7c8f5bb2b minor copyedit 2015-06-18 15:31:35 -07:00
Robin Ward
42bd9b6199 FEATURE: Show time gap between posts if more than a few days 2015-06-18 17:06:25 -04:00
Neil Lalonde
77595bcaa9 FEATURE: notify by email when there are posts from new users waiting to be reviewed 2015-06-18 15:47:35 -04:00
Sam
61df4bd90a PERF: slow down the rate topic/timings is called
(we still rush new posts)
2015-06-18 16:15:20 +10:00
Sam
a3885a18f8 extra logic to force kill orphan sidekiqs 2015-06-18 15:32:04 +10:00
Arpit Jalan
6148ae8775 Update Translations 2015-06-17 22:05:22 +05:30
Sam
db274c7969 missing $ 2015-06-16 19:30:29 +10:00
Sam
f26eee8431 FEATURE: add username to NGINX logs 2015-06-16 17:43:53 +10:00
Sam
dc563b4484 improve log format 2015-06-16 17:43:53 +10:00
Sam
4007484c54 also log user agent in NGINX 2015-06-16 16:43:43 +10:00
Sam
a6ac368476 FEATURE: add a custom log format for better analysis 2015-06-16 11:37:08 +10:00
Sam
7b8786e14f FIX: maintain category ordering when position is fixed for browsing
FEATURE: allow mods to set category ordering for topic creation dialog
  using fixed_category_positions_on_create
2015-06-16 09:31:41 +10:00
Arpit Jalan
436e84c6c1 Update Translations 2015-06-15 20:25:53 +05:30
Régis Hanol
7bc0cbc672 FEATURE: add support for up to 10 uploads in the composer 2015-06-15 16:29:01 +02:00
Jeff Atwood
04288c14ff copyedit: omit needless words 2015-06-13 14:38:24 -07:00
Jeff Atwood
73d9ab1685 minor copyedits on welcome pm 2015-06-12 13:01:04 -07:00
Jeff Atwood
c67a3b23cd minor copyedit 2015-06-12 12:50:03 -07:00
Régis Hanol
189cb3ff12 FEATURE: move migrate_to_new_scheme into a background job
- new hidden site setting 'migrate_to_new_scheme' (defaults to false)
- new rake tasks to toggle migration to new scheme
- FIX: migrate_to_new_scheme also works with CDN
- PERF: improve perf of the DbHelper.remap method
- REFACTOR: UrlHelper is now a class
2015-06-12 12:07:57 +02:00
Neil Lalonde
d9efb37ec7 Update translations 2015-06-11 15:35:01 -04:00
Jeff Atwood
9028c1d908 more copyedits on welcome PM 2015-06-11 01:07:03 -07:00
Sam Saffron
57e82ceac7 PERF: production assets not minified
source url post processor forcing all scripts into an eval,
  minifier can not minify such files
2015-06-11 16:41:39 +10:00
Jeff Atwood
54df781f28 more improvements to new user welcome PM 2015-06-10 23:19:38 -07:00
Jeff Atwood
fe5fcfe6c3 copyedits on notification state 2015-06-10 17:22:30 -07:00
Jeff Atwood
a14ea757a1 improvements to new user welcome copy 2015-06-10 17:07:29 -07:00
Jeff Atwood
857ff3515d minor copyedit 2015-06-10 16:14:51 -07:00
Arpit Jalan
7bc3a6fff0 Update Translations 2015-06-10 18:10:46 +05:30
Jeff Atwood
677cdbbda0 updated welcome usage tips and images 2015-06-10 02:26:31 -07:00
Régis Hanol
90eca69e0a FEATURE: add a link to the topic in the banner for staff members 2015-06-09 19:31:14 +02:00
Robin Ward
7b6d6b76eb FEATURE: Multiple embeddable hosts
- Also refactors two site settings components into one, with tests
2015-06-09 13:25:43 -04:00
Arpit Jalan
71ee84f848 FEATURE: latest posts RSS feed 2015-06-09 21:45:06 +05:30
Sam Saffron
9b489506d0 update memory profiler, oj and lru redux 2015-06-05 01:39:38 +10:00
Arpit Jalan
45a7c314c2 Update Translations 2015-06-03 20:39:08 +05:30
Arpit Jalan
725861f344 FIX: move draft cleanup to the dedicated method and add test 2015-06-03 14:35:54 +05:30
Jeff Atwood
513d755d08 omit needless words 2015-06-02 16:37:13 -07:00
Jeff Atwood
fa963e8f38 Revert "Revert "FIX: new task to delete old drafts weekly""
This reverts commit c987a1d571.
2015-06-02 04:26:01 -07:00
Sam Saffron
c987a1d571 Revert "FIX: new task to delete old drafts weekly"
This reverts commit fcaed7a00d.
2015-06-02 20:30:06 +10:00
Jeff Atwood
afafa30989 Merge pull request #3514 from techAPJ/patch-1
FIX: new task to delete old drafts weekly
2015-06-01 20:21:05 -07:00
Arpit Jalan
fcaed7a00d FIX: new task to delete old drafts weekly 2015-06-02 08:39:27 +05:30
Arpit Jalan
b7ac8448c6 Improve IP blocking error message 2015-06-02 07:48:26 +05:30
Jeff Atwood
e89541862e minor copy improvements in email reply errors 2015-06-01 16:37:04 -07:00
Arpit Jalan
1ac4e60c90 Update Translations 2015-06-01 23:33:27 +05:30
Régis Hanol
296b8b1a35 Merge pull request #3508 from techAPJ/patch-2
Better error message when new registration limit from an IP address is reached
2015-06-01 09:57:24 +02:00
Sam
b2b4af213c UX: clean up title for user avatar hover in header 2015-06-01 17:08:19 +10:00
Sam
9910dc041f Merge pull request #3513 from techAPJ/patch-3
UX: show meaningful tooltip for user menu
2015-06-01 16:55:59 +10:00
Jeff Atwood
728a530d2d remove extra "posts" text from digest 2015-05-31 23:13:00 -07:00
Jeff Atwood
644c9b437c avoid html tags in setting descriptions 2015-05-31 23:08:18 -07:00
Jeff Atwood
c853342aeb stronger warning in SSO around validated emails 2015-05-31 23:05:49 -07:00
Arpit Jalan
2f9662e562 UX: show meaningful tooltip for user menu 2015-06-01 10:23:49 +05:30
Arpit Jalan
6bf680882c Better error message when new registration limit from an IP address is reached 2015-06-01 10:16:25 +05:30
Régis Hanol
e483176006 no need for redundant extension parameter 2015-06-01 00:03:41 +02:00
Régis Hanol
73b8cfa7d7 FIX: attachment routes 2015-05-31 23:06:36 +02:00
Sam
52d0d4f5ef File is totally out-of-date and not supported, remove 2015-05-31 20:27:10 +10:00
Jeff Atwood
548707ba14 slightly better copy on backup and restore PMs 2015-05-29 13:50:06 -07:00
Régis Hanol
80a108e3cf FIX: don't break user avatars route 2015-05-29 19:19:41 +02:00
Arpit Jalan
e1ae436711 FIX: month was not showing in user suspended error message 2015-05-29 13:10:39 +05:30
Sam
5539ea701c disable image optim railstie for now, we run it manually 2015-05-29 13:23:11 +10:00
Jeff Atwood
e475f8631a Revert "shorter suspension copy for 1-line fit" 2015-05-28 16:05:31 -07:00
Neil Lalonde
1b96a3acc1 Move exclude_rel_nofollow_domains setting to the Required setting and improve copy. 2015-05-27 18:37:41 -04:00
Régis Hanol
5de9554510 FIX: can't use '.' in bucket name when using HTTPS 2015-05-27 11:12:21 +02:00
Jeff Atwood
47360eddf4 fix copy around coldmapping, increase defaults 2015-05-27 01:04:50 -07:00
Sam
b9bc390897 FEATURE: bullet category style is the new default 2015-05-27 15:39:20 +10:00
Sam
02fa7448ca FEATURE: custom url to redirect to on account pending approval for sso 2015-05-27 14:06:45 +10:00
Sam
3f24e18df0 stop logging badrequest, its just bad urls entered 2015-05-27 13:46:15 +10:00
Jeff Atwood
61e9679f7c make view action explicit in gap expand 2015-05-26 16:25:17 -07:00
Jeff Atwood
f29d37d037 use replies instead of post terminology 2015-05-26 16:23:36 -07:00
Arpit Jalan
5880313e84 Update Translations 2015-05-26 20:08:20 +05:30
Régis Hanol
7b03c7dbc4 Merge pull request #3504 from techAPJ/patch-4
FIX: add missing translation keys
2015-05-26 16:08:39 +02:00
Régis Hanol
85d4d3223c FIX: crop avatars on the server instead of the client
FIX: support for dots in S3 bucket names
2015-05-26 15:54:25 +02:00
Arpit Jalan
d21944a0b6 FIX: add missing translation keys 2015-05-26 19:11:37 +05:30
Sam
90eaad336d FEATURE: allow users to pick a CDN for s3 assets 2015-05-26 11:13:12 +10:00
Neil Lalonde
eaa1afeaf5 remove Google OpenID auth, since Google doesn't support it anymore 2015-05-25 15:13:44 -04:00
Régis Hanol
bb0c2813ac FEATURE: generate (avatar) thumbnails in a background task
FIX: keep the "uploading..." indicator until the server replies via the MessageBus
FIX: text was disapearing when uploading an avatar

PERF: always use a region for S3 (defaults to 'us-east-1')
FEATURE: ApplyCDN middleware when using S3
FIX: use the same pattern to store files on S3 and locally
PERF: keep a local cache of uploads when generating thumbnails
FEATURE: migrate_to_s3 rake task
2015-05-25 17:59:00 +02:00
Régis Hanol
3677c56267 Defaults "clean_up_uploads" site setting to "true"
Otherwise, undesired images will be kept forever...
2015-05-22 20:29:56 +02:00
Régis Hanol
30d0c84ece I don't know how to count... :fired: 2015-05-22 16:16:17 +02:00
Jeff Atwood
8a63596cbd use arrows glyph instead of "vs" in compare dialog 2015-05-22 03:03:04 -07:00
Sam
e59d5fd0eb must also hide header so its not cached 2015-05-22 15:57:32 +10:00
Sam
de3e48c16e PERF: NGINX caching invalid when server sets cookies 2015-05-22 14:23:47 +10:00
Jeff Atwood
ffc6a206e6 UX: add headings to topic summary 2015-05-21 15:30:10 -07:00
Arpit Jalan
fab9d23624 update bs_BA translations 2015-05-21 00:46:31 +05:30
Arpit Jalan
56544f2048 Update Translations 2015-05-21 00:24:12 +05:30
Régis Hanol
8d967d9065 FEATURE: move all uploads to a single endpoint + defer upload creation in a background thread 2015-05-20 16:45:48 +02:00
Régis Hanol
b44488b618 FIX: keep to old attachment route 2015-05-20 14:55:42 +02:00
Régis Hanol
00bf7a88f6 FIX: missing route to download attachments 2015-05-20 00:04:03 +02:00
Robin Ward
4e0d7683ab Better error messages on admin for granting moderation
Also fixes up Ember deprecations.
2015-05-19 10:56:32 -04:00
Régis Hanol
9ded21e4c6 FIX: consistent and future-proof upload storage pattern 2015-05-19 12:31:12 +02:00
Sam
8002c46c21 FEATURE: g b to take you to your bookmarks 2015-05-19 15:34:16 +10:00
Sam
f26fef4340 silence ar not found 2015-05-19 09:32:27 +10:00
riking
291d9fc65e FEATURE: Import customizations from a JSON file 2015-05-16 20:24:19 -07:00
riking
1e53c179a3 FEATURE: Export customizations as JSON files 2015-05-16 20:24:13 -07:00
Ryan Fox
14d2b76354 Merge branch 'master' into fix-by-external
Conflicts:
	app/controllers/users_controller.rb
2015-05-15 19:54:11 -04:00
Régis Hanol
764f9b42fe Merge pull request #3458 from Qasem-h/Bosnian
Add Bosnian langage for discourse
2015-05-15 14:34:16 +02:00
Régis Hanol
d40d308e45 Merge pull request #3445 from lukegb/bug/anonymous-emails
Don't send emails to anonymous users
2015-05-15 14:28:37 +02:00
Sam
2955507a57 FEATURE: badges for inviting users
First invite = Promoter
3 TL2 = Campaigner
10 TL3 = Champion
2015-05-15 12:04:41 +10:00
Aaron Boushley
60aa52b753 Enable CORS requests to pass necessary headers.
To fully enable session deletion over CORS we need support for passing the
`X-Requested-With` header so that these requests can pass the `check-xhr` filter.

I also allowed the `X-CSRF-Token` to enable the alternative CSRF passing syntax.
2015-05-14 09:46:41 -07:00
Robin Ward
963b08f063 Allow OPTIONS requests when CORS is enabled 2015-05-14 11:14:47 -04:00
Régis Hanol
d90e0fe66b Merge pull request #3460 from techAPJ/patch-3
FIX: rate limit topic invitations
2015-05-13 12:55:20 +02:00
Arpit Jalan
4324a157e0 FIX: rate limit topic invitations 2015-05-13 14:44:37 +05:30