Commit graph

4528 commits

Author SHA1 Message Date
Régis Hanol
a7a3b199ef FIX: popups stopped appearing 2015-03-19 13:42:13 +01:00
Régis Hanol
df3b1f6968 FIX: editing a post wasn't showing error messages from the server 2015-03-19 12:25:15 +01:00
Régis Hanol
b31c05704a UX: fix [Object object] on admin/groups buttons 2015-03-18 22:46:24 +01:00
Robin Ward
3d2d224312 FEATURE: User Directory, with sorting and time period filter 2015-03-18 15:20:34 -04:00
Régis Hanol
9cbd0f8e78 UX: separate custom from automatic groups in user admin
REFACTOR: some moar ES6 refactoring
2015-03-17 22:59:05 +01:00
Régis Hanol
aa41a9ce70 FIX: remove empty lines but keep whitespace on first line in code blocks 2015-03-17 17:27:16 +01:00
Neil Lalonde
8fcbea0c2c FIX: don't show delete all posts button in admin when there are no posts 2015-03-17 11:18:39 -04:00
Régis Hanol
6be645e1ca FEATURE: ask confirmation when clearing more than 1 bookmark 2015-03-16 22:06:11 +01:00
Régis Hanol
10ef30ab3c FIX: better handling of the 'read guidelines' badge 2015-03-16 19:25:28 +01:00
Régis Hanol
4ff1e19712 FIX: emoji aliases were not recognised 2015-03-16 18:28:11 +01:00
Régis Hanol
83a2a832b1 FIX: hide draft status when uploading an image 2015-03-16 17:06:23 +01:00
Régis Hanol
b0abe3a9d6 FIX: change button to 'remove feature' when a topic is already featured 2015-03-16 12:18:30 +01:00
Régis Hanol
3a40875e0b Merge pull request #3247 from jmay/group-manager-invites
group manager can issue invitations from restricted topics
2015-03-16 09:53:04 +01:00
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
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
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
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
Neil Lalonde
be446b7e50 use d-buttons, and other small tweaks 2015-03-10 13:06:24 -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
Sam
1fdf9038db FIX: clicking on username was causing page to scroll all the way up 2015-03-10 16:33:14 +11:00
Robin Ward
49978d02c2 FIX: category-group didn't work with subdirectories 2015-03-09 16:09:26 -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
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
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
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
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
Sam
bf8fd0815f FIX: stop hiding suggested topics when new posts show up 2015-03-05 17:35:43 +11:00
Sam
360ab3510d oops 2015-03-05 15:36:08 +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
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
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
Régis Hanol
1b2381d5a0 FIX: only remove custom CSS in admin on first load 2015-03-02 23:31:04 +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
Régis Hanol
64d0d12632 FEATURE: subtle in & out animations for user cards 2015-03-02 18:12:25 +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
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
Sam
f555bbb416 FEATURE: long descriptions for badges to help teach people 2015-02-27 17:19:18 +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
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
Neil Lalonde
cf81b3f86d FEATURE: don't allow username and password to be the same 2015-02-25 12:00:13 -05:00
Régis Hanol
8c5d8715cd FIX: staff action logs not logging all changes 2015-02-25 17:18:22 +01:00
Arpit Jalan
337a59ec14 UX: move Custom fields up in user preferences 2015-02-25 16:43:26 +05:30
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
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
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
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
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
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
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
Sam
bd61cdf21c FIX: when allow uncategorized was off we were still showing uncat for admins/mods 2015-02-20 17:40:59 +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
Jeff Atwood
bf03209f42 let's try to vertically align small logo 2015-02-18 23:55:04 -08: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
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
Robin Ward
2a4b30346c FIX: Category images were not using the CDN 2015-02-18 12:30:41 -05:00
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
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
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
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
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
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
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
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
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
riking
7e79daf9af SECURITY: missed html escaping 2015-02-09 14:34:05 -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
Régis Hanol
b809e02c6c FIX: clicking an attachment link works only once 2015-02-09 17:49:59 +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
riking
8812f95839 FIX: Ember regression in read-only banner 2015-02-08 12:42:19 -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
Robin Ward
a65e0a80ba Add support for more ES6 features 2015-02-06 13:26:33 -05:00
Jacob Chapel
e57be55979 FIX: Remove g and m flags from autolink regex 2015-02-06 00:41:38 -08: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
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
riking
193bf62dee FIX: 'all' filter never de-highlighting 2015-02-05 15:02:11 -08:00
Robin Ward
a852f6c56f Add Discourse-Track-View header to XHR when transitioning 2015-02-05 16:07:51 -05:00
Robin Ward
4e64d16a47 FEATURE: Allow plugins to log staff actions 2015-02-05 15:26:34 -05:00
Robin Ward
68c2eb9a5b Remove deprecated Discourse.ajax methods. 2015-02-05 11:07:15 -05:00
Robin Ward
c3874b6ec9 Remove deprecated error callback to Discourse.ajax 2015-02-05 10:44:33 -05:00
Régis Hanol
48de485f72 Merge pull request #3170 from riking/show_mentions
FEATURE: Mentions stream on user profile
2015-02-05 12:47:22 +01:00
riking
2154f5478a FEATURE: Mentions stream on user profile 2015-02-04 22:03:44 -08:00
Sam
08b790b3c2 improve metrics gathered using in our traffic section
this also pulls out the middleware into its own home and inserts in front
2015-02-05 16:08:52 +11:00
Sam
c9adfa65a0 FEATURE: dashboard stats for application traffic 2015-02-05 11:18:21 +11:00
Robin Ward
25daca8f23 Helpers for plugins to support enabling/disabling 2015-02-04 16:23:56 -05:00
Régis Hanol
8a5a229c3f FIX: category backgrounds were broken 2015-02-04 16:38:42 +01:00
Sam
3fc930526c fix typo 2015-02-04 18:25:37 +11:00
Sam
67eccee990 FEATURE: basic disk space usage stats 2015-02-04 18:05:17 +11:00
Neil Lalonde
8689c85b54 add error handling when granting admin and moderator privileges 2015-02-03 17:42:08 -05:00
Arpit Jalan
a092944582 FIX: URL encoding was not working for %23 in links 2015-02-03 22:06:49 +05:30
Jeff Atwood
c1ddda3e8f try removing "loading topic..." vs spinner 2015-02-02 23:10:07 -08:00
Sam
85d9b2d227 regression, missing local storage would cause script to break 2015-02-03 13:17:03 +11:00
Sam
5ddec2e76d revert lodash upgrade, it is causing severe breakages elsewhere 2015-02-03 11:51:34 +11:00
Régis Hanol
03f7a12b52 UX: use 🌟 icon for recently used emoji tab 2015-02-02 22:28:58 +01:00
Régis Hanol
69f95df297 FEATURE: recently used emoji tab
⬆️ update lodash to V.3.0.1
2015-02-02 21:54:15 +01:00
Régis Hanol
0a252d7785 FIX: quote whote post should insert at cursor position 2015-02-02 19:08:28 +01:00
Neil Lalonde
b56999e984 show last 30 days on about page 2015-02-02 12:27:49 -05:00
Arpit Jalan
88306cc112 FIX: uncategorized category was not loading updates in edit mode 2015-02-02 21:50:29 +05:30
Sam
8304c306a4 Merge pull request #3158 from techAPJ/patch-2
FIX: Not allow TL4 user to set staff color
2015-02-02 16:27:39 +11:00
Arpit Jalan
a29970275a FIX: Not allow TL4 user to set staff color 2015-02-02 10:38:42 +05:30
Sam
05a56b25a9 FIX: setting custom avatar would not work a lot of the time
Due to internal structure we were often caching "redirect" images.
2015-01-31 23:42:50 +11:00
Sam
f4609fd6ae selection refactor caused wrench to show up in topic list for non-admins 2015-01-31 17:16:08 +11:00
Sam
8b95511816 correct bad styling in user->pref->categories 2015-01-31 17:04:53 +11:00
Arpit Jalan
3e7cc18276 FIX: Toggling staff color on a post doesn’t get applied 2015-02-02 01:11:35 +05:30
Robin Ward
d7b7ec9e0a FIX: Wiki editing was broken due to extra topic update 2015-01-30 18:02:11 -05:00
Robin Ward
f923d7e205 Support appending routes within the admin section by plugins 2015-01-30 18:02:11 -05:00
Neil Lalonde
750b27f973 FEATURE: show number of active users in the last 7 days on about page 2015-01-30 17:23:52 -05:00
lidlanca
b4f1ffd4ea Fix: Resize event handler does not get cleared from window object,by wrong usage of jQuery api.
An handler get added each time a topic is loaded to the window object

