Commit graph

8106 commits

Author SHA1 Message Date
Régis Hanol
c5de75d25d Merge pull request #3122 from fantasticfears/share-link
FEATURE: unbind font awesome icon in share button
2015-03-16 09:51:20 +01:00
Erick Guan
ae62c1361e extends share links
- change `iconClass` to `faIcon`
- add `htmlIcon` to allow custom HTML
- add reddit, linkedin, tumblr
2015-03-16 16:44:50 +08:00
Régis Hanol
886e325c98 Merge pull request #3272 from riking/featured-css
FEATURE: Style 'Feature Topic' dialog
2015-03-16 09:44:46 +01:00
Sam
59a2f622c6 FIX: pause processing background messages while saving a post 2015-03-16 18:27:18 +11:00
Sam
8b4469a3f0 improve tests, ensure stream grows if all posts are loaded on commit 2015-03-16 17:40:49 +11:00
Sam
1d021d7019 commit post not working properly when stage post was not called
caused issues editing posts that were committed by the composer
2015-03-16 17:14:01 +11:00
riking
98c31f399a FEATURE: Style 'Feature Topic' dialog 2015-03-15 20:42:14 -07:00
Jeff Atwood
876d8a5174 de-emphasize categories on mobile a bit 2015-03-15 02:23:18 -07:00
Régis Hanol
399418e1ff FIX: modal backup wasn't working 2015-03-14 12:46:46 +01:00
Régis Hanol
4787e73954 FIX: toggle topic status was inverted 2015-03-14 02:45:33 +01:00
Régis Hanol
424a3b042a FEATURE: unified UI for pinning/banner topics
REFACTOR: ES6ified all the modals
2015-03-14 01:18:05 +01:00
Robin Ward
77f9d1e223 Use pretender's passthrough for dynamically loaded scripts 2015-03-13 12:14:22 -04:00
Sam
f359cdeddc remove hacky protocol code, not needed 2015-03-13 20:50:38 +11:00
Sam
4301ce6613 another try at a fix 2015-03-13 20:05:24 +11:00
Sam
a09d471514 Correct CDN url creation for "//" rooted CDNs 2015-03-13 19:31:33 +11:00
Sam
08abb85682 oops 2015-03-13 18:50:34 +11:00
Sam
f6d56fef9e correct behavior 2015-03-13 18:33:47 +11:00
Sam
20ab1f97e4 REGRESSION: not caching async scripts, remove cache buster 2015-03-13 16:55:27 +11:00
Sam
a82530012a FEATURE: Allow selection of highlight js languages
PERF: stop loading highlight js on load

