Commit graph

7050 commits

Author SHA1 Message Date
Sam
7e3df4287f Add more logging for blank posts to detect culprit 2014-11-24 10:34:29 +11:00
Sam
d3b24b625b Add more SSO logging for failure conditions 2014-11-24 10:02:22 +11:00
Robin Ward
953ac7de8f Merge pull request #2993 from techAPJ/patch-4
Return a promise instead of triggering bootbox in model
2014-11-21 15:20:50 -05:00
Arpit Jalan
7455e81b31 sort screened IPs by match_count 2014-11-22 01:41:59 +05:30
Arpit Jalan
428b71687f return a promise instead of triggering bootbox in model 2014-11-22 01:16:10 +05:30
Jeff Atwood
304b96aa81 UX: suppress long cat names in cat drop down too 2014-11-21 11:40:15 -08:00
Robin Ward
727e87b78f Merge pull request #2992 from techAPJ/patch-4
FEATURE: export screened IPs list in a CSV file
2014-11-21 14:35:36 -05:00
Arpit Jalan
515882d224 FEATURE: export screened IPs list in a CSV file 2014-11-22 00:59:48 +05:30
Jeff Atwood
4e01046862 UX: suppress long cat names in topic lists 2014-11-21 11:13:38 -08:00
Jason W. May
6f8119ebb8 Merge branch 'master' into group-admin-incremental 2014-11-21 10:04:05 -08:00
Jason W. May
98404d19c5 check that changes param is present 2014-11-21 10:03:29 -08:00
Régis Hanol
0398ab7514 FIX: when adding an IP to the spammer list, check the broader ban list
first

FEATURE: allow admins to search users using IP ranges
2014-11-21 18:16:06 +01:00
Sam
d53b4ab5bc Merge pull request #2979 from techAPJ/patch-1
FEATURE: log out user everywhere and refresh/redirect
2014-11-21 16:59:44 +11:00
Sam
df99591f10 FEATURE: hide bookmarks but always show if post is bookmarked 2014-11-21 11:53:06 +11:00
Sam
034967328c FIX: sso with avatar override may fail on first account creation 2014-11-21 11:36:14 +11:00
Sam
508efe3029 FIX: PM title not editable 2014-11-21 11:08:20 +11:00
Régis Hanol
0cbfb43adb UX: use warning (nuke?) icon instead of trash icon 2014-11-21 00:32:06 +01:00
Régis Hanol
acb8030d12 add confirm dialog when deleting other accounts with same IP address 2014-11-21 00:31:22 +01:00
Sam
4a7e0416d1 FIX: expire stylesheet cache on save 2014-11-21 08:32:32 +11:00
Jeff Atwood
97a44b4c43 post-date can be same size as other post info 2014-11-20 12:23:21 -08:00
Robin Ward
dd1ebb535b FIX: Could not download exported data on some sites 2014-11-20 14:02:10 -05:00
Régis Hanol
b8d806ee07 FEATURE: delete all accounts from this IP in the IP lookup modal 2014-11-20 19:59:20 +01:00
Jason W. May
50de22801f API addition: HTTP PATCH support for /groups/xxx: incremental membership changes 2014-11-20 09:29:56 -08:00
Sam
73041c0e14 uniqueness constraint is not correct scoping on hidden is not fully correct
simpler just to handle it in the DB
2014-11-20 16:48:45 +11:00
Jeff Atwood
57ef9bb21b fix pop up composer tips display for mobile 2014-11-19 21:46:18 -08:00
Sam
e1be1e5fd9 FIX: don't crash from observer if user record is bad 2014-11-20 16:08:06 +11:00
Sam
6b10c4dc54 add support for hidden api keys, used in hosting scenarios 2014-11-20 15:38:20 +11:00
Sam
6bed4e1bf0 add allowed_ips to api_keys
update annotations
2014-11-20 14:53:15 +11:00
Régis Hanol
98e8523eec UX: improve ip-lookup modal
- replace close button with cross
- use table instead of ul/li
- use trust level number instead of full name
- sort users by descending trust level
- add post count
2014-11-19 21:38:53 +01:00
Régis Hanol
0947191060 UX: improved our footer handling
- new "show-footer" mixins
- converted most of the routes to ES6
- FIX: handling of "indexStream" in user pages

