Guo Xiang Tan
28365f8ae5
PERF: Have nginx cache and serve the service worker file.
2018-02-15 10:50:39 +08:00
Sam
14d0450bef
FEATURE: Only load service worker for Android
...
TBD an interface for plugin to enable service workers on desktop if they need them
2018-02-13 16:23:36 +11:00
Robin Ward
9f96d59a17
FIX: Unused import
2018-02-01 16:31:21 -05:00
Robin Ward
08db10491e
Adds a new plugin API for adding classes to be shown on user avatars
2018-02-01 15:24:26 -05:00
scossar
caa38aaaad
Add support for mixed text directions
2018-01-28 18:33:55 -08:00
Gerhard Schlager
3fde4c9db7
FIX: Enabling verbose localization for session didn't work
2018-01-25 23:29:53 +01:00
Sam
95ac1655bc
revert settings
2018-01-24 13:21:23 +11:00
Sam
7ba06de0d6
FEATURE: disable service worker for all browsers except for android
...
Service worker is still quite experimental, only enable on android
where it provides many benefits
2018-01-24 12:03:08 +11:00
Neil Lalonde
718e932b44
FEATURE: plugins can send more data to Google Tag Manager
2018-01-17 11:18:17 -05:00
Vinoth Kannan
d18c42abd5
FIX: Ignore if the default localization node is not an object ( #5439 )
2017-12-27 16:53:53 +11:00
Jeff Wong
b094894c94
Feature: Add service worker registration method to plugin API
2017-11-28 14:01:41 +08:00
Rafael dos Santos Silva
bf82b34f10
FIX: Remove scope in SW register, avoid duplicated SWs
2017-11-07 01:05:30 -02:00
Robin Ward
fbd5f1e411
REFACTOR: Rename store:main to service:store so we can inject it
2017-10-27 13:59:45 -04:00
Robin Ward
954013a45c
Use appEvents for page tracking so widgets can listen to it easily
2017-09-28 14:20:32 -04:00
Robin Ward
b78958fbfc
Silence CSS logging in development - it's way too noisy
2017-08-16 10:59:56 -04:00
Guo Xiang Tan
ed851dbfff
FIX: Avoid publishing a gigantic payload.
...
* Certain sites have way too many categories.
2017-08-16 11:38:30 +09:00
Robin Ward
5b590b9637
REFACTOR: Replace some fa-* uses with helpers
2017-07-27 14:55:41 -04:00
David Taylor
febd7621ea
Qunit plugin rake tasks ( #4985 )
...
* Allow running specific plugin tests using ENV variables
* Add a `rake plugin:qunit` task to match the existing `rake plugin:spec` task
* Improve docker.rake to allow running specific plugin qunit tests
* Purge cache before and after qunit tests
* Stop module auto-loader trying to auto-load tests
* Use URL query parameters to pass config into Qunit, avoiding caching issues
* Oops, searchParams doesn’t work in phantomJS. Parse the URL manually.
* Escape ampersands before passing URL to phantomJS, otherwise multiple parameters go wrong
2017-07-26 09:07:46 -04:00
Robin Ward
754c1e5438
Upgrade to Babel 6
2017-07-05 15:25:23 -04:00
Robin Ward
867cefc492
Ember.K was deprecated, so let's remove it.
2017-06-13 15:59:48 -04:00
Robin Ward
006b35d2f3
FIX: Don't redirect for users/account-created path
2017-05-11 11:04:45 -04:00
Sam Saffron
c182dcc64c
FEATURE: add .admin-interface class to BODY when in admin
...
removes some dead code as well
2017-05-04 15:13:32 -04:00
Robin Ward
b381372184
Use Ember.js for the /u/account-created path so we can add controls
2017-05-03 11:18:01 -04:00
Neil Lalonde
bb82e0a041
FIX: theme preview from preferences wasn't working
2017-04-28 14:01:57 -04:00
Sam
0a67d859d5
correct watcher so it handles color scheme changes correctly
2017-04-18 16:48:15 -04:00
Sam
a3e8c3cd7b
FEATURE: Native theme support
...
This feature introduces the concept of themes. Themes are an evolution
of site customizations.
Themes introduce two very big conceptual changes:
- A theme may include other "child themes", children can include grand
children and so on.
- A theme may specify a color scheme
The change does away with the idea of "enabled" color schemes.
It also adds a bunch of big niceties like
- You can source a theme from a git repo
- History for themes is much improved
- You can only have a single enabled theme. Themes can be selected by
users, if you opt for it.
On a technical level this change comes with a whole bunch of goodies
- All CSS is now compiled using a custom pipeline that uses libsass
see /lib/stylesheet
- There is a single pipeline for css compilation (in the past we used
one for customizations and another one for the rest of the app
- The stylesheet pipeline is now divorced of sprockets, there is no
reliance on sprockets for CSS bundling
- CSS is generated with source maps everywhere (including themes) this
makes debugging much easier
- Our "live reloader" is smarter and avoid a flash of unstyled content
we run a file watcher in "puma" in dev so you no longer need to run
rake autospec to watch for CSS changes
2017-04-12 10:53:49 -04:00
Robin Ward
6b976433c9
Support for both /users/ and /u/ paths
2017-03-30 10:23:24 -04:00
Guo Xiang Tan
32d8447838
REFACTOR: Don't lookup container for certain objects if user is not signed in.
2017-03-20 15:49:36 +08:00
Robin Ward
42fd4f987e
When viewing yourself, default to activity, not summary.
2017-03-07 12:03:05 -05:00
Guo Xiang Tan
f5bf6256a9
Merge pull request #4732 from nbianca/typo
...
Fixed typo.
2017-03-02 06:02:43 +08:00
Bianca Nenciu
2c22a7f78b
Fixed typo.
2017-03-01 23:02:29 +02:00
Sam
122fb8025d
FIX: last seen date erroneously updated when browser in background
...
In some cases user may be "last seen" even though browser tab is in
the background or computer is locked
2017-02-28 12:35:10 -05:00
Régis Hanol
a2c04be718
FIX: eradicate I18n fallback issues 💣
...
FIX: client's translation overrides were not working when the current locale was missing a key
FIX: ExtraLocalesController.show was not properly handling multiple translations
FIX: JsLocaleHelper#output_locale was not properly handling multiple translations
FIX: ExtraLocalesController.show's spec which was randomly failing
FIX: JsLocaleHelper#output_locale was muting cached translations hashes
REFACTOR: move 'enableVerboseLocalization' to the 'localization' initializer
REFACTOR: remove unused I18n.js methods (getFallbacks, localize, parseDate, toTime, strftime, toCurrency, toPercentage)
REFACTOR: remove all I18n.pluralizationRules and instead use MessageFormat's pluralization rules
TEST: add tests for localization initializer
TEST: add tests for I18n.js
2017-02-24 11:31:21 +01:00
Sam
06638c78e7
Merge pull request #4617 from claygriffiths/trailingslash-message-bus
...
Fix: Forced trailing slash on messageBus.baseUrl
2017-01-26 12:03:06 -05:00
Robin Ward
98eac4924c
FIX: If an audio file is playing, don't cloak it
2016-12-27 11:38:14 -05:00
Clay Griffiths
d15bfc9880
Forced trailing slash on messageBus.baseUrl
2016-12-19 14:34:19 -07:00
Robin Ward
a9ed15e11a
FIX: Remove more of those pesky View classes
2016-11-11 17:03:15 -05:00
Guo Xiang Tan
a8b7599d4a
FEATURE: Add a radial ping when user's first notification has not been read.
2016-11-08 16:23:12 +08:00
Robin Ward
e18ae34493
Don't try injecting into the Resolver. Use options instead.
2016-11-04 10:23:24 -04:00
Robin Ward
3bb4e22692
FIX: cleanDOM couldn't be called from url
2016-10-26 13:27:47 -04:00
Robin Ward
bd352385a5
Framework for supporting Ember 1.12/1.13 helpers simulataneously
2016-10-24 15:13:32 -04:00
Sam
fd9056973a
FEATURE: increase interval to 24 hours for "please refresh site"
...
Used to be 2 hours, which is a bit tight, especially for people who leave
computer running overnight.
Keep in mind we always refresh on route change, so clicking on a topic will
trigger a refresh
2016-09-19 10:12:27 +10:00
Neil Lalonde
1078d929cd
Revert "see if gtm automatically pushes pageview events without our own page-tracking code"
2016-09-01 13:28:04 -04:00
Neil Lalonde
572713b801
see if gtm automatically pushes pageview events without our own page-tracking code
2016-09-01 12:16:54 -04:00
Régis Hanol
ecaa751455
FIX: Use Ember.set to update the site settings via the Message Bus
2016-08-22 12:18:45 +02:00
Robin Ward
b2134aa173
Refactor full page search for style, remove lookups
2016-08-09 14:49:46 -04:00
Robin Ward
857d54162b
Redirect to Summary when viewing yourself
2016-08-02 13:21:24 -04:00
Neil Lalonde
ba637e40b6
FEATURE: Google Tag Manager Universal Analytics support
2016-07-14 16:35:20 -04:00
Robin Ward
bba0fd0654
REFACTOR: PreloadStore to ES6
2016-07-11 12:57:05 -04:00
Robin Ward
b8125b3512
REFACTOR: Remove Discourse.Ajax
2016-07-11 12:57:05 -04:00
Robin Ward
a546395397
REFACTOR: Migrate markdown functionality in ES6
2016-07-11 12:57:05 -04:00
Robin Ward
2cfb0d60a8
FIX: Remove the last auth result after authenticating
2016-07-08 15:53:27 -04:00
Guo Xiang Tan
904d9735ab
Refactor desktop notifications to be more modular.
2016-07-01 00:11:32 +08:00
Robin Ward
28e3becf44
FIX: Allow authentication complete window to pop up
2016-06-10 12:24:34 -04:00
Robin Ward
33a418d537
Log errors authenticating with facebook
2016-06-10 12:05:14 -04:00
Robin Ward
eff2865278
FIX: Support create account on facebook browser
2016-06-10 11:12:46 -04:00
Robin Ward
4963d4d624
UX: Don't animate timeline when first entering a topic
2016-05-31 10:51:45 -04:00
Robin Ward
0fcfc6bed9
Add acceptance tests for all mobile templates
2016-05-05 12:49:12 -04:00
Robin Ward
400c061046
Ember.keys is deprected in favor of Object.keys
2016-04-28 16:37:20 -04:00
Robin Ward
514c3976f0
PERF: Migrate header to discourse widgets
2016-04-25 10:48:04 -04:00
Rafael dos Santos Silva
bbe642070e
App Banner Support for Android Chrome ( #4103 )
...
* App Banner Support for Android Chrome
* Oops, forgot semicolon;
2016-04-20 10:54:01 -04:00
Robin Ward
cc25716e47
FIX: Allow message format translations to be overridden
2016-04-08 14:49:50 -04:00
Robin Ward
fbf45426e4
Autoload widgets since they are named when created, not by file
2016-03-18 16:31:59 -04:00
Sam Saffron
6c1d5b8cd3
FIX: spinning favicon in Firefox
...
Delay starting up ajax calls in MessageBus
2016-03-08 23:28:38 +11:00
Guo Xiang Tan
db781d3349
FIX: LogsNotice does not have currentUser attribute.
2016-03-08 16:19:42 +08:00
Guo Xiang Tan
f32f0d6337
Merge pull request #4017 from tgxworld/add_admin_banner_for_logster
...
FEATURE: Admin Banner when Logster logs is getting flooded.
2016-03-02 23:44:56 +08:00
Guo Xiang Tan
fdd6920ae7
FEATURE: Admin Banner when Logster logs is getting flooded.
2016-03-02 22:03:16 +08:00
Robin Ward
c9cb5a5b79
FIX: GA Universal tracking had a bug
2016-02-26 14:48:36 -05:00
Robin Ward
e848ea5a99
Depcreate PageTracker in favor of PluginAPI
2016-02-19 16:30:59 -05:00
Robin Ward
f6aa1ac37a
Migrate onToolbarCreate to the DiscourseAPI
2016-02-18 15:23:43 -05:00
Robin Ward
849c99f83d
Remove Discourse.Mobile constants
2016-02-18 12:19:00 -05:00
Sam
b11e6ec38e
Merge branch 'master' into vdom
2016-02-18 13:20:55 +11:00
Sam
f9c5cded6f
Correct live refresh routine for notifications
2016-02-18 13:20:22 +11:00
Robin Ward
3a78321c63
withPluginApi means you don't have to check for null.
2016-02-16 12:17:22 -05:00
Sam
1dc168a7e6
Merge branch 'master' into vdom
2016-02-15 19:29:59 +11:00
Sam
dd6ebde824
FIX: Always ensure notifications are treated as read once clicked
...
UX: improve messaging so notifications list is far more stable
PERF: improve performance of notifcation lookup queries
- Add feature "SetTransientHeader" that allows shipping info to server
in the next Ajax request
- remove local storage hack used for notifications
- amend lookupStale to return hydrated objects, move logic into store
- stop magically clearing various notifications (likes, invitee accepted, group_summary, granted badge)
2016-02-15 19:29:47 +11:00
Robin Ward
9b8871d7dd
PluginAPI for more stable backwards compatibility going forward
2016-02-12 15:46:36 -05:00
Robin Ward
5f65bf420c
FIX: Support the plugin-api for decorators
2016-02-11 11:00:42 -05:00
Robin Ward
d1e85bdd8b
FEATURE: Use virtual dom framework for faster post rendering
2016-02-11 11:00:40 -05:00
Jeff Atwood
c3af4abfb5
reduce signup cta thresh, 2 topics, 2 min read time
2016-02-01 00:25:36 -08:00
Jeff Atwood
b425f74ef4
missed an IE9 removal
2016-01-02 23:51:03 -08:00
Jeff Atwood
e1f90d12f1
formally remove IE9 support
2016-01-02 23:49:52 -08:00
Robin Ward
5e93140f85
FEATURE: Can override any translation via an admin interface
2015-11-27 11:35:19 -05:00
Sam
43d63367fd
PERF: stop loading handlebars and ember compilers in prod
...
(this removes a nice 50K from our initial payload and saves memory)
Also fixes invalid HTML automatically if added to HEAD or /BODY
2015-11-27 11:59:01 +11:00
Robin Ward
d8734fc542
Fix eslint
2015-11-20 17:16:44 -05:00
Robin Ward
1506eba28d
Support for overriding client side translation keys
2015-11-20 17:14:01 -05:00
Robin Ward
ff85fa2a98
FIX: Remove emoji shortcut. Was conflicting with Euro symbol.
2015-11-11 15:33:21 -05:00
Robin Ward
f85d848649
Remove a bunch of old deprecated code
2015-11-10 13:09:05 -05:00
Robin Ward
47495a5713
FEATURE: Replace composer editor with ember version
2015-11-06 09:49:16 -05:00
Régis Hanol
86f76e5b4d
FIX: better plugin emojis API
2015-11-06 15:02:40 +01:00
Robin Ward
bb21902954
Add keyboard shortcuts back to d-editor
2015-11-03 14:01:26 -05:00
Robin Ward
4aa601414d
Support for titles on d-editor buttons
2015-11-03 14:01:26 -05:00
Robin Ward
5cd6308850
API for adding buttons to the new composer
2015-11-02 16:18:09 -05:00
Robin Ward
94b60e62a2
FEATURE: New markdown editor re-written in Ember
...
Note this commit leaves out the biggest occurrence of the editor
which is the post/topic composer.
To avoid major breakage, this replaces it everywhere else it was
used:
* User preferences (About Me)
* Admin Customizations > Text Content
* Category Templates
* Editing Queued Posts
A future commit will replace the main composer with this editor
and will remove the unused pagedown code.
2015-10-19 11:01:20 -04:00
Guo Xiang Tan
a253bf8698
FIX: Don't subscribe to Desktop Notifications on mobile.
2015-09-23 16:08:38 +08:00
Kane York
e16eebb48c
FIX: Don't even bother checking visit count
2015-09-16 15:35:50 -07:00
Kane York
102b6f6fca
FIX: Reduce requirements for signup call-to-action
...
1 visit, 5 minutes, 3 topics
2015-09-16 15:34:39 -07:00
Kane York
6be78861ca
Merge branch 'master' into signup-cta
...
Conflicts:
app/assets/javascripts/discourse/lib/key-value-store.js.es6
2015-09-15 12:26:25 -07:00
Kane York
62444b9a13
Fix the visit tracking logic
2015-09-15 12:25:12 -07:00
Robin Ward
62cc029886
FIX: Support using enter to change the hash, clicks should update hash
2015-09-11 12:47:44 -04:00