Commit graph

13167 commits

Author SHA1 Message Date
Robin Ward
d1ec1e2681 Allow code to save custom fields without saving the attached object 2015-01-29 17:17:52 -05:00
riking
85a7b925c7 Miscellaneous fixes from PR#3000
FIX: Don't require login to view post raw
FIX: Don't submit read-guidelines for anonymous users (causes
unnecessary 403 errors from ensure_logged_in)
FIX: Don't pass nil to an array serializer
2015-01-29 13:56:32 -08:00
Sam
a6ce188f35 Merge pull request #3126 from riking/latest-posts
Latest posts endpoint at /posts.json
2015-01-30 08:55:45 +11:00
Régis Hanol
6a68e8c272 FIX: use CDN for user card/profile background and user avatars (for real this time) 2015-01-29 22:53:48 +01:00
Jeff Atwood
4a2786dbf2 better copy on enable names setting 2015-01-29 13:42:15 -08:00
Robin Ward
108170cd90 Merge pull request #3150 from techAPJ/patch-2
FIX: strip whitespaces from user email
2015-01-29 15:24:33 -05:00
Arpit Jalan
6c410ed093 FIX: strip whitespaces from user email 2015-01-30 01:44:24 +05:30
Régis Hanol
22adb682d8 revert - FIX: use CDN for user card/profile background and user avatars 2015-01-29 20:42:05 +01:00
Régis Hanol
07d5d8faac fix the build... 2015-01-29 20:28:50 +01:00
Régis Hanol
14dc22f288 FIX: use CDN for user card/profile background and user avatars 2015-01-29 20:15:17 +01:00
Robin Ward
e42e9bd010 Merge pull request #3149 from techAPJ/patch-2
FIX: allow developer emails to bypass email blacklist/whitelist restrict...
2015-01-29 13:42:59 -05:00
Arpit Jalan
58f46137d6 FIX: allow developer emails to bypass email blacklist/whitelist restriction 2015-01-30 00:10:03 +05:30
Robin Ward
f028b51620 Add post parameters so plugins like akismet can use it for spam
prevention.
2015-01-29 13:09:35 -05:00
Robin Ward
1f40807001 Add extensibility point for whenever a post is created 2015-01-29 12:46:29 -05:00
Régis Hanol
2507f99135 FEATURE: background job to make sure emoticons aren't too big 2015-01-29 18:36:35 +01:00
Robin Ward
9a4e5c04d9 Fix weird indentation in CSS file 2015-01-29 12:08:42 -05:00
Régis Hanol
bdb0b45834 Merge pull request #3148 from techAPJ/patch-1
Do not allow TL0 users topics in email digest
2015-01-29 17:50:21 +01:00
Robin Ward
6e862e0e59 FIX: Should flush rate limit keys before testing it 2015-01-29 11:45:12 -05:00
Régis Hanol
3a24df6956 FIX: adding a custom emoji needed an application restart to work on the server-side rendering 2015-01-29 17:35:52 +01:00
Régis Hanol
b5a6193d36 Merge pull request #3147 from awesomerobot/master
simple change that grants a bit more flexibility to the category and title in the topic list
2015-01-29 17:30:39 +01:00
Kris Aubuchon
5621b1f663 simple change that grants a bit more flexibility to the category and title in the topic list 2015-01-29 10:53:13 -05:00
Arpit Jalan
21e94859a9 Do not allow TL0 users topics in email digest 2015-01-29 21:10:26 +05:30
Robin Ward
52d04935be Merge pull request #3145 from gdpelican/bugfix/like-toggle
Rerender actions on like/dislike
2015-01-29 10:32:11 -05:00
Régis Hanol
6556e1cb10 FIX: pasting image in the composer wasn't working in Chrome 2015-01-29 16:26:40 +01:00
Jeff Atwood
4fd0200df8 Merge pull request #3146 from techAPJ/patch-1
FIX: remove custom Discourse headers in email
2015-01-29 04:00:19 -08:00
Arpit Jalan
e97755ab5d FIX: remove custom Discourse headers in email 2015-01-29 17:25:50 +05:30
Jeff Atwood
f4a9ba8c9d tighten up spacing on category dropdown button 2015-01-29 03:51:07 -08:00
James Kiesel
3b2dcf12b5 Rerender actions on like/dislike 2015-01-29 23:27:05 +13:00
Jeff Atwood
6856c0a511 Merge pull request #3144 from techAPJ/patch-1
build is failing :fired:
2015-01-29 02:12:24 -08:00
Arpit Jalan
4e4bb736a8 build is failing :fired: 2015-01-29 15:18:38 +05:30
Jeff Atwood
605ae8a1a3 Merge pull request #3143 from techAPJ/patch-1
FIX: PMs were not allowed to be edited in some cases
2015-01-29 01:35:05 -08:00
Arpit Jalan
e8db47a1fe FIX: PMs were not allowed to be edited in some cases 2015-01-29 15:00:11 +05:30
Sam
ffee7ba789 fix style 2015-01-29 18:37:38 +11:00
Sam
8792909ff8 less rules ... less ie problems ... 2015-01-29 18:22:29 +11:00
Sam
a591c019d4 correct tests 2015-01-29 17:57:34 +11:00
Sam
1a694c04e4 correct box styles 2015-01-29 17:49:14 +11:00
Sam
cd5564f623 more styling tweaks 2015-01-29 17:49:14 +11:00
Sam
57dd4554f1 bar style fixes 2015-01-29 17:49:14 +11:00
Sam
6495bca540 bar style fixes 2015-01-29 17:49:14 +11:00
Sam
844467015d FEATURE: allow simple selection for category badge styles
clean up category badge styling
2015-01-29 17:49:14 +11:00
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