Commit Graph

494 Commits

Author SHA1 Message Date
Robin Ward
f822491886 ES6: Convert a couple view helpers. They should probably be components
evnetually!
2014-06-11 11:05:49 -04:00
Régis Hanol
3b6b2770f3 BUGFIX: date of the post in the share dialog is now properly bound
CLEANUP: removed all unused handlebars helpers
REFACTOR: removed 'unbound' prefix (for performance reasons, helpers are unbound by default)
REFACTOR: added 'bound' prefix to bound helpers
REFACTOR: renamed helper using 'foo-bar-foo' syntax (instead of camel case)
2014-06-10 19:04:31 +02:00
Robin Ward
580a1bf8b0 ES6: Migrated and deprecated a bunch of views 2014-06-10 11:54:38 -04:00
Neil Lalonde
c61462662b Add ability to run validation on site settings. notification_email and other email address settings are now validated. 2014-06-09 16:59:20 -04:00
Robin Ward
7adb545168 ES6: Convert {{pagedown}} to {{pagedown-editor}} with deprecations 2014-06-09 12:16:27 -04:00
Neil Lalonde
b031327a46 Reverse the order of rows in a report so today is first 2014-06-06 17:08:35 -04:00
Sam Saffron
d97ceb1d72 FEATURE: log_out endpoint for admins 2014-06-06 13:02:52 +10:00
Neil Lalonde
cc257e1f5c Boolean site settings don't save immediately 2014-06-05 17:02:15 -04:00
Robin Ward
06965a999e Use replaceWith in order to not break the back button. 2014-06-05 10:18:31 -04:00
Jeff Atwood
3dd61a2056 f**ing bootstrap, span5 = .gutter 2014-06-05 02:57:56 -07:00
Jeff Atwood
3ed8b8f155 f**ing bootstrap, span2 = topic-avatar 2014-06-05 01:42:27 -07:00
Robin Ward
8e7f0aa268 Add back the choices, change the separator options 2014-06-04 12:54:58 -04:00
Robin Ward
a1887c97c6 Merge pull request #2405 from ligthyear/select2-sitesetting
AdminUI: Use Select2.js for SiteSetting Lists – adds Autocomplete and DnD-Sorting
2014-06-04 11:47:46 -04:00
Robin Ward
80fd714b23 FIX: Use replaceWith instead of transitionTo when redirecting to a
user's activity. That way the back button works nicely. Also we can now
shorten a lot of links that were going to activity instead.
2014-06-03 10:47:21 -04:00
Sam
9e9c41ac52 FEATURE: admins can clear screend emails if needed 2014-06-02 16:53:00 +10:00
Benjamin Kampmann
eb884f9928 Switch Admin Settings Lists to Select2.js
- and use jquery.sortable to allow sorting
 - support for autocompletion
2014-06-01 16:36:26 +02:00
Vikhyat Korrapati
a79bf11edb Admin badge creation bug fixes. 2014-05-27 09:03:55 +05:30
Vikhyat Korrapati
d208e4d517 Multiple grant badges. 2014-05-21 12:54:55 +05:30
Vikhyat Korrapati
a25087b62a Badges admin UI improvements.
* Query param to allow linking.
* Better handling of deleting unsaved badges.
* New badge list item style improvement.
2014-05-19 10:50:57 +05:30
Vikhyat Korrapati
6225b83f4a Show system badges in the admin interface but don't allow editing them. 2014-05-19 10:27:04 +05:30
Sam
9e3c08b5ee Merge pull request #2354 from vikhyat/badge-system
Badge system updates
2014-05-18 20:03:20 +10:00
Vikhyat Korrapati
8fe8e66280 Don't display system badges in the admin badges interface. 2014-05-18 12:28:14 +05:30
Jeff Atwood
b0ff2b2311 few more glyphs 2014-05-17 01:46:39 -07:00
Jeff Atwood
605cf96923 add some glyphs to new buttons 2014-05-17 01:27:12 -07:00
Jeff Atwood
e8d24edd16 shorten settings reset text, add glyph 2014-05-17 01:07:43 -07:00
Jeff Atwood
3793a2e06d add glyphs to user page API buttons 2014-05-17 01:02:30 -07:00
Jeff Atwood
5cd588c375 add glyph to API master key button 2014-05-17 00:57:01 -07:00
Jeff Atwood
1f0f71df65 add glyphs to API buttons 2014-05-17 00:54:20 -07:00
Neil Lalonde
57c970b692 FIX: enable button is broken when color scheme is not saved yet 2014-05-15 15:05:02 -04:00
Sam
fad868c78f Bump hashes on various files
Upgrade jquery


