Robin Ward
3f729438ad
ES6: Removed and renamed some admin views
2015-02-24 13:47:46 -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
a65e0a80ba
Add support for more ES6 features
2015-02-06 13:26:33 -05:00
Robin Ward
25daca8f23
Helpers for plugins to support enabling/disabling
2015-02-04 16:23:56 -05: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
8fc477ab07
More refactoring to support extensibility of history
2015-01-28 13:37:06 -05: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
7741e4dc02
Change the admin-menu outlet to use a tagName of li
2015-01-21 16:21:27 -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
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
dba57a4a25
Add title to user header. Refactor statusIcon a bit.
2015-01-12 14:45:43 -05:00
Robin Ward
c02a31d8b4
Raw templates should resolve their views with the resolver
2015-01-07 14:21:31 -05:00
Robin Ward
701d896912
FIX: Link domains were not showing up in the topic map
2015-01-02 10:46:04 -05: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
Robin Ward
db89695d4d
FIX: Load order of Javascript
2014-12-18 11:22:02 -05:00
Robin Ward
8b51176f2e
FIX: Category badges were missing stripes in some places
2014-12-18 11:03:17 -05:00
Robin Ward
a8acbc37a2
Refactor selector components for extensibility
2014-12-18 10:36:58 -05:00
Robin Ward
2ca0a307de
FIX: When using {{avatar}} within autocomplete
2014-12-17 10:05:38 -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
3e408f9caa
Fix more deprecated helpers
2014-12-17 09:31:41 -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
Sam
f8f1611035
compatibility fixes
2014-12-17 09:31:41 -05:00
Sam
a0787103c1
fix raw helper so its handlebars 2.0 compliant
2014-12-17 09:31:41 -05:00
Robin Ward
008a19f997
More 1.9.0 fixes
2014-12-17 09:31:41 -05:00
Robin Ward
02f3a2d115
Fix more deprecations for 1.9.0
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
Robin Ward
61101736cb
Ember.empty has been renamed to Ember.isEmpty
2014-12-17 09:31:40 -05:00
Robin Ward
4de412365e
The {{i18n}} helper should use quotes when looking up keys, always.
2014-12-08 16:36:18 -05:00
Robin Ward
5fd3f2547c
FIX: Fix rerendering issues on some components.
2014-12-08 14:47:49 -05:00
Robin Ward
0d12ed2231
UX: More spinner upgrades
2014-11-13 15:40:28 -05:00
Robin Ward
7b50244e98
UX: Use new loading spinner when uploading an image
2014-11-13 12:55:47 -05:00
Robin Ward
03bc91f204
Unify loading-spinner helper, add conditional support via component
2014-11-12 15:11:20 -05:00
Robin Ward
824c0b0f87
FIX: Remove grouped-each helper. GroupedView is deprecated in Ember
...
1.9
2014-11-11 15:58:47 -05:00
Robin Ward
4d4734ef2f
Refactored loading routes for users/badges
2014-11-11 14:17:19 -05:00
Kris Aubuchon
6ca555eee0
simplifying the spinner due to IE/Win Chrome issues
2014-11-11 09:22:14 -05:00
Robin Ward
a6b1be81b1
Upgrade to Ember 1.7.1 + group patch
2014-11-10 14:49:02 -05:00
Kris Aubuchon
a0e5605869
updated loading spinner
2014-11-05 20:13:51 -05:00
Robin Ward
acfd99ebf2
FIX: Use proper HTML for spinner rather than handlebars
2014-11-05 12:04:35 -05:00
Kris Aubuchon
59e0c1b9cd
trying out a new css-only loading spinner
2014-11-05 10:08:20 -05:00
Robin Ward
44ff357e1c
Remove unused view, use preferred dash format for filenames, add
...
warnings when templates are missing
2014-10-29 10:39:06 -04:00
Robin Ward
daf7239d87
Lookup templates using the container
2014-10-29 10:32:57 -04:00
Sam
eab12cc6b8
PERF: move excerpt to raw, expose i18n to handlebars
2014-10-29 16:08:35 +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
e3b88d3688
Revert "REVERT commits for raw handlebars rendering. We need to create a"
...
This reverts commit a4363e033d .
2014-10-29 13:05:19 +11:00
Robin Ward
a4363e033d
REVERT commits for raw handlebars rendering. We need to create a
...
separate branch and discuss issues of this approach.
2014-10-28 10:56:04 -04:00
Sam
ad46a490cc
correct coldmaps
2014-10-28 17:54:00 +11:00
Sam
f5379cee89
PERF: move activity-column to handlebars
2014-10-28 17:20:56 +11:00
Sam
09f6011bbd
PERF: split out category column rendering
2014-10-28 14:56:27 +11:00
Sam
adb870a909
PERF: use handlebars rendering for user list
...
this shave topic list rendering on local down from 140ms to 100ms
2014-10-28 13:31:25 +11:00
Robin Ward
caf31dde1e
Revert "GroupedEach helper fix for ember 1.8"
...
This reverts commit 3075ebf77c .
2014-10-27 15:58:04 -04:00
Robin Ward
3075ebf77c
GroupedEach helper fix for ember 1.8
2014-10-27 15:31:35 -04:00
Robin Ward
71f211f0b3
FEATURE: Allow users to select a badge with an image to appear on their
...
user card
2014-10-20 16:35:38 -04: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
3c26bca56a
Migrated more helpers to ES6 preferred format
2014-09-11 13:32:57 -04:00
Robin Ward
d010eee5d8
Remove unused titled-link-to helper
2014-09-11 13:14:11 -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
8ac955247c
Convert category helpers to ES6.
2014-09-04 11:32:30 -04:00
Robin Ward
e9600d7cb1
Convert some application helpers to ES6 format.
2014-09-03 13:30:22 -04:00
Arpit Jalan
0453da6fa5
FIX: use short date format for timestamp
2014-08-27 12:56:52 +05:30
Robin Ward
d35633deab
FIX: Using a binding in an {{avatar}} was broken
2014-08-20 15:12:18 -04: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
Sam
2d16255185
FIX: make filter bindable
2014-08-19 16:50:30 +10:00
Robin Ward
2f4f5d56e1
Use Site Settings for the cold date ranges
2014-08-15 12:09:31 -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
ac89b3eb7e
ES6: grouped-each helper and moved event dispatcher to an initializer
2014-08-13 16:46:59 -04:00
Sam
4536f772c1
FIX: more reliable topic list counts
...
- unread was not incrementing when you read last post on topic
- new notifications were being inserted even if they existed in list
- terminology was all mixed up "1 new posts", split to 3 messages
- latest behaves as expected, updating count of new and updated topics
2014-08-05 13:27:34 +10:00
Robin Ward
f2b554be13
FIX: Use placeholder for avatar image size in expansion
2014-07-24 17:17:47 -04:00
Robin Ward
27f786e06a
FEATURE: Show user popup when clicking on an @mention in a post.
2014-07-23 16:10:29 -04:00
Benjamin Kampmann
b942dbfb43
remove block from views so Ember doesn't complain
2014-06-27 10:49:25 +02:00
Robin Ward
56096619c0
FIX: Use secondary category color for stripes when only showing the
...
stripe.
2014-06-20 12:46:42 -04:00
Robin Ward
7ae4c4dedc
COSMETIC: visual tweaks to the categories page
2014-06-19 17:11:45 -04:00
Robin Ward
61fb0f736b
Micro optimizations to {{plugin-outlet}}.
...
* Don't create a `ContainerView` if there is only one connection.
* Don't create a virtual view if there are no connectors and the
block form of the plugin isn't used.
2014-06-18 16:00:53 -04:00
Benjamin Kampmann
22d93bc43a
Let Plugin-Outlet Render inner template data
...
- allows passing of template data to the plugin-outlet to be rendered if no plugin is using that slot
- acts as a fallback when no plugin is found
- allows wrapping of existing features inside a plugin-outlet that then plugins can overwrite with their own behaviour
- backwards compatible
- uses invisible emberviews (as Ember.Component does)
- the template has full-access to the controller and view, should be totally transparent
2014-06-16 15:10:10 +02:00
Régis Hanol
3b6b2770f3
BUGFIX: date of the post in the share dialog is now properly bound
...
CLEANUP: removed all unused handlebars helpers
REFACTOR: removed 'unbound' prefix (for performance reasons, helpers are unbound by default)
REFACTOR: added 'bound' prefix to bound helpers
REFACTOR: renamed helper using 'foo-bar-foo' syntax (instead of camel case)
2014-06-10 19:04:31 +02:00
Robin Ward
580a1bf8b0
ES6: Migrated and deprecated a bunch of views
2014-06-10 11:54:38 -04:00
Robin Ward
6ae7d48fd1
FIX: Make sure the context of plugin outlets is correct
2014-06-05 15:20:55 -04:00
Régis Hanol
bc7730e0dd
BUGFIX: avatar in history dialog
2014-06-04 18:35:14 +02:00
Robin Ward
3f9c4100ef
Many Plugin upgrades.
2014-06-03 10:33:47 -04:00
Sam
fa6f22dd39
Move letter avatars out of upload system
...
FIX: S3 issues around system avatars
FIX: reduced backup file size
2014-05-30 14:45:55 +10:00
Sam
504cfcff96
Fix specs for avatars
...
Implement avatar picker
Correct avatar related jobs
2014-05-27 10:08:03 +10:00
Sam
6c1c8be794
Work in progress, keeping avatars locally
...
This introduces a new model to store the avatars and 3 uploads per user (gravatar, system and custom)
user can then pick which they want.
2014-05-27 10:08:03 +10:00
Vikhyat Korrapati
ed8aeccb0c
Use helper to insert sr-only text for icons.
2014-05-07 19:04:26 +05:30
Vikhyat Korrapati
25a080a8e1
Fix HTML tags in topic titles.
...
We no longer sanitize titles before saving to the database since it
would cause problems like HTML entities showing up when you try to edit
a topic title. It isn't even really necessary since we only render
fancy_title directly and never title.
The escaping logic used here is the same that is used both in lodash and
onebox. See:
1. https://github.com/discourse/onebox/pull/190/files
2. https://github.com/lodash/lodash/blob/2.4.1/dist/lodash.compat.js#L6194
2014-04-18 10:47:00 +05:30
Robin Ward
c3bc49d5d4
Ditch params when showing link domains
2014-04-08 15:15:22 -04:00
Robin Ward
7e3ea5d644
Support for crawling topic links
2014-04-07 14:08:34 -04:00
Neil Lalonde
5d4995640b
Use sub-category badge on categories page too
2014-03-27 15:25:47 -04:00
Neil Lalonde
86244e3a4b
New sub-category badges in category chooser. Normalize category badge rendering code.
2014-03-25 17:29:59 -04:00
Neil Lalonde
c649959e34
Show parent category on category badges
2014-03-21 14:34:50 -04:00
Robin Ward
f5e6bcc585
Create a cold age helper, make sure the first age column is strictly
...
`created_at`, add cold to the second column.
2014-03-10 15:02:39 -04:00
Robin Ward
49a1733d97
FIX: We should use partials when rendering but keeping the same context.
2014-03-06 15:56:33 -05:00