jQuery resize api only pass data to the handler when triggered.
```.resize( [eventData ], handler ) ```

The unbind followed in willDestroyElement had no affect. 

.on(...) or bind(..) support the event.namespace

fix was not tested.
2015-01-30 01:57:44 -05:00
Sam
784697bf12 added todo 2015-01-30 15:11:46 +11:00
Sam
1b1ea8e718 FEATURE: 'b' as a keyboard shortcut for bookmarking a topic 2015-01-30 15:11:24 +11:00
Sam
8b7afd644f regression, too many "new" badges on the "new" tab 2015-01-30 12:47:45 +11:00
Sam
b1f81c0dca Merge pull request #3080 from riking/misc
Miscellaneous fixes from PR#3000
2015-01-30 10:23:17 +11:00
Neil Lalonde
67b262b93e Merge branch 'master' of github.com:discourse/discourse 2015-01-29 17:39:52 -05:00
Neil Lalonde
644c7a4675 FEATURE: Add an option to show custom user fields on profiles. Default is to not show them. 2015-01-29 17:38:39 -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
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
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
14dc22f288 FIX: use CDN for user card/profile background and user avatars 2015-01-29 20:15:17 +01: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
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
James Kiesel
3b2dcf12b5 Rerender actions on like/dislike 2015-01-29 23:27:05 +13:00
Sam
a591c019d4 correct tests 2015-01-29 17:57:34 +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
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
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
Régis Hanol
b003c2b4f3 let's try category class again 2015-01-27 23:44:47 +01:00
Arpit Jalan
5128aa1052 Minor code optimization 2015-01-27 22:51:57 +05:30
Arpit Jalan
12c82bed59 Disable digest emails site setting 2015-01-27 22:41:36 +05:30
Sam
d52b0a2458 temporarily disable category class on body while debugging issue with missing docking header 2015-01-27 13:43:40 +11: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
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
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
Régis Hanol
f7f5e39f75 FIX: Minor Admin bug with a setting when creating a new group 2015-01-23 20:31:48 +01:00
Régis Hanol
e6f849f873 FIX: make sure pasting an image in the composer is considered as an image instead of an attachment 2015-01-23 19:17:33 +01:00
Régis Hanol
256519dddf FEATURE: automatic group membership based on email address 2015-01-23 18:25:43 +01:00
Robin Ward
2ea4c1c9de FIX: Groups post page was broken.
Also added integration tests so we don't miss this breaking in the
future.
2015-01-23 11:13:27 -05:00
Robin Ward
848d60d459 FIX: Posts weren't highlighting on initial load 2015-01-23 10:46:44 -05:00
Robin Ward
7741e4dc02 Change the admin-menu outlet to use a tagName of li 2015-01-21 16:21:27 -05:00
Robin Ward
9e82c41576 Merge pull request #3119 from techAPJ/patch-3
FIX: user name and title were not showing on post creation
2015-01-21 16:04:00 -05:00
Arpit Jalan
62c1291548 FIX: user name and title were not showing on post creation 2015-01-22 02:28:04 +05:30
Régis Hanol
141f697482 remove unused route 2015-01-21 20:54:07 +01:00
Régis Hanol
e300945879 FEATURE: split group admin in 2 tabs (custom & automatic)
FIX: clear the user-selector when adding new members
2015-01-21 20:52:48 +01:00
Robin Ward
03eb4752d1 Add categories-list css class to body for customization purposes 2015-01-21 14:34:01 -05:00
Robin Ward
48c7e20d80 DRY up the displaying of topic categories. Should not be duplicated. 2015-01-21 12:20:39 -05:00
Robin Ward
df8880a71a FIX: (for IE9) if console.log doesn't exist, make it an noop. 2015-01-21 11:53:41 -05:00
Robin Ward
649dfd8d23 Revert "Convert html.js to ES6 module format"
This reverts commit 60523d8e02.
2015-01-20 16:13:42 -05:00
Robin Ward
60523d8e02 Convert html.js to ES6 module format 2015-01-20 16:07:29 -05:00
Robin Ward
350554e198 UX: Change category badge style to use stripes 2015-01-20 14:56:06 -05:00
Neil Lalonde
7412ff4da7 FIX: suspended users are logged out when they are suspended. Show a reason for suspension when they try to log in. 2015-01-19 12:37:02 -05:00
Jeff Atwood
90ff92e008 don't show self-bookmark avatar in user stream 2015-01-19 01:08:39 -08:00
Jeff Atwood
3d0e59942c IE9 doesn't support console.log 2015-01-19 00:33:51 -08:00
Robin Ward
37d73ec488 Support customizing the composer below the textarea 2015-01-16 12:52:40 -05:00
Jeff Atwood
24b282e5e9 clicking expanded post date also jumps to post 2015-01-16 03:06:19 -08:00
Jeff Atwood
d890248963 normalize post expansion arrow on right 2015-01-16 01:56:36 -08:00
Jeff Atwood
992ad7991b UX: change private category to lock glyph 2015-01-15 14:07:21 -08:00
Robin Ward
e4e239c159 Add some safety when rendering a dropdown button to make sure it has
content.
2015-01-15 15:43:37 -05:00
Robin Ward
9c977a08cd FIX: 🐛 supress the category badge even when refreshing 2015-01-15 14:59:51 -05:00
Régis Hanol
20d2908c50 FEATURE: add a global notice whenever emails are disabled (disable_emails site setting) 2015-01-15 19:32:19 +01:00
Robin Ward
6c4c542ae3 FIX: Triggering a refresh while subcategory lists was broken.
It would then list all categories isntead of the subcategory you were
viewing at that time.
2015-01-15 13:01:35 -05:00
Régis Hanol
b4e5937850 FIX: 🐛 ensure emoji are case insensitive 2015-01-15 19:00:55 +01:00
Régis Hanol
beea92a74b FIX: 🐛 show email button wasn't working on user's profile page 2015-01-15 17:58:50 +01:00
Robin Ward
a28784c8f7 Add a {{plugin-outlet}} for the admin-menu 2015-01-14 16:05:29 -05:00
Robin Ward
f8d3764d5e Convert many buttons to d-button 2015-01-14 15:50:20 -05:00
Robin Ward
e7443247dd Adds plugin-outlet for topic menu buttons. Also a d-button component. 2015-01-14 15:50:20 -05:00
Robin Ward
28f702a5b6 Refactor app events to more efficiently handle post highlighting 2015-01-14 15:50:19 -05:00
Robin Ward
78d5d22776 FIX: Posts weren't highlighting when jumping using the progress widget 2015-01-14 15:50:19 -05:00
Kane York
31c8b5763f Set Turkish pluralization rules
Turkish does not have different forms for singulars next to numerals
https://meta.discourse.org/t/turkish-translation-missing-many-singular-strings/23334/
2015-01-14 10:39:31 -08:00
Régis Hanol
6734a51b6a move SiteText.{head,top,bottom} to SiteCustomization 2015-01-14 12:15:53 +01:00
Robin Ward
8b87d8ac2d Refactor sharing dialog for extensibility 2015-01-13 17:26:05 -05:00
Robin Ward
0de6226a20 FIX: Remove Bookmark was broken on bookmarks page
This was particularaly bad now that we removed stars :)
2015-01-13 13:14:58 -05:00
Robin Ward
f3b72f5d96 Revert "move SiteText.{head,bottom} to SiteCustomization and remove redundant SiteText.top"
This reverts commit 6ee2849df6.
2015-01-12 20:21:22 -05:00
Robin Ward
1e6dea46dd FIX: Jump to post was not respecting gaps 2015-01-12 18:10:30 -05:00
Arpit Jalan
bbb23bb736 FIX: users tab in admin panel doesn’t stay highlighted 2015-01-13 02:04:59 +05:30
Robin Ward
dba57a4a25 Add title to user header. Refactor statusIcon a bit. 2015-01-12 14:45:43 -05:00
Régis Hanol
6ee2849df6 move SiteText.{head,bottom} to SiteCustomization and remove redundant SiteText.top 2015-01-12 19:59:43 +01:00
Régis Hanol
03b053c800 FIX: bookmark button is now solid black by default & blue when bookmarked 2015-01-12 17:48:54 +01:00
Régis Hanol
f0f1afff03 FIX: forgot i18n associated with bookmark button (:fired:) 2015-01-12 16:05:17 +01:00
Régis Hanol
c681b353f2 FEATURE: bookmark topic button 2015-01-12 12:10:15 +01:00
Jeff Atwood
76c750be68 get rid of .bottom-round css class used once 2015-01-11 23:39:48 -08:00
Robin Ward
38e4defaee Support adding items to the site map via plugin outlet. 2015-01-09 16:15:16 -05:00
Sam
1358ed2aad FEATURE: show bookmarked topics in topic list 2015-01-09 11:41:10 +11:00
Robin Ward
7124456ae4 Merge pull request #3083 from cpradio/pr-add-class-to-gutter-links
UX: Add class to gutter links so you can infer if they are inbound or outbound using CSS
2015-01-08 17:35:25 -05:00
cpradio
fdfde22d0b UX: Add class to gutter links so you can infer if they are inbound or outbound using CSS 2015-01-08 17:20:50 -05:00
Sam
69cfab62b8 PERF: don't bind all these things
TODO - cleaner pattern and helper for this
2015-01-08 14:50:20 +11:00
Sam
3347a48275 FEATURE: add liked and bookmarked classes to topic list item rows 2015-01-08 14:35:56 +11:00
Robin Ward
c02a31d8b4 Raw templates should resolve their views with the resolver 2015-01-07 14:21:31 -05:00
Régis Hanol
8627a1e507 FIX: making sure {{fa-icon}} don't break when we'll update to latest ember 2015-01-07 18:14:31 +01:00
Régis Hanol
65f0339146 FIX: un-delete topic wasn't working 2015-01-07 10:53:12 +01:00
Régis Hanol
66882155f0 FIX: emoji toolbar wasn't showing up after a page reload 2015-01-07 10:46:43 +01:00
Régis Hanol
6512e403ae FIX: each helper in raw templates 2015-01-07 09:30:32 +01:00
Sam
6785675150 clean up support for filter=liked and filter=bookmarked 2015-01-07 18:50:28 +11:00
Sam
984f8f0c27 FEATURE: show bookmarked topics when doing filter=bookmarked 2015-01-07 18:20:41 +11:00
Sam
da3da6feee each ... in ... support for ember compat handlebars 2015-01-07 18:18:26 +11:00
Sam
efc717c14a FEATURE: remove star concept from Discourse 2015-01-07 13:43:27 +11:00
Neil Lalonde
880dcbb365 Merge branch 'master' of github.com:discourse/discourse 2015-01-06 17:28:58 -05:00
Neil Lalonde
58385248a6 Show contact_email on about page 2015-01-06 17:28:42 -05:00
Robin Ward
6d539c0afd You don't need to call buildRoutes anymore.
Just export a function in a module called `route-map` and discourse's
rotuer will do the rest. This makes it a lot easier to define routes in
plugins.
2015-01-06 17:00:25 -05:00
Robin Ward
5667478b4d A common, extensible interface for sending topic columns across the wire
This allows plugins to specify topic columns to serialize and save in
the database via the composer when creating topics and editing their
first posts.
2015-01-06 14:53:12 -05:00
Robin Ward
97b4dec96c Move the new composer-fields outlet into the proper div 2015-01-06 12:19:52 -05:00
Robin Ward
8ee0f4d1e7 Use javascript to resize the composer properly rather than using the
type of composer being used.
2015-01-06 12:05:11 -05:00
Jeff Atwood
9497258912 billions and billions of stars? I DONT THINK SO 2015-01-06 01:53:20 -08:00
Jeff Atwood
76b9aa22d6 f**k stars right in their little star-holes 2015-01-06 01:38:00 -08:00
Jeff Atwood
d1b0939e02 add contact info to /about 2015-01-05 22:42:13 -08:00
Sam
d036d461dc FEATURE: only expand globally pinned topics on front page 2015-01-06 07:44:52 +11:00
Robin Ward
c7d86f89e4 Add more plugin outlets for the topic header 2015-01-05 15:34:41 -05:00
Sam
e089f699c1 upgrade pg to version 0.18, may fix encoding issue 2015-01-06 06:16:22 +11:00
Régis Hanol
e20078a9dc PERF: fix performance issue when displaying the user card for admins 2015-01-05 19:49:32 +01:00
Régis Hanol
47c4179e29 make jshint happy ❤️ 2015-01-05 18:58:36 +01:00
Régis Hanol
060cda7772 FIX: proper handling of group memberships 2015-01-05 18:51:45 +01:00
Sam
fce74e64a1 correct missing new/unread badges 2015-01-05 19:31:29 +11:00
Sam
e97aa3f544 fix params that are send to category route 2015-01-05 18:34:06 +11:00
Sam
9c250444ff regression, navigating to category leaves phantom columns 2015-01-05 18:18:50 +11:00
Sam
0396fd66f6 FEATURE: sorting by op likes shows the op likes count 2015-01-05 17:39:49 +11:00
Sam
ea2f892f4b FEATURE: show likes column if sorting by likes 2015-01-05 17:09:17 +11:00
Sam
d0d2a15180 Support likes column via site extension 2015-01-05 17:03:48 +11:00
Sam
69771562d7 clean up rendering and correct issues with topic list to raw commit 2015-01-05 16:37:25 +11:00
Sam
fa9bbd554e PERF: unify topic lists, remove star from lists, move to raw rendering 2015-01-05 13:04:15 +11:00
Sam
29acbfb611 improve probing diag tool, add a clear button 2015-01-05 12:00:55 +11:00
Sam
9aba6ab265 Merge branch 'master' of github.com:discourse/discourse 2015-01-05 09:01:54 +11:00
Robin Ward
1e441522c0 Don't use a string buffer to refactor loading outlet 2015-01-02 16:35:56 -05:00
Robin Ward
030bab92a2 Small optimization: remove a template with an {{if}} 2015-01-02 16:29:08 -05:00
Robin Ward
5beac44731 If transmitting an empty array, mark it as such 2015-01-02 16:12:06 -05:00
Robin Ward
6f72f265cb A trigger when a topic is updated, adds a couple of custom field tests 2015-01-02 15:57:08 -05:00
Robin Ward
7182767349 Refactor topic title/category saving to support easier changing of
attributes via plugins.
2015-01-02 14:25:41 -05:00
Robin Ward
9523b26af2 Move emoji autocomplete into its own file, remove ceremony around
decorating the `ComposerView` for it since it's part of core now.
2015-01-02 11:57:48 -05:00
Robin Ward
701d896912 FIX: Link domains were not showing up in the topic map 2015-01-02 10:46:04 -05:00
Régis Hanol
9fcaf090ec Merge pull request #3068 from fantasticfears/category_slug
support setting category slug
2015-01-02 11:55:27 +01:00
Arpit Jalan
bfe95966b4 better filenames for export 2015-01-02 15:30:50 +05:30
Sam
faa583cd95 No need for heat mapped numbers in the topic info panel 2015-01-02 11:34:05 +11:00
Sam
049ae70f94 FEATURE: maximize button for customization css/html editor 2015-01-02 11:25:15 +11:00
Sam
9744802be9 FIX: category not hidden correctly 2015-01-02 09:54:54 +11:00
Robin Ward
3d42c2d515 Merge pull request #3070 from techAPJ/patch-3
FIX: rate limit user posts export
2014-12-31 11:37:11 -05:00
Sam
7ff96241a2 automatically register dom templates 2014-12-31 13:29:14 +11:00
Sam
f0ca6150d8 refactor topic list header to use a raw template 2014-12-31 12:32:43 +11:00
Sam
3f0a4b9e52 FEATURE: default string buffer will use a raw template 2014-12-31 12:31:45 +11:00
Sam
7707803201 helper should retain context 2014-12-31 12:30:48 +11:00
Sam
8524a9d94b FEATURE: raw helper has access to parent and options view object 2014-12-31 12:30:14 +11:00
Robin Ward
0e0d8e79df For plugin outlets, automatically assign the unique name as a class to
the connector.
2014-12-30 17:08:39 -05:00
Robin Ward
57b89a2c7f Plugin stuff:
* Allow plugins to work with only autoloaded assets.
* Give a plugin outlet a class name based on its name if no view class
* Give the `topic-title` outlet a default class of `clear: both`
2014-12-30 16:29:28 -05:00
Arpit Jalan
78537aad39 FIX: rate limit user posts export 2014-12-31 00:54:23 +05:30
Robin Ward
7b9768aa7f FIX: jsHint fail 2014-12-30 13:18:25 -05:00
Robin Ward
2681717a87 FIX: Keep topic list items on screen when using keyboard. 2014-12-30 12:50:58 -05:00