Commit Graph

4299 Commits

Author SHA1 Message Date
Neil Lalonde 55f293d062 FEATURE: add a route to show the password reset dialog: /password-reset 2015-03-23 15:14:50 -04:00
Robin Ward 5bf7f3f4b5 FIX: Leaky DOM with `combo-box` 2015-03-23 13:04:33 -04:00
Régis Hanol 3954f69514 FIX: hoisting issue with regexp replacement patterns 2015-03-23 16:33:41 +01:00
Sam 1601211617 Revert "FEATURE: allow end users to opt out of getting any private messages"
This reverts commit 229ecc4f8a.
2015-03-23 17:21:58 +11:00
Sam 229ecc4f8a FEATURE: allow end users to opt out of getting any private messages 2015-03-23 15:50:45 +11:00
Robin Ward c6afeb2259 Show the user card when clicking on users in the directory 2015-03-20 15:40:28 -04:00
Robin Ward 6d38005a22 Allow staff to change uneditable user fields 2015-03-20 15:18:43 -04:00
Robin Ward 4d26ef5e29 Add Title tag, rename to "Users" 2015-03-20 14:20:50 -04:00
Ben Hadley-Evans 229e1850ab Improve the italic and bold buttons on multiline selections.
This misuses the system that Pagedown has set up somewhat, but it has to in order to affect the content inside the selection. The end behaviour seems to me to be non-buggy and much more obvious to an end user.

Essentially, instead of performing the operation to surround characters on one line, it splits the selection into lines the loops the operation. But usually a single "chunk" is returned with some replacement text and markdown to insert before and after the text. Because we're replacing text inside the selections the before and after are left blank and the selection contains all the changed markdown.
2015-03-20 16:53:44 +00:00
Régis Hanol 18f4f60956 FIX: used 'pin' terminology instead of 'feature topic' 2015-03-20 11:43:05 +01:00
Robin Ward 640a92ce30 JSHint fix 2015-03-19 18:30:19 -04:00
Robin Ward 051a2a3d14 FEATURE: Can search the user directory by name 2015-03-19 18:07:48 -04:00
Robin Ward 9e13067be0 Replace `refreshModel` with a custom property 2015-03-19 18:07:47 -04:00
Robin Ward 326dff6068 UX: User directory tweaks.
Also includes Better refresh semantics for query params (avoids
transition)
2015-03-19 17:09:39 -04:00
Robin Ward 1931850151 UX: Always show the current user at the top of the directory 2015-03-19 15:32:23 -04:00
Régis Hanol 28c0f9dd1f FIX: only nag when pinning globally 2015-03-19 20:05:03 +01:00
Régis Hanol 11bf7da63c FIX: profile picture wasn't properly updating 2015-03-19 19:57:07 +01:00
Régis Hanol 5084e2bdf1 Merge pull request #3284 from techAPJ/patch-1
FEATURE: new site setting min_first_post_length
2015-03-19 19:55:27 +01:00
Robin Ward ae695d6438 UX: Show two lines per user on directory 2015-03-19 14:53:52 -04:00
Arpit Jalan b706307ac7 FEATURE: new site setting min_first_post_length 2015-03-20 00:20:38 +05:30
Robin Ward 7ef306cd3b A bunch of tweaks to the Users directory
- Move user directory from `/directory` to `/users/`
- Defaults to 'weekly' time period
- Don't include deleted topics/posts in the results
- Move heart icon to header instead of on each row
- "Users" instead of "Users found"
2015-03-19 12:29:38 -04:00
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