Robin Ward
a9ed15e11a
FIX: Remove more of those pesky View classes
2016-11-11 17:03:15 -05:00
Robin Ward
a94f06ff78
Remove the ScrollTop Mixin
2016-11-10 15:25:04 -05:00
Robin Ward
bf91532260
Fixes some Ember Deprecations for 1.13:
...
- Remove ArrayController
- Remove {{view}} from templates
- Replace many cases of needs: [‘controller’] with inject
- Enable Ember Legacy Views
2016-10-21 11:06:07 -04:00
Robin Ward
a546395397
REFACTOR: Migrate markdown functionality in ES6
2016-07-11 12:57:05 -04:00
Robin Ward
b2bcefd906
Deprecation: Removes more references to view.xyz in templates
2016-05-11 14:26:08 -04:00
Robin Ward
c15ade8a88
Deprecation: {{view}} helper
2016-05-11 14:26:06 -04:00
Robin Ward
6451eb7637
.@each on leafs is deprecated in favor of .[]
2016-04-28 16:49:24 -04:00
Robin Ward
d7b568f98e
REFACTOR: Remove view from badges-show
2016-03-25 12:11:39 -04:00
Régis Hanol
91bb38626c
FEATURE: new incoming email details modal
2016-02-10 22:00:27 +01:00
Régis Hanol
3083657358
FEATURE: better email in support
...
FEATURE: new incoming_email model
FEATURE: infinite scrolling in emails admin
FEATURE: new 'emails:import' rake task
2016-01-19 00:57:55 +01:00
Robin Ward
434deb1bd3
SECURITY: Backported XSS fixes from Handlebars
2015-11-24 16:08:08 -05:00
Sam
5c899c765b
Revert "Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS""
...
This reverts commit c21457d6a7 .
2015-11-21 12:27:06 +11:00
Robin Ward
c21457d6a7
Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS"
...
This reverts commit c0b277d273 .
2015-11-20 10:00:12 -05:00
Sam
c0b277d273
REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS
...
This change is discussed here: https://meta.discourse.org/t/deprecating-es6-compatibility-layer/35821
Prior to this change we were not booting correctly with DISCOURSE_NO_CONSTANTS
2015-11-21 00:14:50 +11:00
Robin Ward
f5b34d5f53
FEATURE: Admin interface for editing email templates
2015-11-19 16:39:34 -05:00
Robin Ward
bb21902954
Add keyboard shortcuts back to d-editor
2015-11-03 14:01:26 -05:00
Robin Ward
02a968bd27
Remove ObjectController, Discouse Controllers + Presence
2015-08-13 10:49:08 -04:00
Robin Ward
e2e3e7c0e0
Add ES6 support to more files
2015-08-13 10:49:08 -04:00
Robin Ward
0442457e7b
Fix deprecations in admin groups interface
2015-08-13 10:01:29 -04:00
Robin Ward
0932e82508
Refactor Customizations to have deeper URLs
2015-08-10 10:21:04 -04:00
Régis Hanol
15418f3d44
FEATURE: new 'backup_frequency' site setting
2015-08-07 17:34:58 +02:00
Arpit Jalan
dc90c396f2
FEATURE: manage Permalinks
2015-07-17 01:26:02 +05:30
Robin Ward
ac2f5cbdab
FIX: Admin user fields weren't showing errors
...
Also updated it to remove deprecations and item controller
2015-07-10 12:31:30 -04:00
Robin Ward
0a35b20933
Convert Discourse.ScrollTop to ES6
2015-05-19 12:51:03 -04:00
Robin Ward
0d51c1f0a0
FIX: List views in admin were broken
2015-05-11 13:17:12 -04:00
Régis Hanol
424a3b042a
FEATURE: unified UI for pinning/banner topics
...
REFACTOR: ES6ified all the modals
2015-03-14 01:18:05 +01:00
Robin Ward
de4e4f2b98
Replace $LAB with path aware loadScript that uses jQuery
2015-03-09 14:39:39 -04:00
Robin Ward
84b84a9d7c
Support for url_list site setting.
2015-03-03 16:19:29 -05:00
Régis Hanol
1b2381d5a0
FIX: only remove custom CSS in admin on first load
2015-03-02 23:31:04 +01:00
Robin Ward
3f729438ad
ES6: Removed and renamed some admin views
2015-02-24 13:47:46 -05:00
Régis Hanol
cd423f4a43
use the view instead
2015-02-20 18:21:19 +01:00
Robin Ward
043e522f39
Wire up admin view properly
2015-02-20 12:18:42 -05:00
Régis Hanol
c9a007d5fb
FIX: backup logs on Firefox
...
FIX: debounce backup logs in order to prevent Firefox crash
FIX: 'Invalid date' in backup logs in Firefox
2015-02-09 16:53:28 +01:00
Sam
844467015d
FEATURE: allow simple selection for category badge styles
...
clean up category badge styling
2015-01-29 17:49:14 +11:00
Régis Hanol
6734a51b6a
move SiteText.{head,top,bottom} to SiteCustomization
2015-01-14 12:15:53 +01:00
Robin Ward
f3b72f5d96
Revert "move SiteText.{head,bottom} to SiteCustomization and remove redundant SiteText.top"
...
This reverts commit 6ee2849df6 .
2015-01-12 20:21:22 -05:00
Régis Hanol
6ee2849df6
move SiteText.{head,bottom} to SiteCustomization and remove redundant SiteText.top
2015-01-12 19:59:43 +01:00
Régis Hanol
060cda7772
FIX: proper handling of group memberships
2015-01-05 18:51:45 +01:00
Sam
049ae70f94
FEATURE: maximize button for customization css/html editor
2015-01-02 11:25:15 +11:00
Régis Hanol
0947191060
UX: improved our footer handling
...
- new "show-footer" mixins
- converted most of the routes to ES6
- FIX: handling of "indexStream" in user pages
There will now be a footer on all the following pages
- /exception
- /about
- /latest
- /new
- /unread
- /starred
- /top
- /categories
- /c/:category
- /c/:category/l/latest
- /c/:category/l/new
- /c/:category/l/unread
- /c/:category/l/top
- /t/:topic/:id
- /groups/:name/members
- /user/activity
- /user/activity/topics
- /user/activity/posts
- /user/activity/replies
- /user/activity/likes-given
- /user/activity/likes-received
- /user/activity/bookmarks
- /user/activity/starred
- /user/badges
- /user/notifications
- /user/flagged-posts
- /user/deleted-posts
- /user/private-messages
- /user/private-messages/mine
- /user/private-messages/unread
- /user/invited
- /user/:username/preferences
- /faq (static pages)
- /badges
- /badges/:id/:badge
2014-11-19 20:37:43 +01:00
Régis Hanol
15a5d06495
use proper case & remove unused view
2014-11-17 18:17:24 +01:00
Robin Ward
0d12ed2231
UX: More spinner upgrades
2014-11-13 15:40:28 -05:00
Robin Ward
873277ae5f
Add loading route support to admin flags
2014-11-11 15:48:13 -05:00
Régis Hanol
ec76be964e
UX: better footer handling
2014-11-10 21:51:55 +01:00
Robin Ward
0cbdf6f5bb
FIX: Many bugs with admin badges interface
...
* Editing a badge's title would show it as changed in the side even if
you didn't hit save
* Clicking a badge would not scroll to the top
* If there was an error saving a badge there was a missing i18n key
* URLs were using queryParams instead of paths
* User `label` tags for checkboxes for larger click targets
* Saved! text would persist when viewing another badge
* After creating a new badge it would show nothing
* Validation errors were not being properly released to the client
* Query errors were surrounded by an extra array
2014-10-17 16:14:49 -04:00
Robin Ward
9564ecde76
FEATURE: Site setting for words to censor in posts
2014-10-02 13:58:58 -04:00
Robin Ward
0fc0533134
FEATURE: Admin interface for adding custom fields for users
2014-09-25 16:17:51 -04:00
riking
1833b43ae2
FEATURE: Badge query validation, preview results, and EXPLAIN
...
Upon saving a badge or requesting a badge result preview,
BadgeGranter.contract_checks! will examine the provided badge SQL for
some contractual obligations - namely, the returned columns and use of
trigger parameters.
Saving the badge is wrapped in a transaction to make this easier, by
raising ActiveRecord::Rollback on a detected violation.
On the client, a modal view is added for the badge query sample run
results, named admin-badge-preview.
The preview action is moved up to the route.
The save action, on failure, triggers a 'saveError' action (also in the
route).
The preview action gains a new parameter, 'explain', which will give the
output of an EXPLAIN query for the badge sql, which can be used by forum
admins to estimate the cost of their badge queries.
The preview link is replaced by two links, one which omits (false) and
includes (true) the EXPLAIN query.
The Badge.save() method is amended to propogate errors.
Badge::Trigger gets some utility methods for use in the
BadgeGranter.contract_checks! method.
Additionally, extra checks outside of BadgeGranter.contract_checks! are
added in the preview() method, to cover cases of null granted_at
columns.
An uninitialized variable path is removed in the backfill() method.
TODO - it would be nice to be able to get the actual names of all
columns the provided query returns, so we could give more errors
2014-08-31 11:25:44 -07:00
Régis Hanol
8a20d05ba5
FEATURE: backup without uploads
2014-08-20 18:53:58 +02:00
Régis Hanol
ec30086dea
FEATURE: agree all the flags
2014-08-04 22:48:04 +02:00