Robin Ward
54445f21c1
FIX: .js files can't use ES6 syntax
2016-03-18 12:53:48 -04:00
Robin Ward
5d4ee2ca1d
FEATURE: Warn a user when they have few likes remaining
2016-03-18 11:30:29 -04: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
f85d848649
Remove a bunch of old deprecated code
2015-11-10 13:09:05 -05:00
Sam
ec4a1bb2c4
FIX: page tracking was not properly tracking transitions
...
PERF: move closure to self contained method so env is released earlier.
2015-09-17 11:06:33 +10:00
Sam
c2fd93ffa8
DEV: allow Discourse.ajax to be aborted if needed
2015-08-10 16:12:51 +10:00
Régis Hanol
d7aa4e81d6
revert 8f435fcbf6
2015-07-31 15:22:30 +02:00
Régis Hanol
8f435fcbf6
FIX: wrong track view header
2015-07-31 15:03:35 +02:00
Robin Ward
ed398e65e0
Fixes issues with composer
2015-05-11 11:18:38 -04:00
Robin Ward
3a6efa25f0
Allow ReadOnly to propogate up to the Ember app via Response Header
2015-04-24 14:37:16 -04:00
Robin Ward
77f9d1e223
Use pretender's passthrough for dynamically loaded scripts
2015-03-13 12:14:22 -04:00
Sam
1d3f4f6935
only send track view on get requests
2015-02-06 14:39:15 +11:00
Robin Ward
a852f6c56f
Add Discourse-Track-View header to XHR when transitioning
2015-02-05 16:07:51 -05:00
Robin Ward
68c2eb9a5b
Remove deprecated Discourse.ajax methods.
2015-02-05 11:07:15 -05:00
Sam
784697bf12
added todo
2015-01-30 15:11:46 +11:00
Robin Ward
271374a8c6
Remove some Ember.Deferred usage. It's deprecated.
2014-08-07 17:22:00 -04:00
Sam
ce942fe324
FIX: never cache ajax GET requests unless specified
2014-08-06 16:16:29 +10:00
Robin Ward
3c66e48573
TESTS: Remove URL_FIXTURES constant for pretender
2014-08-01 17:27:01 -04:00
riking
0d4163e0a2
FEATURE: Nice error handling page
2014-07-03 07:52:14 -07:00
riking
0612018569
Include the 'textStatus' field in DC.ajax rejection
2014-07-03 07:52:12 -07:00
Régis Hanol
a86002f582
add case insensitive test on ajax request type
2014-02-13 13:31:13 -08:00
Robin Ward
42117c684f
Remove console from .jshintrc. If we need our app to log, use
...
`Ember.Logger` instead.
2014-01-28 17:13:34 -05:00
Robin Ward
0c0833d6b9
FIXES #1833 , thanks @stefanpenner
2014-01-17 10:44:42 -05:00
Robin Ward
c4394688de
FIX: CSRF token retrieval bug
2013-12-03 15:30:33 -05:00
Robin Ward
274743b877
Refactor: Move initialization code into separate initializers that use the API we
...
developed for plugins.
2013-12-03 14:22:32 -05:00
Sam
7787770758
leftover console.log
...
jshint is upset
2013-08-27 16:02:36 +10:00
Sam
c4a0152dc6
recover from bad CSRF tokens without requiring a hard refresh of the browser
2013-08-27 15:56:12 +10:00
Sam
aa6c92922d
SECURITY: correct our CSRF implementation to be much more aggressive
2013-07-29 15:13:13 +10:00
Robin Ward
894dc2c6fd
Moved Discourse.ajax into a mixin.
2013-07-26 15:12:40 -04:00