- Oct 24, 2012
-
-
Rene Saarsoo authored
The monsterid was a bit too silly. Docs seem to require something a bit more formal.
-
Rene Saarsoo authored
A cleanup of leftovers from old MongoDB comments database.
-
Rene Saarsoo authored
Extract TopList base class. Define Tag and Target models using the new "comments" proxy which helps us with prepending comments-specific stuff to URL.
-
Rene Saarsoo authored
Replace the duplicated code with a more generic solution. Though it's now more complex, it'll allow us to add/remove/rename cards in the future more easily.
-
Rene Saarsoo authored
This change breaks compatibility with comments API of previous JSDuck release. But the only effect of this is that the Users and Targets lists on comments index page will be empty, so I consider it OK to make this change as it will only make the comments index page a bit less useful while the transition happens, but won't break anything badly.
-
Rene Saarsoo authored
Rename Comments.getAllTags to .getTopTags, so it's in line with .getTopUsers and .getTopTargets. Ensure tags are sorted alphabetically in TagEditor (the backend now returns them sorted by comment count).
-
- Oct 23, 2012
-
-
Rene Saarsoo authored
For now the comment counts aren't shown in tags menu, but otherwise it's working.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
For now the list of tags is completely hardcoded.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
- Oct 22, 2012
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Send tags along with comments from backend. Render the tags in comments template. Improved stylesheet for rendering all the items in top-right corner of each comment. For moderators, also render the add/delete buttons for the tags.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Implement the tags in nice relational fashion, but set up triggers to avoid quering the tags table with each select of comments, and instead precalculate a textual tags column inside the comments table. Also added a migration script.
-
- Oct 19, 2012
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Just rebuild the entire total-comments-per-class cache. We could do it in a smarter way, but as it only needs to be done when posting/deleting comments, it happens rarely enough. And the performance is actually just good-enough; no noticable lag.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Use the common Comments.avatar method to generate the <img> tag, giving us the same default avatar that we use everywhere.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
- Oct 18, 2012
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Also toggle the subscription checkbox depending on the status of subscription in commenting form.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
The guide config can now contain an "url" field which by default points to guides/<guide-name> but can be configured to point at anything desirable.
-
Rene Saarsoo authored
Remove an old restriction left over from the days when JSDuck didn't show private members at all.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Only when the enum is an auto-expanded list of alias values or when it's defined as array - only then show the warning.
-
- Oct 17, 2012
-
-
Rene Saarsoo authored
The :config_file task generates initial simple sdk-vars.rb config. The :configure runs both :get_extjs and :config_file, doing the initial setup for running jsduck.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-