Robin Ward
e2e3e7c0e0
Add ES6 support to more files
2015-08-13 10:49:08 -04:00
Robin Ward
b587bc580f
Add deprecation for Discourse.PageTracker
2015-08-11 14:07:08 -04:00
Robin Ward
b7e6eaa961
ES6ify some of the remaining files
2015-08-10 10:21:05 -04:00
Sam
2d53436d0a
correct intialization order
2015-08-10 18:15:35 +10:00
Sam
2052ceca95
FIX: stop screen from jittering when mobile has images
...
This fix makes sure we apply reasonable settings to all images while
they are loading, it stops mobile from dancing around on topics that
have images
We no longer use height: auto on mobile!
2015-08-10 13:19:01 +10:00
Sam
f456a4b1b4
FIX: missing posts queue link on first notification of queued post
2015-08-04 15:22:17 +10:00
Régis Hanol
fb65970530
FIX: footer should also be hidden when using back/forward buttons
2015-07-31 16:53:18 +02:00
Robin Ward
b81871b963
FIX: Don't re-write admin urls for users
2015-07-29 17:57:58 -04:00
Robin Ward
92918e3b2b
FIX: Different routing for clicking ember links versus not
2015-07-29 13:03:44 -04:00
Robin Ward
46b61627cd
FIX: Missing emoji button
2015-07-14 10:53:54 -04:00
Sam
f533276507
FIX: do not publish all categories when a category changes.
...
minor fixes to UI, still needs more work for live refresh of category listing
2015-07-10 12:09:43 +10:00
Robin Ward
db75774440
UX: Move likes into drop down instead of its own status line
2015-07-03 17:15:20 -04:00
Sam
374f951c65
fix live css changes on mobile
2015-06-22 14:35:11 +10:00
Régis Hanol
50e705a078
fix the build
2015-06-15 16:02:30 +02:00
Robin Ward
42f2cd83db
Run cleanDOM even when swapping out models
2015-06-02 21:13:11 -04:00
Régis Hanol
8d967d9065
FEATURE: move all uploads to a single endpoint + defer upload creation in a background thread
2015-05-20 16:45:48 +02:00
Robin Ward
5754bb3654
FIX: Load order of applyFlaggedProperties
2015-05-12 11:15:45 -04:00
Robin Ward
3830bb7d78
FIX: Flags weren't showing on the header
2015-05-11 11:20:46 -04:00
Robin Ward
0b65c88003
Upgrade Notifications to fix deprecations and use store
2015-05-11 11:20:45 -04:00
Robin Ward
c6d99bd141
Fixes routing in tests
2015-05-11 11:18:38 -04:00
Robin Ward
ed398e65e0
Fixes issues with composer
2015-05-11 11:18:38 -04:00
Robin Ward
8294205f7c
Ember 1.11 broken WIP
2015-05-11 11:18:37 -04:00
Robin Ward
b3b4fd21ed
Broken WIP
2015-05-11 11:18:37 -04:00
Sam
4191d97d48
FIX: missing titles and aria-labels on sharing links
2015-05-07 12:14:12 +10:00
Sam
4dfc1907ac
Simplify desktop notifications, only include if mention/reply/pm/link
...
Include post excerpt in the notification
2015-05-04 13:49:32 +10:00
Robin Ward
3252bf1252
FIX: Desktop Notifications break Qunit tests
...
We should figure out why they can't run without the conditional in a
browser.
2015-04-28 19:24:32 -04:00
Robin Ward
15ea0c4789
Merge pull request #3304 from riking/desktop-notifications
...
Desktop notifications!
2015-04-28 16:24:02 -04:00
riking
21b915f209
Suggested changes
2015-04-23 18:39:48 -07:00
Régis Hanol
a737090442
- FEATURE: revamped poll plugin
...
- add User.staff scope
- inject MessageBus into Ember views (so it can be used by the poll plugin)
- REFACTOR: use more accurate is_first_post? method instead of post_number == 1
- FEATURE: add support for JSON-typed custom fields
- FEATURE: allow plugins to add validation
- FEATURE: add post_custom_fields to PostSerializer
- FEATURE: allow plugins to whitelist post_custom_fields
- FIX: don't bump when post did not save successfully
- FEATURE: polls are supported in any post
- FEATURE: allow for multiple polls in the same post
- FEATURE: multiple choice polls
- FEATURE: rating polls
- FEATURE: new dialect allowing users to preview polls in the composer
2015-04-23 19:33:29 +02:00
riking
a616d9ed1c
Fix jshint 2
2015-04-21 21:23:05 -07:00
riking
da9913359c
Convert to file in lib/, rough active tracking
2015-04-21 20:23:29 -07:00
riking
f5e27fe2c8
FEATURE: Desktop notifications
2015-04-21 20:21:52 -07:00
Robin Ward
a61c202ac4
Rewrite /private-messages to /messages
2015-04-17 12:01:50 -04:00
Robin Ward
f1ede42569
Add the posts that need to be reviewed to the hamburger
2015-04-15 14:54:37 -04: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
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
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
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
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
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
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
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
cf3582bedb
FIX: JSHint wasn't validating ES6 files, this fixes a bunch of errors.
2015-02-10 17:21:16 -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
riking
8812f95839
FIX: Ember regression in read-only banner
2015-02-08 12:42:19 -08:00
Robin Ward
3d7b534564
FEATURE: New "Plugins" admin section with extensibility support
2015-02-06 17:33:24 -05:00
Robin Ward
a852f6c56f
Add Discourse-Track-View header to XHR when transitioning
2015-02-05 16:07:51 -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
28f702a5b6
Refactor app events to more efficiently handle post highlighting
2015-01-14 15:50:19 -05:00
Robin Ward
8b87d8ac2d
Refactor sharing dialog for extensibility
2015-01-13 17:26:05 -05:00
Sam
7ff96241a2
automatically register dom templates
2014-12-31 13:29:14 +11:00
Régis Hanol
a115b4b7f0
FIX: hide emoji toolbar button when emoji are disabled
2014-12-29 17:29:04 +01:00
Sam
f6f50ffc72
correct live reload code
2014-12-23 13:03:48 +11:00
Robin Ward
a8acbc37a2
Refactor selector components for extensibility
2014-12-18 10:36:58 -05:00
Robin Ward
f42a5c1ba3
Convert a lot of Globals to ES6 modules
2014-12-17 09:31:42 -05:00
Robin Ward
f3babdb319
Fixes many Ember 1.9.0 deprecations
2014-12-17 09:31:42 -05:00
Robin Ward
3e8d8bf90d
Revert i18n initializer, it breaks tests.
2014-12-17 09:31:42 -05:00
Robin Ward
7aaf2fcb65
Fix broken qunit tests in 1.9.0
2014-12-17 09:31:41 -05: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
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
Arpit Jalan
eb9eada894
FEATURE: log out user everywhere and refresh/redirect
2014-11-19 12:34:34 +05:30
Sam
aa9b3bb35a
FEATURE: allow long polling to go to a different url
...
Added the site setting long_polling_base_url , this allows you
to farm long polling to a different server.
This setting is very important if a CDN is serving dynamic content.
2014-10-24 13:38:38 +11:00
Sam
73486b8ddd
FIX: respect anon_polling_interval
...
FIX: only poll background message bus pages once a minute
FEATURE: background_polling_interval
FEATURE: long polling pushed back to 25 seconds
FEATURE: force a poll when a bg page returns to foreground
also improve copy of message bus settings a bit
2014-10-22 12:49:10 +11:00
Robin Ward
1cf4a0d604
Rename "User Expansion" to the much clearer "User Card"
2014-10-20 12:11:59 -04:00
Robin Ward
d2ac5a9ac6
Rename /category/xyz paths to /c/xyz -- @SamSaffron did most of the
...
work even though I'm merging the patch!
2014-10-16 12:15:31 -04:00
Robin Ward
5fc150e057
A mucher saner API for updating the title of routes, even when nested.
...
Properly sends the title of the page to google analytics
2014-10-09 14:55:29 -04:00
Sam
dde8ae7e96
FIX: analytics universal not sending correct location
2014-10-07 12:23:04 +11:00
Robin Ward
d0fb8bbcfc
Instead of .js.handlebars use .hbs for handlebars templates
2014-09-26 15:23:15 -04:00
Robin Ward
1de9c3b04a
Migrate more helpers to ES6 format.
2014-09-12 14:27:34 -04:00
Robin Ward
e1826e3025
Remove constants from initializers
2014-09-11 17:50:47 -04:00
Robin Ward
52094fe554
Remove the last of the Discourse globals in our templates
2014-09-11 17:13:03 -04:00
Robin Ward
cedc409461
Remove deprecation notices for Discourse.banner
2014-09-11 17:01:35 -04:00
Robin Ward
af6936cf72
Refactor some deprecations for newer versions of Ember. Also set up
...
injection for some globals so we can migrate away from them.
2014-09-11 16:16:21 -04:00
Robin Ward
62c9e4228d
Rename {{icon}} helper to {{fa-icon}} for future Ember
...
compatibility.
2014-09-09 17:29:05 -04:00
Robin Ward
504d61de94
FIX: Clicking on expanded user actions uses user expansion. Also added
...
integration test.
2014-09-09 15:18:04 -04:00
Robin Ward
69cb5bc425
FIX: Centralize Top rendering, remove old code paths. Fix some bugs.
2014-08-28 14:34:31 -04:00
Sam
f48b78c0bb
FEATURE: Allow localization sessions
...
use: I18n.verbose_localization_session()
2014-08-27 17:50:29 +10:00
Sam
16c34c206d
FEATURE: verbose localization option
2014-08-27 14:12:11 +10:00
Robin Ward
b46a373ff9
UX: Show User popup when clicking on a user in the topic list.
2014-08-19 16:22:37 -04:00
Robin Ward
ac89b3eb7e
ES6: grouped-each helper and moved event dispatcher to an initializer
2014-08-13 16:46:59 -04:00
Robin Ward
1c9ccc6eb1
ES6: More controllers converted over
2014-08-13 10:22:47 -04:00
Robin Ward
3b76fd82fd
ES6: user-search lib and autocomplete. Cancels many promises rather than
...
leaving them as pending forever.
2014-08-08 13:10:13 -04:00
Robin Ward
8279752d3c
REFACTOR: Don't use Discourse.Capabilities, instead use injection.
...
Also fix broken test. /cc @Sam
2014-08-06 18:28:02 -04:00
Sam
cbc71e693e
FIX: base keyboard shortcuts on touch vs no touch.
2014-08-06 15:01:23 +10:00
Robin Ward
b88a8d2416
FIX: Clicking navigation pills a second time should refresh the list
...
you're looking at.
2014-07-24 14:59:53 -04:00
Robin Ward
04c6733ae7
FIX: If a deprecated view can't be found, look for a component
2014-07-23 16:10:29 -04:00
Neil Lalonde
386b6213a5
FEATURE: warn when caps lock is on during password input
2014-07-22 13:53:58 -04:00
Robin Ward
4d354cff7e
FIX: Clicking an avatar in an expanded post should show the user
...
expansion popup.
2014-07-21 18:05:24 -04:00
Robin Ward
71c67c43a1
ES6: User activity views
2014-07-16 13:19:47 -04:00
Sam
21bc20169e
FIX: stop stacking, stuff was upgraded dialogs
2014-07-09 16:43:54 +10:00
Robin Ward
462dcadd01
FEATURE: Subcategory list on parent subcategory page.
2014-07-02 16:47:43 -04:00
Robin Ward
4592916026
ES6: Convert route builders to initializer
...
Remove deprecated `Discourse.addInitializer`
2014-07-02 16:47:43 -04:00
Robin Ward
f0da4bf632
We don't need an empty app-events file.
2014-06-19 15:28:42 -04:00
Robin Ward
49ae01ddea
TWEAK: Don't focus on progress expansion on touch interfaces.
2014-06-19 15:19:49 -04:00
Régis Hanol
39aa87dedf
REFACTOR: extract MessageBus dependent initializers
2014-06-18 20:05:18 +02:00
Robin Ward
61bba4d074
ES6: More views converted and deprecated
2014-06-12 11:21:12 -04:00
Robin Ward
176120cbc1
REFACTOR: Keyboard Shortcuts should send their actions directly to
...
posts, not by activating clicks on buttons.
2014-06-11 14:31:03 -04:00
Robin Ward
f822491886
ES6: Convert a couple view helpers. They should probably be components
...
evnetually!
2014-06-11 11:05:49 -04:00
Robin Ward
580a1bf8b0
ES6: Migrated and deprecated a bunch of views
2014-06-10 11:54:38 -04:00