To get latest highlight js run bin/rake highlightjs:update
2015-03-13 16:18:59 +11:00
Robin Ward
893c1aa067 FIX: Quoting an avatar when default_avatars was set was broken. 2015-03-12 15:51:28 -04:00
Robin Ward
091af27a31 FIX: Reply as new topic should select the correct category 2015-03-12 14:41:58 -04:00
Robin Ward
3ecb58980f FIX: Allow loadScript to use script tags if the JS library require it. 2015-03-12 13:09:17 -04:00
Robin Ward
69851bc6cf Deprecates global use of Discourse.MessageBus
We can use DI for this, which makes it easier for plugins to subscribe
to the message bus.
2015-03-12 12:27:30 -04:00
Régis Hanol
9061c26e52 FIX: code block hoisting bug 2015-03-12 11:17:00 +01:00
Sam
c14d17b5f3 FIX: do not include jquery.widget twice 2015-03-12 13:35:51 +11:00
Sam
c51dc9af54 update ace editor to latest, fix regression where syntax highlighting was missing 2015-03-12 12:20:50 +11:00
Sam
b1c18367e4 REGRESSION: not navigating to topic when replying (and not on topic) 2015-03-12 11:26:25 +11:00
Sam
fb41816003 smarter clear cache to help tests 2015-03-12 10:47:32 +11:00
Robin Ward
7c9fb5d3fc Refactored SiteMap/Header to support more dynamic flag counts
Also fixes deprecation in `plugin-outlet`
2015-03-11 16:12:53 -04:00
Neil Lalonde
dece5a351a more fixes for post ownership change and user deletion 2015-03-11 15:54:20 -04:00
Régis Hanol
afd2417945 FEATURE: new 'auto_respond_to_flag_actions' site setting 2015-03-11 19:29:09 +01:00
Régis Hanol
c8631a7a8b FIX: auto-message shouldn't generate notifications 2015-03-11 19:07:17 +01:00
Régis Hanol
6cd4330335 FIX: show all deleted posts 2015-03-11 18:07:47 +01:00
Robin Ward
5f3176dfd4 Adds a deprecation for $LAB usage in case plugins use it
Previously it was just removed which broke MathJax.
2015-03-11 10:59:34 -04:00
Robin Ward
fb85d3c8a6 FIX: Edit category button was broken 2015-03-10 16:42:09 -04:00
Robin Ward
354b9ccf3b Allow users to choose "Every 3 days" as a digest frequency 2015-03-10 16:04:48 -04:00
Robin Ward
f50280a889 Split out bulk operations modal and Discourse.Route.showModal
This makes it easier to share bulk topic operations, for example
from a plugin's custom topic list.
2015-03-10 15:40:56 -04:00
Kris Aubuchon
111ac609ec fixing mis-alignment of categories in the dropdown 2015-03-10 13:33:38 -04:00
Neil Lalonde
be446b7e50 use d-buttons, and other small tweaks 2015-03-10 13:06:24 -04:00
Robin Ward
b5263b9b9b Merge pull request #3266 from techAPJ/patch-1
UX: show GitHub logo in front of URL for commit/PR/issue/gist
2015-03-10 12:27:00 -04:00
Neil Lalonde
608647d02f FEATURE: Anonymize User. A way to remove a user but keep their topics and posts. 2015-03-10 11:59:08 -04:00
Régis Hanol
a68512bebf Merge pull request #3265 from awesomerobot/master
a few small alignment fixes for bullet categories
2015-03-10 16:36:28 +01:00
Robin Ward
0db89d20ee FEATURE: email digest frequency of every 3 days 2015-03-10 11:21:15 -04:00
Kris Aubuchon
3d6c636aa8 a few small alignment fixes for bullet categories 2015-03-10 10:34:04 -04:00
Arpit Jalan
470d29086f UX: show GitHub logo in front of URL for commit/PR/issue/gist 2015-03-10 19:54:41 +05:30
Sam
f4a051c2c3 UX: remove visited styling from topic list 2015-03-10 21:30:46 +11:00
Sam
b62a72f82c Merge pull request #3264 from awesomerobot/master
bullet category fixes
2015-03-10 16:40:43 +11:00
Sam
1fdf9038db FIX: clicking on username was causing page to scroll all the way up 2015-03-10 16:33:14 +11:00
Kris Aubuchon
b89fa00f79 bullet category fixes 2015-03-09 23:47:30 -04:00
Robin Ward
6ea20018c5 FIX: site cusomizations didn't respect subdirectories 2015-03-09 16:38:25 -04:00
Robin Ward
49978d02c2 FIX: category-group didn't work with subdirectories 2015-03-09 16:09:26 -04:00
Robin Ward
3ad12d44f3 Use a mixin for the path function to DRY it up 2015-03-09 15:24:16 -04:00
Robin Ward
de4e4f2b98 Replace $LAB with path aware loadScript that uses jQuery 2015-03-09 14:39:39 -04:00
Robin Ward
fb726cfa0c Replace Discourse.script global with a module 2015-03-09 14:39:39 -04:00
Régis Hanol
fc962eb378 FEATURE: automatic daily roll-up for screened IP addresses 2015-03-09 18:55:17 +01:00
Régis Hanol
fb59653235 Merge pull request #3262 from awesomerobot/master
adding a new "bullet" category style
2015-03-09 17:50:29 +01:00
Régis Hanol
5ceb84421e UX: remove live character countdowns from the composer 2015-03-09 17:46:36 +01:00
Régis Hanol
9c59f77018 FIX: hand-crafted mention link creates invisible div 2015-03-09 17:33:12 +01:00
Kris Aubuchon
6c9eeb0792 adding a new "bullet" category style 2015-03-09 12:25:27 -04:00
Régis Hanol
70f00e31df FIX: pre-hoist code blocks & spans 2015-03-09 12:32:37 +01:00
Sam
5b1ee3fedf oops 2015-03-09 13:42:37 +11:00
Sam
da5446a438 FIX: Don't use discourse.conf in test 2015-03-09 13:14:29 +11:00
Sam
79a17d5c22 FIX: discourse.conf not parsing out comments correctly 2015-03-09 13:14:29 +11:00
Sam
f5af4768eb FEATURE: add clean support for running Discourse in a subfolder
To setup set DISCOURSE_RELATIVE_URL_ROOT to the folder you wish
2015-03-09 13:14:29 +11:00
Régis Hanol
9b9bd9c0a1 fix my git foo 2015-03-07 02:36:35 +01:00
Régis Hanol
12919f72fa Revert "Support for plugins to add bulk operations"
This reverts commit 7a508b201a.
2015-03-07 02:30:53 +01:00
Régis Hanol
f95c86ac72 FIX: hoist code blocks content before doing any kind of processing 2015-03-07 02:16:27 +01:00
Robin Ward
7a508b201a Support for plugins to add bulk operations 2015-03-06 15:58:37 -05:00
Neil Lalonde
ddbe1c017b FIX: reason for not being able to delete a staff user's posts was wrong in admin 2015-03-06 14:12:01 -05:00
Robin Ward
85797ccef9 Merge pull request #3257 from awesomerobot/master
re-rebuilding the category badge css
2015-03-06 13:54:51 -05:00
Kris Aubuchon
8932b9afcf rebuilding the category badge css 2015-03-06 13:51:16 -05:00
Robin Ward
7c25efc095 Move identity map into the store, shouldn't have been in the adapter 2015-03-06 13:23:38 -05:00
Robin Ward
ecb553af3f Add tests for our store 2015-03-06 12:37:24 -05:00
Sam
2a586d59e9 FEATURE: top topics all time
tweak top algorithm (we will continue next week)
2015-03-06 18:00:29 +11:00
Sam
de107a60c2 UX: navigate to staged posts faster right away
stop with the blue unread circle on new posts
2015-03-06 14:17:01 +11:00
Robin Ward
34294ca748 Add deleteRecord API to store to support deleting a tag 2015-03-05 17:13:32 -05:00
Robin Ward
e63a24a08a FIX: Back button was a bit odd with default admin users list 2015-03-05 16:14:27 -05:00
Robin Ward
aeb0fc7559 Support for models to update themselves. Needed for discourse-tagging 2015-03-05 12:45:13 -05:00
Neil Lalonde
ad64bfa361 Revert "rebuilding the category badge css" 2015-03-05 12:10:19 -05:00
Sam
bf8fd0815f FIX: stop hiding suggested topics when new posts show up 2015-03-05 17:35:43 +11:00
Jeff Atwood
36e02ed49b Merge pull request #3251 from awesomerobot/master
rebuilding the category badge css
2015-03-04 22:23:08 -08:00
riking
cab92f947c FEATURE: All preload data available under /site/
This will be essential for entirely local Discourse clients.
2015-03-04 20:49:03 -08:00
Sam
360ab3510d oops 2015-03-05 15:36:08 +11:00
Sam
09e470c98a FEATURE: start counting repeat topic views (default is one per 8 hours)
configurable with topic_view_duration_hours site setting
2015-03-05 15:25:05 +11:00
Sam
3e5420da35 correct comments 2015-03-05 15:09:31 +11:00
Sam
5ba5a9f3d6 UX: fix jerky UI when creating new posts
- do not scroll screen if post is already on screen
- do not hide/show suggested topics each time you post
- be less aggressive about setting scrollTop in LockOn
2015-03-05 15:01:17 +11:00
Sam
b015db647b BUGFIX: js error in composer 2015-03-05 14:57:31 +11:00
Kris Aubuchon
2ee201b67f rebuilding the category badge css 2015-03-04 22:15:21 -05:00
Robin Ward
c4fa75918b FIX: If a category of a topic changed, watching/tracking didn't kick in 2015-03-04 13:39:50 -05:00
Régis Hanol
93b43c5237 FIX: move the user-card out of the viewport when closed 2015-03-04 19:33:19 +01:00
Robin Ward
70931b78d9 Better support for external logins 2015-03-04 12:34:21 -05:00
Régis Hanol
809edd4da3 FIX: user-card tests 2015-03-04 13:02:36 +01:00
Sam
531511fe35 correct staging code so it works as expected even if preview is simply disabled 2015-03-04 17:08:29 +11:00
Sam
c5897972fd FIX: do not stage posts on mobile, we have no cooked 2015-03-04 15:13:20 +11:00
Robin Ward
9974a26c47 FEATURE: Can specify a list of default_avatars urls.
These new avatars will be used by new users until they upload their own
avatars. If left blank, letter avatars are used.
2015-03-03 16:19:29 -05:00
Robin Ward
84b84a9d7c Support for url_list site setting. 2015-03-03 16:19:29 -05:00
Jason W. May
0f36774246 group manager can invite members into the group from any restricted topic 2015-03-03 12:18:42 -08:00
Neil Lalonde
a5584f1978 FIX: trying to deleting post with nil topic was failing 2015-03-03 11:52:46 -05:00
Sam
f432b9f5b7 correct spec failure, only test code was affected 2015-03-03 10:21:01 +11:00
Régis Hanol
33df000bb7 more subtle scale up animation for user card 2015-03-03 00:02:16 +01:00
Régis Hanol
1b2381d5a0 FIX: only remove custom CSS in admin on first load 2015-03-02 23:31:04 +01:00
Jeff Atwood
7b57d6f8f0 try bold topic titles for mobile 2015-03-02 13:00:04 -08:00
Régis Hanol
833d4f5247 FIX: subtle fade in + scale up animation on user cards for Safari 2015-03-02 21:23:33 +01:00
riking
4cc22a55a0 Remove topic_auto_close at from PostSerializer
We should look at extracting some of the cruft from these repsonses.
2015-03-02 11:00:19 -08:00
Régis Hanol
05890436df FIX: title missing from revisions dialog 2015-03-02 18:29:59 +01:00
Neil Lalonde
7c14db44cc UX: improve message when admin login is blocked because of admin ip address whitelisting 2015-03-02 12:13:22 -05:00
Neil Lalonde
1bf4f34049 FIX: topic and post counts are not updated when ownership of a post is changed 2015-03-02 12:13:21 -05:00
Régis Hanol
64d0d12632 FEATURE: subtle in & out animations for user cards 2015-03-02 18:12:25 +01:00
Régis Hanol
2a7af5e718 FIX: words nested in <kbd> disappear when searched 2015-03-02 17:00:05 +01:00
Sam
96f240283b Merge pull request #3241 from techAPJ/patch-1
UX: show user name and title on about page
2015-03-02 21:14:51 +11:00
Arpit Jalan
98f28e1830 UX: show user name and title on about page 2015-03-02 15:18:44 +05:30
Sam
14feec8aac UX: rename posts -> replies (and change to be posts-1) 2015-03-02 15:59:23 +11:00
Sam
ec078ddad6 Merge pull request #3232 from riking/patch-i18n
FIX: Reenable console output for verbose localization
2015-03-02 10:20:16 +11:00
Robin Ward
b8ef93e0a1 FIX: Don't show similar topics with no results 2015-02-27 15:43:18 -05:00
Neil Lalonde
c04b214910 FEATURE: don't allow username and email to be the same 2015-02-27 13:47:43 -05:00
Robin Ward
17d07a8b9a Adds a new plugin_changed notification reason for plugins to use 2015-02-27 11:58:52 -05:00
Robin Ward
1ca43d3bb9 Store and Adapter support for finding by id, updating a simple record 2015-02-27 10:33:39 -05:00
Robin Ward
3d3b70f4bb Remove duplicated NotificationType globals 2015-02-27 10:33:39 -05:00
Robin Ward
be9feeb918 Replace CurrentUserMixin with an injected currentUser
This is a lot simpler and removes the need for stubbing singletons
in unit tests.
2015-02-27 10:33:39 -05:00
Robin Ward
1f716f5514 Convert Notification button to a component 2015-02-27 10:33:39 -05:00
Robin Ward
3c3e08147b Fix some weird indentation 2015-02-27 10:33:39 -05:00
Sam
f555bbb416 FEATURE: long descriptions for badges to help teach people 2015-02-27 17:19:18 +11:00
Sam
6a20d12772 don't fail serializing if title is missing 2015-02-27 13:22:52 +11:00
Sam
71d6266f98 REGRESSION: exceptions are handled natively by logster 2015-02-27 13:05:51 +11:00
Sam
0742f340f9 FEATURE: allow for a localized error when a regex fails in site settings
FEATURE: apply string validation to list site settings (so we get regex)
2015-02-27 11:45:56 +11:00
Sam
ea40dd08e6 correct tests 2015-02-27 09:41:08 +11:00
Kenny Meyer
a89e3d0d14 Fix CORS issue when avatar url is on S3 2015-02-26 18:34:37 -03:00
Régis Hanol
fc6e7f5667 some ES6 refactoring 2015-02-26 11:07:21 +01:00
Sam
9981257880 FIX: only add user to invited groups once 2015-02-26 14:05:44 +11:00
Robin Ward
3e2ba5b30b FIX: If an IP is blocked, don't allow people to login using it 2015-02-25 16:02:40 -05:00
Régis Hanol
1a070b16e4 FIX: use the 'post edit time limit' for topics too 2015-02-25 20:53:21 +01:00
Robin Ward
005b8bf7c3 FIX: When creating a SSO user via sync, do not user the IP address. 2015-02-25 14:41:23 -05:00
Neil Lalonde
cf81b3f86d FEATURE: don't allow username and password to be the same 2015-02-25 12:00:13 -05:00
Robin Ward
bcb0346595 FIX: Support text only logos when activating account. 2015-02-25 11:36:06 -05:00
Régis Hanol
cf00e73ed8 Merge pull request #3234 from fullfatthings/add_remove_group_members_by_id_or_name
Allow adding and removing members of groups by username or id
2015-02-25 17:30:25 +01:00
Régis Hanol
8c5d8715cd FIX: staff action logs not logging all changes 2015-02-25 17:18:22 +01:00
Robin Ward
3de5b1799e Merge pull request #3235 from techAPJ/patch-1
FEATURE: add canonical tag to category latest page
2015-02-25 11:04:19 -05:00
Arpit Jalan
a8b927da91 FEATURE: add canonical tag to category latest page 2015-02-25 20:46:45 +05:30
Dan Singerman
1c545d4c1e Allow adding and removing members of groups by username or id
As discussed here: https://meta.discourse.org/t/discourse-gem-group-add/25668/2.
2015-02-25 14:52:13 +00:00
Régis Hanol
d5828d3743 FIX: don't use 'convert' to optimize GIF + refactor 2015-02-25 15:08:33 +01:00
Arpit Jalan
337a59ec14 UX: move Custom fields up in user preferences 2015-02-25 16:43:26 +05:30
Sam
8248abf73c UX: clean up box category styling 2015-02-25 17:42:10 +11:00
Sam
b760d22460 PERF: avoid expensive order by random for suggested topics 2015-02-25 17:19:12 +11:00
Sam
fe578f9944 FEATURE: Allow manual assignment of related post to badge
PERF: clean up performance of user badges admin when large number of badges exist
2015-02-25 12:53:01 +11:00
riking
31d2098dc6 FIX: Reenable console output for verbose localization 2015-02-24 12:20:51 -08:00
Robin Ward
042031ecb0 Merge pull request #3231 from erpe/css_fixes
add line-height on page-not-found for h1
2015-02-24 14:38:19 -05:00
Robin Ward
3f729438ad ES6: Removed and renamed some admin views 2015-02-24 13:47:46 -05:00
Robin Ward
5a7ae8c63f Clicking on the date of a featured topic should show topic entrance 2015-02-24 12:56:06 -05:00
Rene Paulokat
74845948ca add line-height on page-not-found for h1 2015-02-24 17:28:32 +01:00
Régis Hanol
34af7f20af Merge pull request #3228 from riking/describe
FEATURE: Use `git describe` for dashboard version
2015-02-24 11:45:57 +01:00
Sam
e9c5e17fbe PERF: disable PM stats when explicitly omitting stats 2015-02-24 13:39:31 +11:00
Sam
130dbf7358 PERF: don't run stats query in user card 2015-02-24 13:31:23 +11:00
riking
f1b606bf08 FEATURE: Use git describe for dashboard version 2015-02-23 16:07:08 -08:00
Sigurður Guðbrandsson
96e6fd3449 Cleaned up the sso codefix, thanks @SamSaffron
@SamSaffron showed me a cleaner way to use the if statements in the sso redirect code.

