riking
1540a3d5e5
Allow changing ownwership of posts by admins
2014-04-08 01:47:42 -07:00
riking
3f35d1062e
Remove trailing commas, add trailing semicolons
2014-03-18 18:21:10 -07:00
riking
593f5df503
Corrections to JSDoc
2014-03-18 18:19:20 -07:00
Régis Hanol
a86002f582
add case insensitive test on ajax request type
2014-02-13 13:31:13 -08:00
Régis Hanol
7a85e06119
BUGIX: no draft key when creating a topic from the /top page
2014-02-11 13:51:21 -08:00
Robin Ward
b61b33c0fa
Add groups list to the poster expansion when you click an avatar while
...
in a topic.
2014-02-10 12:30:36 -05: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
a502266c42
Enable JSHINT's unused option. It caught a bunch of suspicious stuff which is fixed in this commit.
2013-12-30 13:30:22 -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
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
Robin Ward
e5fd2946e0
Some topic list re-organization.
2013-11-11 15:07:08 -05:00
Neil Lalonde
8ea1a1069e
Use the debounce parameter instead of hard-coding 100
2013-10-28 16:17:06 -04:00
Sam
681ff74cb8
Revert "inject currentUser into controllers & routes"
...
This reverts commit 7ec34b205a .
2013-09-11 13:26:46 +10: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
Robin Ward
f157ec1f91
Select +Replies for bulk operations
2013-09-05 11:03:29 -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
Robin Ward
477eb81bc9
Updated docs for Discourse.Singleton
2013-08-08 13:00:48 -04:00
Robin Ward
51f5cf77fb
Convert Discourse.User to use Discourse.Singleton
2013-08-08 12:42:08 -04:00
Robin Ward
8e1fae0459
Add Discourse.Singleton class mixin for creating singletons.
2013-08-08 12:00:58 -04: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
Robin Ward
773823c41f
Remove Discourse.transient. Use a singleton for session data, it's a lot cleaner.
2013-07-26 14:59:28 -04:00
Robin Ward
0317cf9608
Show topics as a list of topics on the User Stream.
2013-07-25 15:56:20 -04:00
Robin Ward
c9c6a8fd9d
User stream now uses eyeline for loading more content.
2013-07-23 16:06:26 -04:00
Robin Ward
4bfb546942
Removed modelReady hack now that the async router exists
2013-07-16 13:24:59 -04:00
Robin Ward
82c21868f3
Moved JSHint into Qunit suite. It's much harder to forget about now!
2013-06-21 14:07:11 -04:00
Robin Ward
d78898443d
Oops: Forgot debugging information in scrolling handlers
2013-06-20 14:32:22 -04:00
Robin Ward
a8b5716421
FIX: Coudln't scroll while on Qunit page due to browser bindings
2013-06-20 14:29:59 -04:00
Robin Ward
60fce196c7
More Qunit tests including a CLI runner
2013-06-18 13:44:20 -04:00
Robin Ward
8e96299653
FIX: Discourse.Presence was broken on arrays. The flag button was showing for anonymous users.
2013-06-18 11:36:48 -04:00
Robin Ward
797b99db7c
Moved a bunch of tests to QUnit. Added basic Discourse.Site support to test suite.
2013-06-17 11:38:30 -04:00
Robin Ward
bddc9dd4b8
FIX: Replace modal with an empty view when closed. Fixes the bug where you'd edit a category, close
...
and then click edit again.
2013-06-11 16:41:09 -04:00
Sam
fa8a84f20c
removed sugar.js, port functionality to moment and underscore.js
...
bring in latest ace from local so we don't mess up with https
2013-06-11 15:27:26 +10:00
Robin Ward
07cd87f941
FIX: Couldn't navigate to Categories list via link
2013-06-05 12:40:06 -04:00
Robin Ward
545dbfc07e
New Feature: Staff can choose to "Take Action" when flagging to immediately reach hiding
...
thresholds.
2013-05-31 17:39:32 -04:00
Robin Ward
0af0a214b2
Refactor: Back all modals by controllers
2013-05-31 12:29:38 -04:00
Robin Ward
dd54736d06
Refactor: Removed the last of the references to Discourse.currentUser.
2013-05-28 11:52:31 -04:00
Robin Ward
a80ec535a3
Support for "Select All / Deselect All" while selecting posts to merge / delete.
2013-05-16 16:50:38 -04:00
Robin Ward
cf01c98d81
Experimental: Interface to Move Posts to an Existing Topic
2013-05-10 14:55:51 -04:00
Sam
35a9051f56
cleanup
2013-03-22 20:18:10 -07:00
Sam
e99f137316
refactor analysis of read posts and centralize logic
2013-03-22 00:40:08 -07:00
Sam
7ec0288c85
slight optimisation
2013-03-19 18:12:05 -07:00
Robin Ward
e461c84253
Clean up JS, add YUIDoc support, automatically create IIFE via asset pipeline
2013-02-25 17:16:57 -05:00
Robin Ward
45ab3ab892
JS refactoring that fixes presence errors in earlier reverted commit.
2013-02-22 11:00:47 -05:00
Robin Ward
f661fa609e
Convert all CoffeeScript to Javascript. See:
...
http://meta.discourse.org/t/is-it-better-for-discourse-to-use-javascript-or-coffeescript/3153
2013-02-20 19:01:13 -05:00
Jakub Arnold
61654ab8f0
Fix all the trailing whitespace
2013-02-07 16:45:24 +01:00
Robin Ward
21b5628528
Initial release of Discourse
2013-02-05 14:16:51 -05:00