Robin Ward
3c66e48573
TESTS: Remove URL_FIXTURES
constant for pretender
2014-08-01 17:27:01 -04:00
Robin Ward
adea5b36a0
TESTS: Integration tests for login_required
2014-07-31 17:59:52 -04:00
Neil Lalonde
46bdd13491
FIX: too_few_topics_notice check and message should use basic_requires_read_posts site setting
2014-07-25 15:58:22 -04:00
Robin Ward
4592916026
ES6: Convert route builders to initializer
...
Remove deprecated `Discourse.addInitializer`
2014-07-02 16:47:43 -04:00
Sam
f8dec65b95
BUGFIX: setting title to aggressively
2014-06-17 11:32:59 +10:00
Sam
1af8a2fb63
BUGFIX: keeping noscript in DOM
2014-06-17 11:01:48 +10:00
Robin Ward
3f9c4100ef
Many Plugin upgrades.
2014-06-03 10:33:47 -04:00
Neil Lalonde
9aba666d3f
Also warn admins when there aren't at least 50 posts
2014-05-28 13:33:48 -04:00
Neil Lalonde
8c3770c0b0
Add site setting show_create_topics_notice as a way to hide the 'Create at least 5 topics to get discussion started' message.
2014-05-26 11:20:06 -04:00
Neil Lalonde
512771932a
Show a warning to admins if the site has fewer than 5 topics.
2014-05-23 12:25:16 -04:00
Robin Ward
a6670c6c83
Convert all initializers to Ember initializers
2014-05-16 14:04:34 -04:00
Robin Ward
63bf03ba5b
Support for automatic registering of initializers from plugins.
2014-05-15 17:05:29 -04:00
Robin Ward
fc65bc28be
FIX: Use the container to register Discourse's custom location handler
2014-04-17 10:45:06 -04:00
Sam
c27c87911e
FEATURE: refactor notice code, add optional global notice.
...
Set the global_notice site setting to notify users of a critical event.
2014-03-24 16:51:48 +11:00
Régis Hanol
a89e7ab662
binding to a POJO is useless
2014-02-13 13:31:13 -08:00
Régis Hanol
26b7bf388e
BUGFIX: JS error when login_required is enabled
2014-01-20 14:41:11 +01:00
Sam
a247389d4e
FEATURE: automatically update site to latest version of assets
...
if a user neglects to move around the site it will prompt to do so 2 hours in
2014-01-15 12:08:35 +11:00
Sam
fd95dbe75a
FEATURE: Automatically force a full refresh between pages if assets change
2014-01-15 12:08:35 +11:00
Régis Hanol
3a6bffa05d
FEATURE: better top pages
2014-01-14 01:09:12 +01:00
Sam
4b54e10d27
only update title if it changes
2014-01-09 10:27:14 +11:00
Robin Ward
6c4417e0f0
Use the standard .jshintrc file for JSHint options.
2013-12-31 12:41:40 -05:00
Robin Ward
7e984e369a
Upgrade JSHint. Fixes linting issues.
2013-12-30 12:42:05 -05:00
Robin Ward
50fe117d7c
FIX: Load order bug
2013-12-03 15:11: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
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
Sam
e57ddcf276
remove discourse dependency from message bus
2013-11-14 16:37:50 +11:00
Robin Ward
a1a89d01c4
JSHint
2013-11-12 11:25:27 -05:00
demil
adcfa4cf9f
Update discourse.js
...
Inserted if (url.indexOf(u) != -1) return url; in getURL function because of bug in subdirectory install on some urls doubles relative url prefix, for example /forum/forum/latest.json. With this fix it works fine.
2013-11-12 02:36:03 +01:00
Régis Hanol
934ede7d91
shorter message for untranslated strings
2013-11-04 11:52:12 +01:00
Sam
b567bd3d37
shift site settings in front of routes
2013-10-18 11:10:10 +11:00
Robin Ward
fc00269b7f
Pop up with user information when clicking avatar on topic page
2013-10-03 13:06:30 -04:00
Robin Ward
63d86eb9eb
FIX: Allow Spoiler plugin (and others that use prototype.on) to work even if ListView was not initialized.
2013-10-01 13:53:26 -04:00
Robin Ward
be0ce08cc2
Ember Upgrade: 1.0
2013-10-01 11:16:27 -04:00
Robin Ward
e3a56864dd
Changes to support Spoiler Alert plugin
2013-09-19 18:01:30 -07:00
Sam
681ff74cb8
Revert "inject currentUser into controllers & routes"
...
This reverts commit 7ec34b205a
.
2013-09-11 13:26:46 +10:00
Neil Lalonde
cc2acafc9a
Enable mobile view. Use local storage to remember whether you chose mobile or desktop view. Mobile device detection needs to be replaced with a better solution.
2013-09-10 16:44:17 -04:00
Gosha Arinich
7ec34b205a
inject currentUser into controllers & routes
...
Through Ember's DI, instead of doing so via a mixin.
2013-09-07 19:34:25 +03:00
Neil Lalonde
82bc6b677f
Add link in hamburger menu to switch between mobile and desktop views
2013-08-29 15:19:28 -04:00
Neil Lalonde
b84c7e4efb
Store mobile flag in Discourse.Session instead of Discourse
2013-08-27 16:50:50 -04:00
Neil Lalonde
009dec833f
Use Discourse.Resolver to load mobile templates when they exist
2013-08-27 13:41:36 -04: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
b69d089d06
we need to decalre favcount to keep tests happy
2013-08-18 21:52:13 +10:00
Chris Hunt
4372fc2f2e
Switch out faviconNotify for favcount.js
2013-08-18 11:26:03 -07:00
Robin Ward
86246a64eb
Convert Discourse.Site
and Discourse.ScreenTrack
to use Discourse.Singleton
2013-08-08 12:49:58 -04:00
Robin Ward
51f5cf77fb
Convert Discourse.User
to use Discourse.Singleton
2013-08-08 12:42:08 -04:00
Neil Lalonde
57baf1f112
Logout takes you to the front page instead of leaving you on your user activity page
2013-08-06 16:04:02 -04:00
Robin Ward
b11e1f8b40
Added ember-renderspeed library for profiling rendering. Removed old probes stuff that
...
that was just profiling the run loop.
2013-07-29 12:52:09 -04:00
Sam
aa6c92922d
SECURITY: correct our CSRF implementation to be much more aggressive
2013-07-29 15:13:13 +10:00
Robin Ward
5d66f6ed8e
Minor fixes. Link directoy to user activity to avoid a redirect.
2013-07-26 15:56:29 -04:00