Thanks sam ;)
2015-02-23 22:10:44 +00:00
Sigurður Guðbrandsson
334a357363 FIX: Forward to SSO login automatically
Forward to SSO login URL automatically if SSO is enabled and login is required.

Makes it simpler for users to log in automatically.
2015-02-23 21:20:36 +00:00
Robin Ward
ca5730018a FIX: SSO code should respect IP address filters 2015-02-23 16:01:46 -05:00
Robin Ward
d63aed69f7 Merge pull request #3226 from techAPJ/patch-3
FEATURE: new site setting contact_url
2015-02-23 13:28:44 -05:00
Robin Ward
8186d86f38 FIX: Enforce max length for custom user fields 2015-02-23 13:02:30 -05:00
Arpit Jalan
a25e3cca8e FEATURE: new site setting contact_url 2015-02-23 23:09:13 +05:30
Robin Ward
9264a7914f Removed a bunch of Discourse.Site globals 2015-02-23 12:36:04 -05:00
Robin Ward
e684d7689e FIX: If categories page is the default, don't add it to the title 2015-02-23 11:54:45 -05:00
Arpit Jalan
b04fae2e2c UX: show real name on the about page 2015-02-23 22:14:51 +05:30
Arpit Jalan
ddb8378ab0 UX: unified About / Privacy / ToS / FAQ topnav 2015-02-23 18:26:19 +05:30
Sam
5266ad4539 Merge pull request #3183 from riking/json-errors-2
Consolidate custom exception handling
2015-02-23 16:58:05 +11:00
Sam
47aa8f3f97 Merge pull request #3197 from riking/rate-limiter
FIX: Don't expire ratelimits at midnight server time
2015-02-23 16:52:25 +11:00
Sam
8370b26cba PERF: optimise pinned handling on home page
Old query used to scan the full topics table, on home page

