Commit Graph

3571 Commits

Author SHA1 Message Date
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
Jeff Atwood
6de7e7e161 remove incorrect keyboard help text 2015-05-12 23:25:47 -07:00
Neil Lalonde
1c5ea5d8ef Update translations 2015-05-12 17:38:49 -04:00
Régis Hanol
0a41ec59e8 fix substitution - :fired: 2015-05-12 19:43:25 +02:00
Régis Hanol
8c57aef3f8 log the hostname when restarting sidekiq 2015-05-12 19:39:17 +02:00
Qasem Hajizadeh
39dcc1b784 Create server.bs_BA.yml 2015-05-12 16:18:06 +04:30
Qasem Hajizadeh
54606071d6 Create client.bs_BA.yml 2015-05-12 16:17:26 +04:30
Marcus Rückert
fb25985b91 Mark all files with a shebang line as executable
This is a bit weird with the Rakefiles but makes
it consistent. Found with rpmlint.
2015-05-12 13:21:32 +02:00
Sam
5ef641126f remove s3 deprecation warning, we will continue to support it 2015-05-12 08:27:25 +10:00
Robin Ward
0b65c88003 Upgrade Notifications to fix deprecations and use store 2015-05-11 11:20:45 -04:00
Arpit Jalan
8366b71176 FEATURE: check nofollow setting when showing website 2015-05-11 13:16:21 +05:30
Luke Granger-Brown
9f9825bb6b FIX: don't send emails to anonymous users
Also changes behaviour of real to not return anonymous users.

This means user counts will no longer include them, and the
mailing list system will ignore them even if they somehow end up
with the feature turned on.
2015-05-11 00:56:34 +01:00
Sam
0b3ad8a3fd Merge branch 'master' of github.com:discourse/discourse 2015-05-07 11:51:09 +10:00
Sam
77cc087b13 FIX: proper error message when account created is hit with no session 2015-05-07 11:00:22 +10:00
Sam
d6c06eb547 Get rid of CSRF errors 2015-05-07 10:42:21 +10:00
Arpit Jalan
ee960899df Update Translations 2015-05-06 21:32:11 +05:30
Jeff Atwood
6447c6c81d posts -> replies in too_few_topics_notice 2015-05-06 01:33:48 -07:00
Sam
cea9cfe49f remove alihack 2015-05-06 16:59:41 +10:00
Sam
2f82caafa2 Add ignore for another type of not found 2015-05-06 16:21:59 +10:00
Sam
c96a057395 ignore routing errors on multisite 2015-05-06 12:47:30 +10:00
Sam
19e5304813 add hostname to fake env 2015-05-06 12:28:32 +10:00
Erick Guan
b772ff6e13 FEATURE: add slug geneartion options 2015-05-05 18:08:30 +08:00
Sam
f58d85edea FEATURE: move stylesheet cache out of the uploads directory 2015-05-05 15:50:13 +10:00
Jeff Atwood
b84c4ef0c6 add warning around must_approve_users 2015-05-04 11:33:03 -07:00
Jeff Atwood
8f706f11cb remove trust level reference from flag unhide PM 2015-05-04 01:19:04 -07:00
Jeff Atwood
77992a11b9 correct copy and de-experimental browser icon count 2015-05-03 23:29:56 -07:00
Sam
0369f26a39 add some ignores 2015-05-04 16:12:03 +10:00
Sam
4dfc1907ac Simplify desktop notifications, only include if mention/reply/pm/link
Include post excerpt in the notification
2015-05-04 13:49:32 +10:00
Sam
803feefd54 MessageBus handles readonly redis now, no need to wrap it 2015-05-04 12:21:00 +10:00
Jeff Atwood
83b7620cb2 use pencil glyph on edit history dialog 2015-05-02 03:48:37 -07:00
Jeff Atwood
80003e0821 improve copy for password change token expired 2015-05-01 01:39:53 -07:00
Jeff Atwood
bafcfa5b6a Improve password reset expired link copy 2015-05-01 01:30:13 -07:00
Jeff Atwood
7c42cb7c22 "reset password" doesn't exist, forgot does. 2015-05-01 00:52:50 -07:00
Jeff Atwood
6139090e9e improvement to accept invite password instructions 2015-05-01 00:51:17 -07:00
Sam
f3188ab8f2 remove unused setting 2015-04-30 12:06:32 +10:00
riking
a3338e9798 Missed localization key 2015-04-29 15:06:04 -07:00
Arpit Jalan
787b30c354 Update Translations 2015-04-29 22:38:29 +05:30
Sam
fd7c34cfa7 Merge pull request #3409 from zzakcanncode/rails-42
Rails 4.2 and master support and CI
2015-04-29 17:32:19 +10:00
Sam
d7d93c20d7 Merge pull request #3406 from techAPJ/patch-2
FEATURE: prefill topic title, body and category via URL
2015-04-29 13:46:26 +10:00
Arthur Neves
d2b1cc55b9
Disable raise_in_transactional_callbacks for now 2015-04-28 23:20:08 -04:00
Sam
7bc220956a this quickstart file is confusing and not needed
removing
2015-04-29 13:15:53 +10:00
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
Arpit Jalan
cff6e49eb7 FEATURE: prefill topic title, body and category via URL 2015-04-29 00:01:10 +05:30
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