I made this commit cause my JS debugging CDN support added a header and
wanted we bump cache everywhere
2014-05-15 15:52:09 +10:00
Neil Lalonde
eb7aab3e0b FIX: revert button on all colors in a new color scheme 2014-05-14 10:19:00 -04:00
Neil Lalonde
4980cff802 Add descriptions. Make all the actions buttons. Add a revert button to colors. Add a new variable: quaternary. 2014-05-14 10:19:00 -04:00
Neil Lalonde
3b1e1731dc Remove the message that says the themer is under contruction 2014-05-14 10:18:13 -04:00
Neil Lalonde
c4d3aa3d47 Theming: a UI to choose some base colors that are applied to all the site css. CSS compiled outside of asset pipeline. 2014-05-14 10:18:12 -04:00
Régis Hanol
d11d31acaa BUGFIX: missing <tbody> tag inside a <table> 2014-05-13 17:46:57 +02:00
Jeff Atwood
5dd82bf723 add danger color to delete-and-block button 2014-05-04 00:38:29 -07:00
Neil Lalonde
f61f29439e Track the ip address where user was registered 2014-04-29 14:37:56 -04:00
Vikhyat Korrapati
b4e037dfb2 Allow badges to be marked as "titleable". 2014-04-28 10:30:38 +05:30
Neil Lalonde
20df262814 Add filters to colors ui 2014-04-25 10:10:17 -04:00
Robin Ward
cf6cbb955b REFACTOR: Introduce Discourse.computed.setting to create a computed
property that links to a `Discourse.SiteSetting`
2014-04-24 18:36:02 -04:00
Neil Lalonde
feaaf55a0c Theming: color scheme editing. Unfinished! Doesn't have any effect on css files yet. 2014-04-24 16:49:12 -04:00
Régis Hanol
d1b96d0e8b Merge pull request #2290 from vikhyat/badge-system
Incrementally load users in the badge page
2014-04-24 12:14:41 +02:00
Vikhyat Korrapati
0357370b0d Use the user-badge component in the admin user badges page. 2014-04-24 14:48:30 +05:30
Robin Ward
e48cf06fc9 REFACTOR: Add urls for admin groups, make it more idiomatic ember 2014-04-23 15:15:46 -04:00
Régis Hanol
ff1823beca BUGFIX: backups logs page was busted since last Ember update 2014-04-23 11:20:22 +02:00
Robin Ward
af877781b7 Allow admins to choose if groups are visible or not. 2014-04-22 16:43:46 -04:00
Jeff Atwood
b846eb4544 backup size column does not need to be so large 2014-04-17 23:49:58 -07:00
Neil Lalonde
6c7863bbba Show installed version on dashboard after upgrade 2014-04-17 14:26:44 -04:00
Robin Ward
c9c95a9ac2 FIX: Ember doesn't allow one route name, basic, and Discourse used it! 2014-04-17 10:45:06 -04:00
Vikhyat Korrapati
4c0f85650e Display badge count in the user admin page. 2014-04-16 18:08:10 +05:30
Neil Lalonde
2c4ada6c7d FIX: give an accurate reason why a user's posts can be deleted from admin 2014-04-14 15:10:41 -04:00
Sam
d3810ba3bc Merge pull request #2212 from vikhyat/badge-system
Show badges in the poster expansion card
2014-04-14 10:54:43 +10:00
Vikhyat Korrapati
3f4c5ed451 Show badges in the poster expansion card. 2014-04-11 06:59:11 +05:30
riking
6779bec58c Add UI for list site settings 2014-04-08 14:17:55 -07:00
Neil Lalonde
a784583004 FIX: search of site settings supports space or underscore 2014-04-07 11:14:12 -04:00
Neil Lalonde
dc3739d49f Replace underscore with space when showing site setting names 2014-04-03 16:08:14 -04:00
riking
0828cf52ee Add no-text class to buttons with no text 2014-03-29 23:28:04 -07:00
Régis Hanol
e5a04e3d5c BUGFIX: mismatched braces 2014-03-26 18:17:40 +01:00
Mikulas
c30a9365e4 add localization to group administration 2014-03-26 13:45:58 +01:00
Vikhyat Korrapati
61ec2b390e Don't display granted badges in the badge grant combobox. 2014-03-25 15:45:34 +05:30
Neil Lalonde
36cbd0d348 FIX: broken admin user page when must_approve_users is enabled 2014-03-24 11:43:06 -04:00
Neil Lalonde
e823558742 FIX: admin user page for suspended user was busted 2014-03-24 10:19:15 -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
Vikhyat Korrapati
0f9ea25010 Interface for granting/revoking badges from admin user page. 2014-03-21 11:09:19 +05:30
Robin Ward
51e3d72461 Merge pull request #2141 from riking/correctness
Lots of JS correctness fixes
2014-03-19 11:20:15 -04:00
Régis Hanol
80bfdeee82 Merge pull request #2147 from vikhyat/serialize-params
Route `serialize` hook argument is the model, not params
2014-03-19 09:30:26 +01:00
Vikhyat Korrapati
28731ea633 Route serialize hook argument is the model, not params. 2014-03-19 12:02:27 +05:30
Sam
eab30d1c28 Merge pull request #2146 from vikhyat/badge-system
Badge creation UI improvements
2014-03-19 17:11:00 +11:00
Vikhyat Korrapati
89d3835d64 Badge creation UI improvements. 2014-03-19 10:43:38 +05:30
Vikhyat Korrapati
a4461022a3 Move badges admin tab to after users, show only if enabled. 2014-03-19 09:48:04 +05:30
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
Robin Ward
d0edfe2179 Better error messages if the "Send Test Email" button fails. 2014-03-18 15:26:36 -04:00
Vikhyat Korrapati
9b26c8584e Initial badge system implementation. 2014-03-14 21:49:26 +05:30
Robin Ward
49a1733d97 FIX: We should use partials when rendering but keeping the same context. 2014-03-06 15:56:33 -05:00
Robin Ward
e2ea148e38 FEATURE: Allow customHTML helper to resolve to a template if it
exists.
2014-03-06 13:32:32 -05:00
Régis Hanol
e5a4dc6eac FEATURE: add a banner when read-only mode is enabled 2014-02-27 19:50:20 +01:00
Régis Hanol
68a935c36b FEATURE: upload backups 2014-02-22 01:41:01 +01:00
Neil Lalonde
b696c96a19 Look at the age of a user's first post to determine if the user can be nuked, instead of looking at when the user registered. 2014-02-20 12:29:40 -05:00
Régis Hanol
30ccdf3fb7 BUGFIX: calling _super() won't actually set the model to the controller
cf.
351719f7c1 (commitcomment-5410366)
for more information
2014-02-18 18:21:35 +01:00
Régis Hanol
351719f7c1 BUGFIX: do not forget Ember's default behavior 2014-02-17 21:58:28 +01:00
Régis Hanol
35fd03c1e4 Merge pull request #1961 from verg/site_settings_load_top
Scroll to top on Site-Setting category render
2014-02-17 09:47:20 +01:00
verg
7e8c30c715 Scroll to top on Site-Setting category render 2014-02-16 16:35:07 -05:00
Régis Hanol
683bf8c0a4 FEATURE: add all email logs tab 2014-02-15 01:17:13 +01:00
Régis Hanol
3f3c9ca7cb FEATURE: add filters on email logs 2014-02-15 00:50:08 +01:00
Neil Lalonde
e83ec810e1 FIX: heading shouldn't say Sent At on the page that shows email that were not sent. duh. 2014-02-14 13:09:22 -05:00
Neil Lalonde
35dae76bbd Log when and why an email was not sent in email_logs 2014-02-14 13:06:39 -05:00
Régis Hanol
41d16a3657 forgot the AdminBackupsLogsRoute 2014-02-13 13:31:14 -08:00
Régis Hanol
50273ba815 rename site setting to 2014-02-13 13:31:14 -08:00
Régis Hanol
6123223fd0 change button order, read-only mode comes first 2014-02-13 13:31:14 -08:00
Régis Hanol
38e365ea45 do not show the read-only alert to the admin 2014-02-13 13:31:13 -08:00
Régis Hanol
babcc3fc50 backup & restore client-side code 2014-02-13 13:31:13 -08:00
Régis Hanol
310a439f3d update client-side admin routes 2014-02-13 13:31:13 -08:00
Régis Hanol
26409dbef8 remove unnecessary () 2014-02-13 13:31:13 -08:00
Régis Hanol
1636dce624 this should really be the AdminController 2014-02-13 13:31:13 -08:00
Neil Lalonde
8711762143 Users who have made no more than one post can delete their own accounts from their user preferences page. 2014-02-13 13:52:06 -05:00
Neil Lalonde
6bbc3ec3e0 Add a way to flag a topic 2014-02-12 12:57:55 -05:00
Robin Ward
b61df08d1b FEATURE: Admin selector to choose a primary group for a user, display it
and apply a CSS class to their posts.
2014-02-10 17:00:15 -05:00
Robin Ward
45afed8720 FIX: Chrome has a bug where if you request the same URL with a different
MIME type, then leave and hit the back button, you'll get the last MIME
type requested instead of HTML. This fixes it.
2014-02-10 12:43:17 -05:00
Robin Ward
325c2dfaea Rename load to loadUsers which is what the method was actually
doing.
2014-02-07 10:44:51 -05:00