Instead we now perform 2 queries, one for pinned and one for unpinned and merge
results in a 10x improvement on a 1 million topic DB
2015-02-23 16:51:21 +11:00
riking
ecb911285d Fix the render_json_error api 2015-02-22 21:28:50 -08:00
Sam
6960639c58 Merge pull request #3190 from riking/thrown_logging
Delete old ErrorLog, use Logster for 500 errors
2015-02-23 14:19:16 +11:00
Ed Gibbs
2dbfeb71a8 FIX: Don't escape test in topic excerpt for mobile.
Stopped escaping topic excerpt in the mobile handlebars template to
ensure things like quotes don't get escaped.
2015-02-22 16:57:30 -08:00
Régis Hanol
20c9a312c7 FIX: clicks counter on attachments wasn't always working 2015-02-22 20:47:18 +01:00
NomNuggetNom
44e8087e20 Fix misaligned dropdown categories 2015-02-21 22:02:08 -05:00
Régis Hanol
92e6446f0f FEATURE: new site setting 2015-02-21 18:37:37 +01:00
Régis Hanol
3bcaaf6960 also update changed attributes 2015-02-20 18:33:55 +01:00
Robin Ward
ef2cad76ef Merge pull request #3217 from techAPJ/patch-3
FIX: link insertion dialog should not modify the inserted links
2015-02-20 12:32:14 -05:00
Régis Hanol
cd423f4a43 use the view instead 2015-02-20 18:21:19 +01:00
Robin Ward
043e522f39 Wire up admin view properly 2015-02-20 12:18:42 -05:00
Régis Hanol
7e1651a36e FIX: disable custom stylesheets in /admin 2015-02-20 17:43:29 +01:00
Arpit Jalan
53b443c8e5 FIX: link insertion dialog should not modify the inserted links 2015-02-20 22:12:23 +05:30
Régis Hanol
82157418eb FIX: we only want to downsize emojis 2015-02-20 17:24:37 +01:00
Sam
bd61cdf21c FIX: when allow uncategorized was off we were still showing uncat for admins/mods 2015-02-20 17:40:59 +11:00
Sam
17927b2e8b FIX: don't use flash cause we are not redirecting
(we should probably change that though)
2015-02-20 10:28:58 +11:00
Robin Ward
f85f38a887 Update the header action to be ES6 2015-02-19 14:58:02 -05:00
Robin Ward
e503c3859a Allow plugins to change the header to show two rows
This allows the discourse-tagging plugin to correctly use two rows in
the header if it needs to display tags, or one row if there are no tags.
This works in tandem with the same logic for when there is a category
badge to display or not.
2015-02-19 14:56:45 -05:00
Régis Hanol
8fd69fd3cf FIX: group member pages only showing first 50 members alphabetically 2015-02-19 20:26:18 +01:00
Régis Hanol
e74b9ee5da FIX: should not count disagreed flags 2015-02-19 18:11:07 +01:00
Régis Hanol
e09e8e0b76 FIX: error when re-bookmarking a topic/post 2015-02-19 16:43:12 +01:00
Jeff Atwood
873f6b7487 tweak for text-only mobile site titles 2015-02-19 02:52:28 -08:00
Jeff Atwood
08e330bb71 a few mobile CSS tweaks 2015-02-19 00:13:15 -08:00
Jeff Atwood
bf03209f42 let's try to vertically align small logo 2015-02-18 23:55:04 -08:00
Jeff Atwood
da036e7de3 fix mobile user page alignment on larger devices 2015-02-18 23:05:28 -08:00
Sam
103d42a9d9 FIX: emoji cache could get corrupt
FEATURE: enforce 1 day expiry by default on discourse cache

