Commit Graph

12977 Commits

Author SHA1 Message Date
Robin Ward d491d817a6 UX: Alwasy skip headers on topic lists on mobile.
Fixes topic lists filtered by tag on mobile.
2015-01-28 15:20:26 -05:00
Robin Ward d6fa248093 UX: Update 404 page category badge to use centralized helper and style 2015-01-28 14:56:38 -05:00
Neil Lalonde c340255732 Merge pull request #3141 from techAPJ/patch-2
Update Translations
2015-01-28 14:16:09 -05:00
Arpit Jalan c710d105a0 Update Translations 2015-01-29 00:26:53 +05:30
Régis Hanol cd2c9edb46 FIX: 🐛 upload on IE9 wasn't working :'(
- FIX: make sure we set a default name to a pasted image only on Chrome (the only browser that supports it)
- FIX: use ".json" extension to uploads endpoints since IE9 doesn't pass the correct header
- FIX: pass the CSRF token in a query parameter since IE9 doesn't pass it in the headers
- FIX: display error messages comming from the server when there is one over the default error message
- FIX: HACK around IE9 security issue when clicking a file input via JavaScript (use a label and set `visibility:hidden` on the input)
- FIX: hide the "cancel" upload on IE9 since it's not supported
- FIX: return "text/plain" content-type when uploading a file for IE9 in order to prevent it from displaying the save dialog
- FIX: check the maximum file size on the server 💥
- update jQuery File Upload Plugin to v. 5.42.2
- update JQuery IFram Transport Plugin to v. 1.8.5
- update jQuery UI Widget to v. 1.11.1
2015-01-28 19:43:20 +01:00
Robin Ward 053d3120f7 Updated incorrect comment 2015-01-28 13:38:40 -05:00
Robin Ward 8fc477ab07 More refactoring to support extensibility of history 2015-01-28 13:37:06 -05:00
Robin Ward 4a46d4ee35 Refactor and enable extensibility in PostRevisionSerializer 2015-01-28 13:37:06 -05:00
Robin Ward d43944b3ed Extensibility for tracking changes to a topic 2015-01-28 13:37:06 -05:00
Dan Singerman dbf2f4efec Fix bug when sso_overrides_avatar is true but no avatar_url is passed
If a user has a current avatar, and sso_overrides_avatar is true, but no avatar_url is
passed in the sso attributes, the current code errors, as it tries to parse a nil
as a URL. It seems to me valid that a third party system may not pass an avatar_url in
some cases (e.g. avatars may not be mandatory, so not all users may have them)

This might warrant a discussion about what should happen in this case; maybe the current
avatar in discourse should be removed? This branch merely stops the login process erroring.
2015-01-28 16:01:39 +00:00
Régis Hanol 420abdff69 Merge pull request #3139 from techAPJ/patch-1
FIX: always set a default Message ID in email
2015-01-28 10:30:09 +01:00
Arpit Jalan b0369061e2 FIX: always set a default Message ID in email 2015-01-28 14:49:38 +05:30
Sam 3483c8318f FEATURE: logging out logs you out everywhere
can be disabled by changing the setting "log_out_strict" to false
2015-01-28 12:56:41 +11:00
Régis Hanol b003c2b4f3 let's try category class again 2015-01-27 23:44:47 +01:00
Jeff Atwood a82c50d584 copy fixup on badge boolean checks 2015-01-27 13:24:07 -08:00
Neil Lalonde c3c202f59e import approval state of users in Ning import script 2015-01-27 15:22:38 -05:00
Robin Ward c7fa4a029d Merge pull request #3138 from techAPJ/patch-1
Minor code optimization
2015-01-27 13:25:13 -05:00
Jeff Atwood 5078a68b14 improve group email membership copy again 2015-01-27 09:54:51 -08:00
Arpit Jalan 5128aa1052 Minor code optimization 2015-01-27 22:51:57 +05:30
Robin Ward 8f070c2008 Merge pull request #3133 from techAPJ/patch-1
Disable digest emails site setting
2015-01-27 12:13:25 -05:00
Arpit Jalan 12c82bed59 Disable digest emails site setting 2015-01-27 22:41:36 +05:30
Robin Ward 848632131e Merge pull request #3137 from rahulj51/patch-1
Fixed typo on line 49
2015-01-27 10:42:17 -05:00
Régis Hanol 0ca134d36a Merge pull request #3136 from techAPJ/patch-2
Update lazyYT plugin to version 1.0.1
2015-01-27 16:40:53 +01:00
Rahul 421959db46 Fixed typo on line 49
brew tap homebrew/dupes
2015-01-27 21:04:15 +05:30
Arpit Jalan cc0f3b83ee Update lazyYT plugin to version 1.0.1 2015-01-27 18:14:34 +05:30
Greg Kempe d99ccf6d27 FIX: creating a user shouldn't error when optional fields aren't provided
This fixes a bug where the server would 500 if the only user fields
where optional ones, and the create_user call didn't provide any
values so that params[:user_fields] was nil.

Additionally, don't bother double-checked for required fields, since we
iterate over all fields and will catch any that are required and blank.
2015-01-27 11:48:27 +02:00
Sam fbd18f3b69 Merge pull request #3132 from lidlanca/patch-4
Perf UX : reduce page paint on scrolling, due to fixed header element union with progress bar area
2015-01-27 14:40:49 +11:00
Sam d52b0a2458 temporarily disable category class on body while debugging issue with missing docking header 2015-01-27 13:43:40 +11:00
lidlanca 0ffea11ccb Perf UX : reduce page paint on scrolling, due to fixed header element union with progress bar
Should provide some performance improvement for scrolling on chrome
The fixed header and the fixed progress bar on both ends  of the screen will invoke a complete visible page redraw.

For whatever reason this css should make things better for low performance devices. only tested on chrome superficially.
2015-01-26 20:47:43 -05:00
Sam 497042ddf2 FIX: don't restrict to local filesystem for df check
FIX: check correct directory when looking at backup limits
2015-01-27 08:25:57 +11:00
Jeff Atwood 20411649e1 remove needless email test footer 2015-01-26 17:24:43 -08:00
Régis Hanol 40da065930 fix the build (:fired:) 2015-01-26 23:49:15 +01:00
Jeff Atwood 0472012dae copy improvements on auto-email group joining 2015-01-26 14:43:32 -08:00
Jeff Atwood 246c376f48 Merge pull request #3131 from pda/hmac-not-encryption
sso_secret: cryptographically authenticate, not encrypt.
2015-01-26 14:28:55 -08:00
Régis Hanol efd65dcc8c hard match domains for automatic group membership 2015-01-26 23:17:29 +01:00
Régis Hanol 088260f053 BREAK: improve consistency by using 'category-<slug>' instead of 'category-<id>' as css class 2015-01-26 23:11:41 +01:00
Paul Annesley bf2bbfb06e sso_secret: cryptographically authenticate, not encrypt.
The sso_secret is an input to HMAC, which is a hash-based message
authentication code, not encryption.
2015-01-26 13:52:02 -08:00
Régis Hanol 31340de446 don't break the vBulletin importer when PrettyText times out 2015-01-26 20:35:30 +01:00
Robin Ward 51827b06ac Merge pull request #3130 from techAPJ/master
FEATURE: suppress digest emails for users not seen on the site for more ...
2015-01-26 13:12:47 -05:00
Régis Hanol 3b3c0d7088 add category name as a css class to topic list item (props to @lagwagon) - closes #3129 2015-01-26 18:43:55 +01:00
Arpit Jalan 5c2ee8ec2a FEATURE: suppress digest emails for users not seen on the site for more than (n) days. 2015-01-26 22:04:02 +05:30
Robin Ward ab4eb353af Merge pull request #3127 from riking/self-delete-locale
FIX: 🈂️ Use site-wide locale for deletion stubs
2015-01-26 11:04:04 -05:00
Robin Ward 30cd341b0d UX: Max width of .gifv videos 2015-01-26 11:00:18 -05:00
Robin Ward b3a9f91bd3 UX: You should be able to tab to the "This is a warning" checkbox 2015-01-26 10:52:17 -05:00
Jeff Atwood 8ef2a111a0 fix left margin on tablet portrait w/topic + list 2015-01-25 23:45:36 -08:00
Régis Hanol f22809c067 Merge pull request #3124 from gschlager/import_scripts
Improve the base importer
2015-01-25 17:42:51 +01:00
Régis Hanol 78a7fb4b07 Merge pull request #3125 from gschlager/bugfix_01
FIX: Loading of Emoji files depended on working directory
2015-01-25 17:42:16 +01:00
Jeff Atwood 20a0a2f60b minor copyedit 2015-01-25 01:22:40 -08:00
Jeff Atwood bab5167566 tighten up suggested topic table layout 2015-01-25 00:33:52 -08:00
Sam ba186b25a7 FEATURE: optional top level bookmarks tab 2015-01-25 15:53:11 +11:00