There will now be a footer on all the following pages
- /exception
- /about
- /latest
- /new
- /unread
- /starred
- /top
- /categories
- /c/:category
- /c/:category/l/latest
- /c/:category/l/new
- /c/:category/l/unread
- /c/:category/l/top
- /t/:topic/:id
- /groups/:name/members
- /user/activity
- /user/activity/topics
- /user/activity/posts
- /user/activity/replies
- /user/activity/likes-given
- /user/activity/likes-received
- /user/activity/bookmarks
- /user/activity/starred
- /user/badges
- /user/notifications
- /user/flagged-posts
- /user/deleted-posts
- /user/private-messages
- /user/private-messages/mine
- /user/private-messages/unread
- /user/invited
- /user/:username/preferences
- /faq (static pages)
- /badges
- /badges/:id/:badge
2014-11-19 20:37:43 +01:00
Robin Ward
87cd5dbcb7 Merge pull request #2985 from techAPJ/patch-3
remove /download from csv file url
2014-11-19 14:10:34 -05:00
Arpit Jalan
aebf36c356 remove /download from csv file url 2014-11-20 00:34:38 +05:30
Robin Ward
bb5be561f3 Merge pull request #2982 from techAPJ/patch-2
FEATURE: show exact error for test email
2014-11-19 12:30:32 -05:00
Arpit Jalan
c84b51d4ae FEATURE: show exact error for test email 2014-11-19 22:58:59 +05:30
Régis Hanol
ada8e6eb23 Merge pull request #2984 from cpradio/pr-tl4-flag-spam-post-hidden
FIX: TL4 flag on TL0 post as spam, hides the post
2014-11-19 17:41:02 +01:00
cpradio
626da65339 FIX: TL4 flag on TL0 post as spam, hides the post 2014-11-19 11:26:57 -05:00
Arpit Jalan
eb9eada894 FEATURE: log out user everywhere and refresh/redirect 2014-11-19 12:34:34 +05:30
Guilherme Carreiro
7ad10b5ea6 FIX: Sharing link stood visible after using browser’s back button 2014-11-18 20:32:04 -02:00
Régis Hanol
9c1341b554 FIX: limit the number of group members returned for automatic groups 2014-11-18 12:13:45 +01:00
Régis Hanol
f18d30f1d7 FIX: don't limit the number of group members returned to the front-end (UI needs some work for large groups) 2014-11-18 12:09:37 +01:00
Sam
b4844d4477 FIX: correct old username index
(in some cases search was not finding accounts)
2014-11-18 14:32:23 +11:00
Sam
4ff056231d FIX: expanding replies not working correctly 2014-11-18 11:52:10 +11:00
Jeff Atwood
75b5b27f78 we don't need this /popular redirect any more 2014-11-17 16:40:23 -08:00
Régis Hanol
672cd92638 FIX: damn timezones 2014-11-17 22:53:41 +01:00
Robin Ward
0b0cee4e07 Merge pull request #2969 from cpradio/pr-add-category-to-group-posts
FEATURE: Add category to Group Post Listing
2014-11-17 16:02:15 -05:00
cpradio
cca78f1031 Remove n+1 query on Categories 2014-11-17 15:43:22 -05:00
Régis Hanol
15a5d06495 use proper case & remove unused view 2014-11-17 18:17:24 +01:00
Régis Hanol
216a5a87cb FIX: do not display EPOCH 2014-11-17 16:32:14 +01:00
Régis Hanol
7bb9a839e5 fix the build (again) 2014-11-17 16:06:43 +01:00
Régis Hanol
dd9c475ea0 FIX: changing category within edit grace period as TL3 pops up an error 2014-11-17 15:57:45 +01:00
Régis Hanol
dbb4491bc3 Merge pull request #2973 from lidel/openstreetmap-support
UX: whitelist OpenStreetMap iframes
2014-11-17 15:04:58 +01:00
Régis Hanol
fae19aa56c FEATURE: improve admin IP lookup dialog (add username/trust level/read time/topics entered) 2014-11-17 14:51:28 +01:00
Marcin Rataj
9dccd975d9 UX: whitelist OpenStreetMap iframes 2014-11-17 14:30:25 +01:00
Régis Hanol
7641d88224 FEATURE: new 'maximum new user accounts per registration IP' site setting 2014-11-17 12:04:29 +01:00
Jeff Atwood
78f6cea16c bump up header icon size a bit 2014-11-17 02:21:30 -08:00
Jeff Atwood
e3ff168e42 specify max-width 100% on digest email logos 2014-11-17 02:10:33 -08:00
Sam
8881e56df5 PERF: don't ever use inject on AR relations
inject will deteriorate to a method missing that
invokes arel and a world of uneeded work
2014-11-17 18:03:11 +11:00
Sam
6f7a89dcaa PERF: use preloader trick to load topic categories 2014-11-17 18:03:11 +11:00
Jeff Atwood
c059352484 Merge pull request #2971 from cpradio/pr-fix-allowed-category-ids-for-group-posts
FIX: Change is_staff to is_admin for group posts to match other places
2014-11-16 18:51:31 -08:00
cpradio
bf7be0c130 FIX: Change is_staff to is_admin to match other places where guardian.allowed_category_ids is used
https://meta.discourse.org/t/security-permissions-and-messages-displayed-on-group-url/22169/17
2014-11-16 20:31:16 -05:00
cpradio
ce78cb1ee4 FEATURE: Add category to Group Post Listing 2014-11-14 19:30:05 -05:00
cpradio
c2bbbb38f0 FIX: Do not recall prior DRAFT in a given category when using the Create Topic keyboard shortcut 2014-11-14 18:12:42 -05:00
Neil Lalonde
22fa46b1f2 just say Delete 2014-11-14 16:29:53 -05:00
Neil Lalonde
ebcf21585c FEATURE: add a button for staff to delete a user on their profile page 2014-11-14 15:25:33 -05:00
Robin Ward
ac245ede43 UX: Fixes for group view 2014-11-14 14:28:46 -05:00
Robin Ward
9cd3708b63 Instead of using a "discoveryLoading" action, return true so it can
bubble up itself.
2014-11-14 13:33:55 -05:00
Robin Ward
1d1978086c FIX: Improve use of loading spinners on discovery routes 2014-11-14 12:28:20 -05:00
Robin Ward
3829add90b Merge pull request #2963 from cpradio/pr-pin-unpin-topic-kb-shortcut
FEATURE: Added Pin/Unpin Keyboard Shortcut
2014-11-14 11:14:35 -05:00
Robin Ward
cb25d0c0fb Tweak HTML to include active class on the li on the site settings
route
2014-11-14 11:10:55 -05:00
Neil Lalonde
c74225b5a6 Merge pull request #2964 from lirent/master
New "sq" language files for Discourse
2014-11-14 11:07:24 -05:00
Jeff Atwood
e9ec3738d8 tone down css chevron a bit 2014-11-14 01:19:30 -08:00
Jeff Atwood
1d59a0f815 incorrect position: relative 2014-11-14 00:46:04 -08:00
Jeff Atwood
ed5896c511 missed a closing buffer.push tag 2014-11-14 00:26:23 -08:00
Jeff Atwood
fdacb67c71 use CSS chevron instead of fa-chevron-right 2014-11-14 00:10:46 -08:00
Jeff Atwood
529a0cdcf2 more de-chevroning of user page 2014-11-13 23:45:08 -08:00
Jeff Atwood
6a40501cb3 correct user page action button alignment on mobile 2014-11-13 23:41:17 -08:00
Jeff Atwood
313c41aadb lighten user page stream dates 2014-11-13 23:35:44 -08:00
Jeff Atwood
10b6741a15 de-chevron the side nav a bit 2014-11-13 23:28:17 -08:00
Sam
c7bc692f40 PERF: stop querying banner topic on every page hit 2014-11-14 15:39:17 +11:00
Robin Ward
a710ff08ad Missing Loading Route 2014-11-13 17:35:46 -05:00
Régis Hanol
bf666f8553 FEATURE: allow animated thumbnails 2014-11-13 23:30:34 +01:00
Jeff Atwood
64140c5fe0 digest email style tweak 2014-11-13 13:44:53 -08:00
Robin Ward
9520cc0613 FIX: Inconsistent loading of user profiel page (expanded/unexpanded top
area)
2014-11-13 16:30:58 -05:00
Robin Ward
0d12ed2231 UX: More spinner upgrades 2014-11-13 15:40:28 -05:00
Robin Ward
074fa81182 UX: Proper loading spinner on create account 2014-11-13 13:50:19 -05:00
Robin Ward
61109a43d2 UX: Use new spinner when logging in 2014-11-13 13:43:54 -05:00
Robin Ward
7b50244e98 UX: Use new loading spinner when uploading an image 2014-11-13 12:55:47 -05:00
Jeff Atwood
1629b47bde correct blank profile image alignment 2014-11-13 02:11:30 -08:00
Régis Hanol
4f84a3620e Merge pull request #2962 from techAPJ/patch-1
FEATURE: add custom user fields in user csv export
2014-11-13 11:11:02 +01:00
Jeff Atwood
85e9aaa4fa fix width of users column in topic lists 2014-11-13 01:02:37 -08:00
Arpit Jalan
fadddccf8a FEATURE: add custom user fields in user csv export 2014-11-13 13:28:45 +05:30
Jeff Atwood
52e27a9870 improve flag count display on user page 2014-11-12 23:41:26 -08:00
Jeff Atwood
e78149a97e bg transparency for user profiles 2014-11-12 23:33:45 -08:00
Sam
4fc3834dd6 FEATURE: allow inline disposition on uploads
when linking an upload allow ?inline=1 to display upload inline
2014-11-13 08:50:55 +11:00
Lirent
d07c6c8cbb erb file for sq lang 2014-11-12 22:08:09 +01:00
Robin Ward
03bc91f204 Unify loading-spinner helper, add conditional support via component 2014-11-12 15:11:20 -05:00
Jeff Atwood
e1dda2337b remove quarternary color from dialog header CSS 2014-11-12 12:10:42 -08:00
Robin Ward
02abcd03fb UX: Position loading spinner properly on user pages 2014-11-12 13:57:59 -05:00
Robin Ward
fb241a4351 UX: Use loading spinner on notifications 2014-11-12 13:37:51 -05:00
Robin Ward
e26e5312d7 FIX: Couldn't click on avatar on private message list 2014-11-12 11:53:07 -05:00
Régis Hanol
a8a0be0b34 FIX: change the unlisted/invisible topic state only when unhiding the first post 2014-11-12 16:34:30 +01:00
cpradio
a4aeaeae30 Fixed typo 2014-11-12 09:41:53 -05:00
cpradio
61cc8ead44 FEATURE: Added Pin/Unpin Keyboard Shortcut 2014-11-12 09:36:24 -05:00
Régis Hanol
a036ac7bdc FIX: users can see the raw email source of their own posts 2014-11-12 14:49:42 +01:00
Régis Hanol
fe541891fc remove unnecessary <footer> tags 2014-11-12 14:35:20 +01:00
Jeff Atwood
c3df1f368f better CSS for the notify flag msg char count 2014-11-12 01:23:49 -08:00
Jeff Atwood
f83033ad41 add privacy reminder to flag dialog 2014-11-12 00:39:32 -08:00
Jeff Atwood
36d094856c normalize footer div on all emails 2014-11-11 23:19:15 -08:00
Sam
c98d0a8eb6 Revert "Revert "PERF: use distributed cache for site text and category slugs""
This reverts commit 65e7cd1d1d.
2014-11-12 10:01:41 +11:00
Sam
65e7cd1d1d Revert "PERF: use distributed cache for site text and category slugs"
This reverts commit a97f2eee05.
2014-11-12 10:01:07 +11:00
Sam
a97f2eee05 PERF: use distributed cache for site text and category slugs 2014-11-12 09:44:44 +11:00
Robin Ward
824c0b0f87 FIX: Remove grouped-each helper. GroupedView is deprecated in Ember
1.9
2014-11-11 15:58:47 -05:00
Robin Ward
873277ae5f Add loading route support to admin flags 2014-11-11 15:48:13 -05:00
Robin Ward
dc4da6b013 UX: Don't delay spinner on topic lists or clicking home 2014-11-11 14:58:00 -05:00
Robin Ward
2431ca5e25 Whitelist more loading routes, remove unneeded user loading route. 2014-11-11 14:37:53 -05:00
Robin Ward
4d4734ef2f Refactored loading routes for users/badges 2014-11-11 14:17:19 -05:00
Robin Ward
af71326a9c FIX: Missing styling for embedded reply 2014-11-11 11:17:39 -05:00
Régis Hanol
a566657d7a Merge pull request #2960 from awesomerobot/master
simplifying the spinner due to IE/Win Chrome issues
2014-11-11 15:50:41 +01:00
Kris Aubuchon
6ca555eee0 simplifying the spinner due to IE/Win Chrome issues 2014-11-11 09:22:14 -05:00
Régis Hanol
58f46642dd FIX: don't put the footer insider container in topic page 2014-11-11 12:05:50 +01:00
Régis Hanol
a1f56183ca FIX: don't put the footer inside a container (allow for full width footers) 2014-11-11 11:37:59 +01:00
Sam
4e85fc9dae PERF: cache all site_text in memory 2014-11-11 16:28:59 +11:00
Sam
b2af49251d PERF: remove superflous queries from initial page loads
stop doing expensive work to figure out discourse style sheet
2014-11-11 15:32:44 +11:00
Sam
1a775aa784 Merge pull request #2784 from chancancode/upgrade-to-rails-master-4-2
[WIP] Upgrade to rails master/4.2
2014-11-11 09:46:02 +11:00
Régis Hanol
988835a9a3 FEATURE: users can see the raw email source of their own posts 2014-11-10 22:00:17 +01:00
Régis Hanol
ec76be964e UX: better footer handling 2014-11-10 21:51:55 +01:00
Robin Ward
f414020be8 FIX: New topics were not showing in suggested 2014-11-10 15:20:01 -05:00
Robin Ward
a6b1be81b1 Upgrade to Ember 1.7.1 + group patch 2014-11-10 14:49:02 -05:00
Robin Ward
c32df362d4 Add loading template for routes that return promises 2014-11-10 13:07:49 -05:00
Robin Ward
e1d26736b2 FIX: Missing tab delegation 2014-11-10 12:04:16 -05:00
Robin Ward
9f127d8183 UX: Focus on the user card when it's rendered 2014-11-10 11:31:28 -05:00
Robin Ward
bfa5835025 Merge pull request #2957 from techAPJ/patch-1
add user title in exported csv
2014-11-10 10:11:24 -05:00
Sam
6a42588007 remove X from search in ie 2014-11-10 21:31:15 +11:00
Sam
d77f218122 Don't try to publish messages on broken posts 2014-11-10 21:24:54 +11:00
Godfrey Chan
5d7aca3cc6 Use *_url instead of *_path to avoid a deprecation warning 2014-11-10 01:05:47 -08:00
Godfrey Chan
7351917ee4 Boolean -> String quoting has changed on Rails master
CustomField.create(name: 'zomg', value: true).reload.value # => 't' on Rails 4.1, '1' on 4.2