remove family expiry concept as the implementation was fragile
2015-02-19 16:58:22 +11:00
riking
a7d6bc8d3c FEATURE: Use HTML badge description on individual display 2015-02-18 19:50:01 -08:00
Sam
1da5060bf8 FIX: HR in profile causing user badge to behave weirdly
makes no sense to have HR in card anyway so removing them
2015-02-19 14:07:35 +11:00
Sam
81733eb885 FIX: stop allowing nested SUP in topic bodies 2015-02-19 13:17:31 +11:00
Sam
67f404d281 FIX: remove notifications on deleted topics from the stream 2015-02-19 12:40:00 +11:00
Sam
59a28bf5c1 regression: bookmarked may be missing, do not fail 2015-02-19 11:42:01 +11:00
Sam
b041b3f67f FIX: bookmark topic was not working intuitively
- explicitly call out "clear bookmarks"
- correct keyboard shortcuts
- properly remove bookmarks when toggeling
2015-02-19 10:58:57 +11:00
Neil Lalonde
def034cd08 FEATURE: carry username or email from login form to the forgot password and signup forms 2015-02-18 15:01:05 -05:00
Jeff Atwood
7209f67898 Merge pull request #3212 from techAPJ/patch-1
UX: change user visits stat position
2015-02-18 11:45:08 -08:00
Arpit Jalan
c2ce45668c UX: change user visits stat position 2015-02-19 01:11:09 +05:30
Robin Ward
fed9943d90 Minor ES6 tweaks 2015-02-18 14:23:14 -05:00
Régis Hanol
0fca0e9758 FEATURE: 1 year anniversary badge 2015-02-18 19:30:07 +01:00
Robin Ward
2a4b30346c FIX: Category images were not using the CDN 2015-02-18 12:30:41 -05:00
Arpit Jalan
f3daae6dec Improve auto generated email reply error message 2015-02-18 18:58:51 +05:30
Régis Hanol
e9f161e2bc make jshint happy 2015-02-18 12:37:32 +01:00
Régis Hanol
206d3233c9 FEATURE: when PMing a user from the topic page, insert a link to the current post 2015-02-18 12:17:54 +01:00
Régis Hanol
3614038a5d Merge pull request #3210 from Flink/bugfix-regression-topics-controller
Fix regression on editing private messages
2015-02-18 10:29:22 +01:00
Sam
fff55e0ee3 FEATURE: allow users to specify if prepared statements are allowed
(they need to be disabled for pgpool based setups)
2015-02-18 11:16:53 +11:00
Loïc Guitaut
395654bf24 Fix regression on editing private messages
v1.2.0beta9 has introduced a regression in edit of a private topic
(first post). Previously a check for no change in TopicsController was
made but it has been changed without considering that the topic could
be private.

