Commit Graph

65 Commits

Author SHA1 Message Date
Robin Ward 3d3b70f4bb Remove duplicated `NotificationType` globals 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 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 d8c616a68a Add a `store` so we can start using ES6 modules for models, finally. 2015-02-10 12:35:53 -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 8b87d8ac2d Refactor sharing dialog for extensibility 2015-01-13 17:26:05 -05:00
Arpit Jalan bb152a5b3f FEATURE: download user posts archive 2014-12-24 15:13:48 +05:30
Régis Hanol 45dbdb6896 FEATURE: custom emojis 2014-12-23 01:12:26 +01:00
Robin Ward db89695d4d FIX: Load order of Javascript 2014-12-18 11:22:02 -05:00
Robin Ward f3babdb319 Fixes many Ember 1.9.0 deprecations 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
Robin Ward bdc075b266 Minimize use of `stream` calls 2014-12-17 09:31:41 -05:00
Robin Ward 5659b93c71 Many fixes for Ember 1.9.0 2014-12-17 09:31:40 -05:00
Régis Hanol 0947191060 UX: improved our footer handling
- new "show-footer" mixins
- converted most of the routes to ES6
- FIX: handling of "indexStream" in user pages

There will now be a footer on all the following pages
- /exception
- /about
- /latest
- /new
- /unread
- /starred
- /top
- /categories
- /c/:category
- /c/:category/l/latest
- /c/:category/l/new
- /c/:category/l/unread
- /c/:category/l/top
- /t/:topic/:id
- /groups/:name/members
- /user/activity
- /user/activity/topics
- /user/activity/posts
- /user/activity/replies
- /user/activity/likes-given
- /user/activity/likes-received
- /user/activity/bookmarks
- /user/activity/starred
- /user/badges
- /user/notifications
- /user/flagged-posts
- /user/deleted-posts
- /user/private-messages
- /user/private-messages/mine
- /user/private-messages/unread
- /user/invited
- /user/:username/preferences
- /faq (static pages)
- /badges
- /badges/:id/:badge
2014-11-19 20:37:43 +01:00
Robin Ward 03bc91f204 Unify `loading-spinner` helper, add conditional support via component 2014-11-12 15:11:20 -05:00
Robin Ward acfd99ebf2 FIX: Use proper HTML for spinner rather than handlebars 2014-11-05 12:04:35 -05:00
Sam 0621e87bcd PERF: don't render dropdowns till we need them 2014-10-29 16:54:11 +11:00
Sam 5729e7df6f PERF: use raw rendering for topic list
rename my handlebars helper to "raw",
create ember compat handlebars to handle rendering
patch ember rails to use the correct precompiler
2014-10-29 15:24:51 +11:00
Sam 189ae2e6e3 comment to explain a bug 2014-10-29 13:01:01 +11:00
Régis Hanol 7e309a21cf FEATURE: hide emails behind a button for staff members 2014-09-29 22:31:05 +02:00
Robin Ward b21d653e4b Build was broken due to load order. 2014-09-23 17:15:49 -04:00
Robin Ward c1aa2458f8 UX: Add drop down for top lists, big refactor of repeated code. 2014-08-21 16:08:47 -04:00
Robin Ward 5667cfe6cb FIX: Load `user-avatar` first. 2014-08-19 16:32:35 -04:00
Robin Ward 6f3db0e386 UX: Squash activity columns together. Show a cold map on the difference
between the last post and original post dates. Fix some missing classes
in the mobile templates and topic map.
2014-08-14 16:06:27 -04:00
Robin Ward a0d0f859ba Add login buttons to create account template. 2014-08-14 12:51:16 -04:00
Robin Ward 0adfeb1cff ES6: Mega update of controllers 2014-08-13 10:22:47 -04:00
Robin Ward becfcefb3c FIX: Compatibility layer load order 2014-08-07 15:46:58 -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 75f6b43e62 ES6: Discourse.ContainerView 2014-07-18 12:20:07 -04:00
Régis Hanol 6b45b635f8 FIX: properly whitelist <code> classes needed for syntax highlighting 2014-07-09 16:27:47 +02:00
Robin Ward 4237099db3 ES6: More modal views 2014-07-04 11:50:40 -04:00
Robin Ward 68d323faaf FIX: Load order for non-ES6 2014-06-23 13:32:34 -04:00
Robin Ward 07ae7435f2 ES6: Convert all button views 2014-06-23 12:37:38 -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
Robin Ward 59ef38bb88 FIX: Load order for `pagedown-preview` 2014-06-09 15:15:39 -04:00
Neil Lalonde 98deb5ff41 Category notification settings dropdown: use common code with topic notification and pin/unpin dropdowns 2014-05-29 18:18:29 -04:00
Robin Ward 8a24a34b1b ES6: More controllers 2014-05-20 12:49:38 -04:00
Neil Lalonde 6bbc3ec3e0 Add a way to flag a topic 2014-02-12 12:57:55 -05:00
Régis Hanol 7fd88a52c9 FEATURE: allow plugins to overwrite handlebars templates 2013-12-31 16:43:29 +01:00
Sam b67a3a85dd split js with vendor/application
avoid one huge js bundle and instead break it down
to application and vendor (3rd party) our app changes
a lot, vendor changes a lot less
2013-12-23 10:32:07 +11:00
Robin Ward 3a2ae97668 Vendor the CloakedView stuff 2013-12-04 13:23:20 -05:00
Robin Ward de78ee302a - Extract Browser capabilities from Discourse namespace into a Singleton.
- Change Scrolling slack based on Android / Touch / Desktop
2013-12-03 13:03:19 -05:00
Robin Ward 40f86829f7 Post Cloaking:
* We now use a new custom view, {{cloaked-collection}} to display posts in a topic.

* Posts are removed and inserted (cloaked/uncloaked) into the DOM dynamically based on whether they
  are visible in the current browser viewport.

* There's been a lot of refactoring to ensure the relationship between the post views and the topic
  controller is sane.

* Lots of fixes involving jumping to a post, including a new LockOn component to that tries to stay
  focused on an element even if stuff is loading before it in the DOM that would normally push it
  down.
2013-11-27 12:53:32 -05:00
Neil Lalonde 8a9bef944f Fix browser-update.js so it doesn't depend on jQuery 2013-11-27 12:26:27 -05:00
Robin Ward e5fd2946e0 Some topic list re-organization. 2013-11-11 15:07:08 -05:00
Robin Ward 9adcd1579d Renamed `components` to `lib` in the JS project, as Ember has components and they mean something different. 2013-10-24 12:36:46 -04:00
Sam 38a33a8c1b work in progress sortable categories 2013-10-21 15:25:20 +11:00
Robin Ward 5281b7f80c Upgraded and refactored Sanitizing. Much less crap should get through now!
Conflicts:
	app/assets/javascripts/discourse/components/syntax_highlighting.js
2013-10-15 10:53:11 -04:00