rails/rails@42be84ba
2014-11-10 01:05:46 -08:00
Jeff Atwood
a90176550c let's try no table border on email digests 2014-11-10 00:54:59 -08:00
Kris Aubuchon
00bb72f52d fixing very bizaare Safari 8.0 bug on title input 2014-11-09 19:26:22 -05:00
Arpit Jalan
0ea1ad4785 add user title in exported csv 2014-11-08 20:07:22 +05:30
Robin Ward
0777efe74d FIX: 1000 was a crazy threshold for showing categories at the bottom of
digests
2014-11-07 17:16:52 -05:00
Robin Ward
bfe2021859 UX: In digest email lists of topics, show striped version of category
badge
2014-11-07 17:00:09 -05:00
Robin Ward
8199c3b440 Don't add the g flag 2014-11-07 12:09:45 -05:00
Robin Ward
0044a99000 Don't raise an error for global regexps; warn the plugin author instead. 2014-11-07 12:04:44 -05:00
Robin Ward
564e7a988c Merge pull request #2848 from riking/whitelist-api
Improve Markdown.whiteListTag, code dialect
2014-11-07 11:33:37 -05:00
Robin Ward
d6ff1630a8 Merge pull request #2898 from kellec/remove_focus_link_href
Remove href attribute from tab link to prevent duplicate event on enter.
2014-11-07 11:01:06 -05:00
Robin Ward
6f7cf8599f Merge pull request #2949 from fantasticfears/master
css tweak - expanding some room for zh_CN
2014-11-07 10:55:55 -05:00
riking
d7a4e39e1d FEATURE: ?include_raw parameter for /t/id/posts.json
include_raw is not added for the wordpress view because it uses the
BasicPostSerializer, and is not a one-line change.

This is the only use of the TopicViewPostsSerializer class, and the
previous change covered the only use of the TopicViewSerializer class.
No other locations include the PostStreamSerializerMixin. Therefore,
this feature is most likely complete.
2014-11-07 07:28:07 -08:00
Jeff Atwood
9f6a0cb126 minor style tweaks to file upload modal 2014-11-06 14:17:52 -08:00
Régis Hanol
684eb4045b Merge pull request #2950 from awesomerobot/master
some cleanup for new usercards on dark themes
2014-11-06 18:10:26 +01:00
Kris Aubuchon
5c84c74a69 some cleanup for new usercards on dark themes 2014-11-06 11:33:30 -05:00