By simply forcing a conversion of `topic.category_id` to integer, the case
where its value is nil is handled correctly as it was previously.
2015-02-18 00:41:16 +01:00
Régis Hanol
59da28bda4 FIX: editing a PM should never change the category_id 2015-02-17 23:10:34 +01:00
Robin Ward
762e60c0a6 FIX: Back button was wonky at times 2015-02-17 16:21:30 -05:00
Robin Ward
2104c08fb7 FIX: About user count was off by 1 2015-02-17 15:32:06 -05:00
Arpit Jalan
6e5540c107 FIX: do not show name in email if name on posts are disabled 2015-02-18 01:39:41 +05:30
Régis Hanol
38cc1bf6c1 FIX: columns of uncategorized pinned topics shift when the topic gets unpinned 2015-02-17 18:20:19 +01:00
Arpit Jalan
daea3bb687 UX: add user invite link on admin interface 2015-02-17 13:47:59 +05:30
Sam
a7d08172c8 Merge pull request #3206 from edgibbs/sort_admin_user_badges_by_name
FIX: Default sort grantable badges by name
2015-02-17 12:18:15 +11:00
Sam
6c09b6739d BUG: minor, do not send access origin if not set 2015-02-17 09:58:43 +11:00
Régis Hanol
3cad4824d7 FEATURE: allow moderators to see flagged private messages 2015-02-16 13:03:04 +01:00
Régis Hanol
0b45054e2b FIX: couldn't uncategorize a topic 2015-02-16 10:31:36 +01:00
Ed Gibbs
c50205725f FIX: Default sort grantable badges by name
Currently has no default sort and was stated as a bug here:
  https://meta.discourse.org/t/badges-not-sorted-in-grant-badge-dropdown/23739
  (Post was recently deleted or made private?)
2015-02-15 17:37:11 -08:00
Jacob Chapel
8ee0cb7049 FIX: Use overage to keep usercard from going off browser 2015-02-15 17:14:32 -08:00
Arpit Jalan
64ffceb438 UX: add confirmation dialog for user archive export 2015-02-15 22:13:28 +05:30
Jeff Atwood
fc413df7e1 add link to backups from dashboard size 2015-02-13 17:21:29 -08:00
Kris Aubuchon
c8af2ec8a2 fixing cateogry alignment in docked header 2015-02-13 17:17:32 -05:00
Robin Ward
3ce2077aa8 Migrate unsubscribe keys to the database.
This should reduce a lot of the keys in redis.
2015-02-13 14:24:15 -05:00
Régis Hanol
86c7071559 remove all calls to the distributed mutex in emojis 2015-02-13 19:34:24 +01:00
Régis Hanol
324a3da723 remove distributed mutex for emojis (not working) 2015-02-13 19:26:26 +01:00
Robin Ward
96c19ed8b6 UX: Add a dash for the empty cell.
"Active Users" for "All Time" doesn't make sense.
2015-02-13 11:27:31 -05:00
Régis Hanol
2a3ceb84de FIX: category background in topic views 2015-02-13 15:52:56 +01:00
Kris Aubuchon
f6035411c9 box category alignment fix 2015-02-12 23:24:07 -05:00
Robin Ward
a519fd5bcf FIX: Highlighting was not being applied after some rendering.
Also includes a bunch of ES6 stuff.
2015-02-12 15:37:02 -05:00
Robin Ward
96697c7957 Let's remove the Singleton usage of SiteSettings from Sharing 2015-02-12 13:51:19 -05:00
Robin Ward
1eecd7418e FIX: Return sharing sources in the same order as the site setting 2015-02-12 13:03:32 -05:00
Robin Ward
6c65162b05 FIX: Title could temporarily revert to the site name 2015-02-12 12:28:54 -05:00
Régis Hanol
7b8c7ff3ef FIX: sub-categories with the same name had the same background image 2015-02-12 18:21:07 +01:00
Robin Ward
8ec4d07bf2 Minor refactoring to help with Tags RSS 2015-02-12 11:53:21 -05:00
Robin Ward
e207ca36ee Easier helper for filtering secured categories 2015-02-12 11:52:59 -05:00
Sam
a5f46c98c1 PERF: only load locale files we are using
We used to load up all translations in all languages
2015-02-12 12:08:14 +11:00
Neil Lalonde
fcae399481 fix my totally broken ApplicationRequest.stats method 2015-02-11 17:41:35 -05:00
Régis Hanol
db53e022cc FEATURE: prevent upload of more than 10 files at a time 2015-02-11 19:34:48 +01:00
Robin Ward
38fbdf65ef FIX: Sometimes postChangedRoute could be triggered when torn down 2015-02-11 12:57:22 -05:00
Robin Ward
282476fdf9 FIX: Hide "error logs" logs from staff. Refactor admin menu HTML. 2015-02-11 11:53:06 -05:00
riking
3c035dce7c FIX: Don't expire ratelimits at midnight server time 2015-02-10 22:45:46 -08:00
Sam
ca915e8ad7 correct issue under 2.0.0 2015-02-11 17:41:24 +11:00
Sam
9a59caf800 add regexp to reporting 2015-02-11 17:23:54 +11:00
Sam
e427d54191 FEATURE: show large objects in admin/memory_stats 2015-02-11 17:18:47 +11:00
Sam
577f7446b4 FIX: only load S3 stuff when we need it 2015-02-11 10:55:04 +11:00
Robin Ward
cf3582bedb FIX: JSHint wasn't validating ES6 files, this fixes a bunch of errors. 2015-02-10 17:21:16 -05:00
Neil Lalonde
d5712e43cf FIX: auto-close time can be a date like 2015-2-22 2015-02-10 17:10:20 -05:00
Robin Ward
c0856daf13 Merge pull request #3192 from riking/patch-xss
SECURITY: missed html escaping
2015-02-10 15:24:09 -05:00
Régis Hanol
c4e427cf73 FEATURE: filter screened IP addresses 2015-02-10 19:38:59 +01:00
Robin Ward
9b12e53d9c Merge pull request #3195 from techAPJ/patch-1
FIX: set base_url for usage_tips
2015-02-10 12:53:33 -05:00
Robin Ward
d8c616a68a Add a store so we can start using ES6 modules for models, finally. 2015-02-10 12:35:53 -05:00
Robin Ward
8d46de4819 Add a spec for the new plugins controller 2015-02-10 12:35:53 -05:00
Arpit Jalan
9d5baf12ff FIX: set base_url for usage_tips 2015-02-10 23:04:00 +05:30
Sam
39e828dee4 improve formatting 2015-02-10 15:59:08 +11:00
Sam
d5405eebde Add basic snapshot comparison for tracking memory leaks 2015-02-10 15:54:16 +11:00
Sam
1d99f5c9c0 FEATURE: add process stats to memory report 2015-02-10 12:34:01 +11:00
Sam
3aea00473b FEATURE: improve memory reporting of /admin/memory_stats 2015-02-10 11:48:30 +11:00
riking
83b51875bb Use html_escape method instead of gsub 2015-02-09 15:03:17 -08:00
riking
7e79daf9af SECURITY: missed html escaping 2015-02-09 14:34:05 -08:00
riking
68ccd2d664 FEATURE: All 500 errors now show up in Logster
Added Discourse.handle_request_exception()
2015-02-09 12:48:33 -08:00
riking
5657006aca Rename handle_exception to handle_job_exception 2015-02-09 12:47:46 -08:00
Robin Ward
62b1969c4b Merge pull request #3185 from techAPJ/patch-1
FIX: uncategorized is showing up in title tag on topics
2015-02-09 14:30:19 -05:00
Arpit Jalan
e87ff31d4c FIX: uncategorized is showing up in title tag on topics 2015-02-10 00:54:43 +05:30
riking
8d39480831 use symbols for error types (squash me) 2015-02-09 10:20:00 -08:00
Régis Hanol
1e6f886886 FIX: use distributed mutex to prevent errors when uploading emojis in batches 2015-02-09 18:54:57 +01:00
Régis Hanol
e9d5c5c0a8 Merge pull request #3187 from linc01n/fix_custom_mobile_top_footer
Fix customize HTML/CSS only show desktop code
2015-02-09 18:44:29 +01:00
Régis Hanol
b809e02c6c FIX: clicking an attachment link works only once 2015-02-09 17:49:59 +01:00
Lincoln Lee
02f3f8c1b3 Fix customize HTML/CSS only show desktop code
custom_top and custom_footer method in SiteCustomization is setting
:desktop as default argument for `target`

It output the desktop version of the custom_top, custom_footer even
user in mobile_view.

This fix is adding the missing target into method argument.
2015-02-10 00:48:42 +08:00
Régis Hanol
e0703dbbc7 FIX: broken gravatar link when using S3
Don't break the optimized image workflow when there was an issue downloading a copy of the original image
2015-02-09 17:00:58 +01:00
Régis Hanol
c9a007d5fb FIX: backup logs on Firefox
FIX: debounce backup logs in order to prevent Firefox crash
FIX: 'Invalid date' in backup logs in Firefox
2015-02-09 16:53:28 +01:00
Arpit Jalan
4c602f60c6 Add Telugu translation files 2015-02-09 20:46:31 +05:30
Sam
e8323fa534 FIX: removing a group from a user was not removing primary group 2015-02-09 16:03:09 +11:00
Sam
4a5d79ad89 Merge pull request #3184 from awesomerobot/master
fixing unread count alignment
2015-02-09 10:44:21 +11:00
Kris Aubuchon
0bc35a6360 fixing unread count alignment 2015-02-08 18:09:12 -05:00
riking
a16aa9fde8 HACK: Keep old behavior for topics#show 2015-02-08 13:56:56 -08:00
riking
8cf21f2363 FEATURE: Refactor error returns in application_controller 2015-02-08 13:40:38 -08:00
riking
8812f95839 FIX: Ember regression in read-only banner 2015-02-08 12:42:19 -08:00
Jeff Atwood
2f8e29bd04 Merge pull request #3180 from awesomerobot/master
fixing missing border on dropdown
2015-02-08 10:24:08 -08:00
Kris Aubuchon
29490209e7 fixing missing border on dropdown 2015-02-08 12:01:51 -05:00
Sam
32b40503d0 Merge pull request #3179 from awesomerobot/master
updating the composer category selector style
2015-02-08 16:46:22 +11:00
Kris Aubuchon
834378f996 updating the composer category selector style 2015-02-07 23:16:46 -05:00
Jeff Atwood
10403676d7 minor /categories CSS tweaks 2015-02-07 15:46:04 -08:00
Robin Ward
3cfa37b1e6 FIX: Support adminPlugins resource even if no plugins use it 2015-02-06 19:26:45 -05:00
Robin Ward
7dea65122e Support a url field in plugin metadata 2015-02-06 18:08:57 -05:00
Robin Ward
3d7b534564 FEATURE: New "Plugins" admin section with extensibility support 2015-02-06 17:33:24 -05:00
Neil Lalonde
96b15cbba6 FIX: dashboard report date range calculations include time zone, and application request data too 2015-02-06 17:20:11 -05:00
Robin Ward
a65e0a80ba Add support for more ES6 features 2015-02-06 13:26:33 -05:00
Régis Hanol
4db3caec7c Merge pull request #3175 from chapel/fix-autolink-regex
FIX: Remove g and m flags from autolink regex
2015-02-06 09:56:52 +01:00
Régis Hanol
8e2d84ee27 Merge pull request #3174 from riking/patch-poll
FIX: Allow closing polls in multi-locale sites
2015-02-06 09:44:44 +01:00
Jacob Chapel
e57be55979 FIX: Remove g and m flags from autolink regex 2015-02-06 00:41:38 -08:00
Sam
dea05e6041 Revert "UI: use tertiary color to generate topic progress bg"
This reverts commit 0e93bae310.
2015-02-06 18:31:10 +11:00
Sam
0e93bae310 UI: use tertiary color to generate topic progress bg 2015-02-06 17:56:45 +11:00
Sam
ab25ddcc3b we were forced to bind here 2015-02-06 16:46:28 +11:00
Sam
dd9c23eb5e we need access to badge category bg in drop down for extensibility 2015-02-06 16:20:55 +11:00
Sam
95f8b3ed4c FIX: status route should be served as text not html 2015-02-06 15:56:21 +11:00
riking
06f02ce9fc FIX: 🈂️ Allow closing polls in multi-locale sites 2015-02-05 19:55:03 -08:00
Sam
820ce8765e refactor traffic report
split traffic report in 2, page view vs raw traffic
hide raw traffic report by default
improve flushing logic for application reqs
2015-02-06 14:39:16 +11:00
Sam
1d3f4f6935 only send track view on get requests 2015-02-06 14:39:15 +11:00