Robin Ward
764cf7e3a5
FEATURE: Add longer suspension defaults
...
Also refactors and DRYs up the future input date data a lot
2017-10-26 14:16:35 -04:00
Robin Ward
f6f3b8ecc9
UX: Make admin user list easier to style
2017-10-23 16:06:05 -04:00
Robin Ward
e9159e49f3
FEATURE: Site Setting to determine whether flags defaults to topics
2017-10-20 12:37:20 -04:00
Joffrey JAFFEUX
ae1743c61f
[WIP] select-box-kit refactoring
2017-10-19 12:51:08 -07:00
Robin Ward
838568cbc3
Refactor flag types for more customization
2017-10-19 13:55:23 -04:00
Robin Ward
f7c967b754
Add forever to the suspension dropdown
2017-10-02 15:04:22 -04:00
Guo Xiang Tan
4ae3a4e89e
UX: Label should toggle checkbox.
...
https://meta.discourse.org/t/clicking-label-for-automatically-set-as-primary-group-doesnt-toggle-setting/71086/2
2017-10-02 16:07:53 +08:00
Robin Ward
41c3941c4c
FEATURE: Support regular expressions for watched words
2017-09-27 15:48:57 -04:00
Gerhard Schlager
1a37812625
FIX: show error message when keys are missing in email template
...
FIX: log email template changes in the Staff Log
2017-09-27 13:50:04 +02:00
Joshua Rosenfeld
fbfc4de3eb
Move staged below active
2017-09-26 16:46:37 -04:00
Robin Ward
b0eab6756d
UX: Weird alignment issue on flags
2017-09-25 16:29:48 -04:00
Robin Ward
073b74cf3f
FIX: Linting and broken test
2017-09-25 13:11:41 -04:00
Robin Ward
d1ebc62065
The ability to display errors on flagging actions.
2017-09-25 12:28:01 -04:00
Robin Ward
09ed2ed749
Add Suspend User to flags page
2017-09-25 12:28:00 -04:00
Robin Ward
079f108ceb
UX: Improve interface for flagging with many flaggers
2017-09-25 12:28:00 -04:00
Robin Ward
64fae87470
FIX: Object.assign
is not fully supported
2017-09-25 12:28:00 -04:00
Robin Ward
8323e22d0c
Rename auto-update-input
to more accurate future-date-input
2017-09-25 12:28:00 -04:00
Robin Ward
6bce3004d9
UX: Nicer selection of suspend duration
2017-09-25 12:28:00 -04:00
Robin Ward
677b016387
Send a suspension message via email to a user
2017-09-25 12:26:41 -04:00
Robin Ward
2a56cf8bb6
Tests + Refactoring for Suspension Modal
2017-09-25 12:26:06 -04:00
Robin Ward
6e48884274
Extract out common "cancel" link functionality from modals
2017-09-25 12:25:15 -04:00
Robin Ward
4020409bbf
Add support for suspension message
2017-09-25 12:25:14 -04:00
Robin Ward
daceeb9700
Refactor user suspension modal
2017-09-25 12:25:14 -04:00
Robin Ward
561fa7d0cd
FEATURE: Site Setting to hide suspension reason on the public profile
2017-09-25 12:25:14 -04:00
Robin Ward
d7c37d9369
Add front end service for staff controls
2017-09-25 12:25:14 -04:00
Robin Ward
5cf50f0034
Adjust flagged posts to use the store
2017-09-25 12:25:14 -04:00
Robin Ward
cc1a461254
Convert flags admin to flexbox
2017-09-25 12:25:14 -04:00
Robin Ward
1af4acbb3d
Add tests to flagged topics
2017-09-25 12:25:14 -04:00
Robin Ward
5e69217793
Add filtering support to flags
2017-09-25 12:25:14 -04:00
Robin Ward
be0eb0a554
Refactor flagged posts into components
2017-09-25 12:25:14 -04:00
Robin Ward
40eba8cd93
FEATURE: View flags grouped by topic
2017-09-25 12:25:14 -04:00
Robin Ward
bbbd974487
REFACTOR: Convert admin flagged posts to a component
2017-09-25 12:25:14 -04:00
KAJATIGER
3d2ded5d14
adding a tagName field
2017-09-25 19:22:50 +05:30
KAJATIGER
e868956412
adding a button at a new plugin outlet location in backup#index
2017-09-25 19:22:50 +05:30
Joffrey JAFFEUX
950b9e9eaf
FIX: keeps as much as possible the same api for select-box components
2017-09-09 20:29:07 +02:00
Joffrey JAFFEUX
cf6fb7622e
Replaces all notification-options like dropdowns with select-box
2017-09-08 20:47:39 +02:00
Leo McArdle
0ce9098339
add admin-user-details plugin outlet ( #5141 )
2017-09-07 16:17:27 +02:00
Robin Ward
db929e58fc
FIX: Don't allow staff to approve users with unverified emails
2017-09-04 12:55:39 -04:00
minusfive
8781c6bfcb
Removed unnecessary outer link-tos from admin/settings|watched-words navs
2017-08-30 09:14:56 -07:00
Joffrey JAFFEUX
746c5927e1
Replaces remaining {{category-chooser}} by {{category-select-box}}
...
To achieve replacement, this commit also adds support for:
- clearSelectionLabel which will allows to unselect any chosen category
- select-box inside a modal
- fixes minor css positioning issues
Note: {{category-chooser}} will be removed in the next weeks.
2017-08-30 17:04:17 +02:00
Bianca Nenciu
6bc74ceb50
Split alias levels in mentionable and messageable levels. ( #5065 )
...
* Split alias levels in mentionable and messageable levels.
* Fixed some tests.
* Set messageable level to everyone by default.
* By defaults, groups are not mentionable or messageable.
* Made staff groups messageable by the system.
2017-08-28 12:32:08 -04:00
Joffrey JAFFEUX
d52048ad34
Revert "Revert "FEATURE: improves select-box to support category selection on new topic""
...
This reverts commit 1d90f6016a
.
2017-08-24 16:04:47 +02:00
Joffrey JAFFEUX
1d90f6016a
Revert "FEATURE: improves select-box to support category selection on new topic"
...
This reverts commit 7b4e302677
.
2017-08-23 16:33:03 +02:00
Joffrey JAFFEUX
7b4e302677
FEATURE: improves select-box to support category selection on new topic
2017-08-23 15:08:19 +02:00
Joffrey JAFFEUX
cad6107624
refactors select-box
...
Note: this commit also now uses select-box for mobile topics controls
2017-08-16 00:41:56 +02:00
Joffrey JAFFEUX
9e475860e0
theme color select-box should be filterable
2017-08-13 14:53:07 +02:00
Joffrey JAFFEUX
482924b161
FEATURE: initial implementation of an ember native select
2017-08-13 14:34:50 +02:00
Neil Lalonde
3c538270e4
UX: placeholder text in watched word input field
2017-08-10 11:25:17 -04:00
Guo Xiang Tan
a9613163b5
FEATURE: Force user to enter reason when requesting for group membership.
2017-08-09 15:45:28 +09:00
Régis Hanol
4bfb049054
Add new 'group-edit' plugin outlet
2017-08-07 18:16:54 +02:00
Guo Xiang Tan
3f24ed2b3e
Can't revert due to incompatibility of new site setting types.
...
Revert "Revert "FEATURE: Site settings defaults per locale""
This reverts commit 439fe8ba24
.
2017-08-07 10:43:09 +09:00
Guo Xiang Tan
439fe8ba24
Revert "FEATURE: Site settings defaults per locale"
...
This reverts commit 468a8fcd20
.
2017-08-07 10:31:50 +09:00
Robin Ward
a3ef814245
UX: Show proper HTML for category preview in site settings
2017-08-04 13:56:27 -04:00
Robin Ward
58d452fc41
FIX: Site setting previews were not rendering
2017-08-04 13:48:02 -04:00
Erick Guan
468a8fcd20
FEATURE: Site settings defaults per locale
...
This change-set allows setting different defaults for different locales.
It also:
- Adds extensive testing around site setting validation
- raises deprecation error if site setting has the default property based on env
- relocated site settings for dev and tests in the initializer
- deprecated client_setting in the site setting's loading process
- ensure it raises when a enum site setting being set
- default_locale is promoted to `required` category.
- fixes incorrect default setting and validation
- fixes ensure type check for site settings
- creates a benchmark for site setting
- sets reasonable defaults for Chinese
2017-08-02 12:24:19 -04:00
Neil Lalonde
ec85b41078
UX: Move watched words to the Logs section of admin
2017-07-31 17:06:50 -04:00
Robin Ward
31deebc8e6
FIX: Extra <
character after icon refactor
2017-07-31 10:18:56 -04:00
Guo Xiang Tan
83bb042311
FIX: Group#visibility_level
isn't shown in admin group edit page.
2017-07-31 16:34:22 +09:00
Guo Xiang Tan
4620dfe92d
FEATURE: Add group settngs to allow users to leave a group freely.
...
https://meta.discourse.org/t/split-join-leave-freely-setting-on-groups/65565
2017-07-28 15:00:25 +09:00
Robin Ward
5b590b9637
REFACTOR: Replace some fa-*
uses with helpers
2017-07-27 14:55:41 -04:00
Robin Ward
d0c41a578e
Rename {{fa-icon}}
to {{d-icon}}
so it can be more generic
2017-07-27 14:55:41 -04:00
Neil Lalonde
68b3dd43ce
fix intermittent failing tests, some watched word refactoring
2017-07-27 12:27:01 -04:00
Guo Xiang Tan
2442bba131
UX: Better group creation workflow.
...
* Owners and users can now be added to a group during creation.
https://meta.discourse.org/t/you-cannot-allow-membership-requests-without-any-owners/64760/3
2017-07-27 16:12:42 +09:00
Robin Ward
e87125b63c
FEATURE: Plugins can overwrite and add support for new icons
2017-07-26 13:21:17 -04:00
Neil Lalonde
24cb950432
FEATURE: Watched Words: when posts contain words, do one of flag, require approval, censor, or block
2017-07-26 11:01:09 -04:00
Guo Xiang Tan
2a17f1ccd7
FIX: Group owners should be able to invite users to their groups.
...
https://meta.discourse.org/t/group-owner-cannot-send-an-invite-to-a-group/60617/12
2017-07-21 23:48:25 +09:00
Robin Ward
29d529020b
UX: Allow site settings to display as textareas if they like
2017-07-17 16:38:26 -04:00
Robin Ward
c53eeaaa68
REFACTOR: Remove requirejs
calls
2017-07-05 17:24:27 -04:00
Robin Ward
754c1e5438
Upgrade to Babel 6
2017-07-05 15:25:23 -04:00
Sam
845170bd6b
FEATURE: add support for group visibility level
...
There are 4 visibility levels
- public (default)
- members only
- staff
- owners
Note, admins and group owners ALWAYS have visibility to groups
Migration treated old "non public" as "members only"
2017-07-03 15:26:57 -04:00
Robin Ward
f6222ff225
FIX: Populate the Email Digest preview with the current username
2017-06-28 15:38:57 -04:00
Blake Erickson
9b8bf9c18c
reverting add readonly to site settings
...
see this commit for more details:
2ffddfb32c (commitcomment-22480952)
2017-06-12 06:53:57 -06:00
Blake Erickson
2ffddfb32c
add Enable read-only to Settings page
2017-06-09 16:07:02 -06:00
Neil Lalonde
d78956c0c5
FIX: topic flagged message squeezed into a small column
2017-06-05 11:23:23 -04:00
Robin Ward
e66fa82f3a
FIX: Don't load JS via SCRIPT tag in QUnit mode
2017-05-31 15:31:24 -04:00
Sam
607998af33
FEATURE: dropdown to filter staff action logs
2017-05-30 11:25:42 -04:00
Robin Ward
81c18fc0bd
UX: Add link to the user's preferences page next to the avatar
2017-05-26 15:00:49 -04:00
Neil Lalonde
f8584e28d7
UX: improved layout of flag handling UI on mobile
2017-05-24 15:52:29 -04:00
Arpit Jalan
decb432740
FIX: fill date input with default date range
2017-05-22 21:54:28 +05:30
Neil Lalonde
a0f03936ff
FIX: saving invisible primary group field that you don't belong to
2017-05-17 12:46:50 -04:00
Sam
c40ac5abe6
FIX: resize events for ace were not triggered correctly
2017-05-15 16:10:07 -04:00
Pat David
4bf8548dc5
Add embed class name setup for embeddable hosts
2017-05-11 15:16:16 -04:00
Sam
a5c4ddd334
oops my linter is not running automatically
2017-05-10 16:09:33 -04:00
Sam
2e13c2453b
FIX: maximize css editor not working
2017-05-10 15:47:11 -04:00
Sam
04b5516bf2
improve upload functionality
2017-05-10 15:47:11 -04:00
Sam
bc0b9af576
FEATURE: support uploads for themes
...
This allows themes to bundle various assets
2017-05-10 15:47:11 -04:00
Robin Ward
4db76796b9
FEATURE: Setting to poll feeds more frequently
2017-05-10 14:30:12 -04:00
Sam Saffron
c182dcc64c
FEATURE: add .admin-interface class to BODY when in admin
...
removes some dead code as well
2017-05-04 15:13:32 -04:00
Arpit Jalan
285c167fae
FEATURE: provide more details when performing a bulk add to group
2017-04-27 01:37:51 +05:30
Sam
a9b953ac5a
FIX: on create you could not add a theme component
2017-04-20 17:37:13 -04:00
jomaxro
b3eef0513f
Remove console logging
2017-04-20 16:08:16 -04:00
Sam
7a9eee1b71
FEATURE: default notification level for group messages
...
also fixes it so staff can amend other user's group notification level
2017-04-20 15:47:35 -04:00
Sam
7eabb90b71
FEATURE: added error messages for bad theme CSS / JS
2017-04-19 16:46:46 -04:00
Sam
0930db221f
FIX: destroying color scheme could remove wrong item from UI
2017-04-19 15:31:21 -04:00
Sam
c5ee448713
FEATURE: Only show overridden option for theme css
...
also fixes bad styling of mobile glyph
2017-04-19 15:24:00 -04:00
Sam
c76d780675
FEATURE: show a paintbrush for color schemes
2017-04-19 11:06:21 -04:00
Sam
bbeb69ddc9
FIX: sort theme by lower case theme name
2017-04-18 15:43:38 -04:00
Sam
8ffb918824
FIX: add more consistent gutter to ace editor
...
old css hack had issues when line number was higher than 10
2017-04-18 15:43:22 -04:00
Sam Saffron
a19c02f0d3
FEATURE: allow copying of color schemes to clipboard
2017-04-18 09:37:55 -04:00
Guo Xiang Tan
03762e2828
Merge pull request #4818 from OsamaSayegh/ui/groups-heading-admin-page
...
The "Groups" section's heading on user admin page was visible to mods
2017-04-18 16:12:33 +08:00
Sam
86904e9cd6
FIX: better error handling for theme import
2017-04-17 16:55:53 -04:00
Sam
5e3a0846f7
FEATURE: allow themes to share color schemes
2017-04-17 15:56:24 -04:00
osamasayegh
3e048d686e
The "Groups" section's heading on user admin page was visible to mods
...
Since moderators can't manage a user groups, they shouldn't see the Groups heading on the user admin page.
## Before:
![before](https://cloud.githubusercontent.com/assets/17474474/25099135/c0e1d5a4-23b3-11e7-95d1-8036bff057d4.png )
## After:
![after](https://cloud.githubusercontent.com/assets/17474474/25099130/c060a538-23b3-11e7-8428-602fc523e9e8.png )
2017-04-17 21:53:30 +03:00
Sam
def7348777
FIX: display custom sections with default theme
...
also cleans up mechanism for previewing themes, cleans up naming,
gets rid of old janky "preview_style", secures local theme key
2017-04-14 13:35:12 -04:00
Sam
9927489f4e
FEATURE: auto focus text editor when editing themes
2017-04-13 16:21:46 -04:00
Sam
43e4fc03ef
FIX: clicking on themes while editing left a blank screen
2017-04-13 15:49:46 -04:00
Sam
37d4dd4a4b
use scss mode instead of css mode
2017-04-13 12:05:27 -04:00
Sam
ee950b419f
correct transitioning to theme CSS editing
2017-04-13 11:09:31 -04:00
Guo Xiang Tan
3d76fb9c2c
FIX: Don't show category options for reports that can't be scoped to a category.
2017-04-13 17:10:55 +08:00
Sam
a3e8c3cd7b
FEATURE: Native theme support
...
This feature introduces the concept of themes. Themes are an evolution
of site customizations.
Themes introduce two very big conceptual changes:
- A theme may include other "child themes", children can include grand
children and so on.
- A theme may specify a color scheme
The change does away with the idea of "enabled" color schemes.
It also adds a bunch of big niceties like
- You can source a theme from a git repo
- History for themes is much improved
- You can only have a single enabled theme. Themes can be selected by
users, if you opt for it.
On a technical level this change comes with a whole bunch of goodies
- All CSS is now compiled using a custom pipeline that uses libsass
see /lib/stylesheet
- There is a single pipeline for css compilation (in the past we used
one for customizations and another one for the rest of the app
- The stylesheet pipeline is now divorced of sprockets, there is no
reliance on sprockets for CSS bundling
- CSS is generated with source maps everywhere (including themes) this
makes debugging much easier
- Our "live reloader" is smarter and avoid a flash of unstyled content
we run a file watcher in "puma" in dev so you no longer need to run
rake autospec to watch for CSS changes
2017-04-12 10:53:49 -04:00
Bianca Nenciu
9065df76ad
FEATURE: Change name from admin page.
...
https://github.com/discourse/discourse/pull/4770
2017-04-05 17:40:27 +08:00
Arpit Jalan
c43c78cb8a
FIX: do not add order param to user list unless required
2017-04-05 13:57:34 +05:30
Robin Ward
17f2974d0a
SECURITY: Confirm new administrator accounts via email
2017-04-04 15:59:01 -04:00
Robin Ward
14410b71fb
Convert server side paths to use /u/
2017-03-30 10:23:24 -04:00
Robin Ward
45a257815a
Convert front end paths from /users/
to /u/
2017-03-30 10:23:24 -04:00
Robin Ward
1d478a97db
FIX: Email Previewing was not showing in Firefox
2017-03-27 14:41:51 -04:00
Guo Xiang Tan
3ef82bb32c
SECURITY: CSRF vulnerabilities in Admin::BackupsController
.
2017-03-23 10:29:35 +08:00
Robin Ward
1cd14ef3aa
FIX: Site Settings weirdness with back button
2017-03-21 16:13:19 -04:00
Erick Guan
cfbfea0596
FEATURE: Allow easier customization to the web hook event serialization.
2017-03-16 10:09:05 +08:00
giorgia
576982484d
FEATURE: Make admin user list sortable.
...
https://meta.discourse.org/t/make-admin-users-list-sortable-suggestion/47649
2017-03-16 09:24:15 +08:00
Guo Xiang Tan
324b346bb1
FIX: Restore was not redirecting to logs route.
2017-03-14 14:00:18 +08:00
Guo Xiang Tan
0e41b1181a
UX: Display button to add a group when no group has been selected.
...
https://meta.discourse.org/t/new-button-on-groups/44546
2017-03-10 17:15:49 +08:00
Arpit Jalan
dfd5b06c82
FIX: custom CSS/HTML files were not getting downloaded on Chrome
2017-03-09 01:09:26 +05:30
Rafael dos Santos Silva
c3477cd40d
Merge pull request #4716 from discourse/bounced_emails_details
...
FEATURE: Allow checking the raw response of a bounced email
2017-03-06 13:30:19 -03:00
Rafael dos Santos Silva
aac4a4ed94
Handle invalid parameters and missing bounced emails
2017-03-02 20:37:28 -03:00
Blake Erickson
80858bae2c
FEATURE: further restrict downloading of backups
...
- send email to logged in admin when they press the "download" button
- show pop-up that email was sent
- create email template
- require a valid token to download backup
2017-03-01 08:28:34 -07:00
Robin Ward
e863d66e33
FIX: Back button was broken after clicking flags in hamburger
2017-02-28 13:53:48 -05:00
Rafael dos Santos Silva
5296f00c28
FEATURE: Allow checking the raw response of a bounced email
2017-02-22 14:51:33 -03:00
Arpit Jalan
2f657b0e32
FIX: do not refresh staff action logs every time the page is loaded
2017-02-22 17:25:39 +05:30
Arpit Jalan
213a496203
FIX: show all staff events related to the target user
2017-02-22 13:31:40 +05:30
Arpit Jalan
c216f59eaa
fix the build
2017-02-22 00:43:37 +05:30
Arpit Jalan
046cbad10b
FEATURE: add a button on admin user page that links to action log
2017-02-21 21:38:37 +05:30
Régis Hanol
269f6e8c30
UX: top referrers headings are not numbers
2017-02-16 15:58:45 +01:00
Neil Lalonde
d68dd5b967
Revert "UX: Observe changes to plugin to hide/show plugin admin link without refresh."
2017-02-09 12:11:53 -05:00
Robin Ward
44f913b9b8
FIX: Incorrect title on admin reports
2017-02-02 10:56:12 -05:00
Guo Xiang Tan
cbc6aee137
UX: Display large numbers with delimiters.
2017-01-09 15:56:02 +08:00
Guo Xiang Tan
aa9ac0d8b2
Make eslint happy.
2017-01-09 13:59:00 +08:00
Guo Xiang Tan
fed7218deb
UX: Observe changes to plugin to hide/show plugin admin link without refresh.
2017-01-09 13:56:15 +08:00
Guo Xiang Tan
4a7d6ea751
Make eslint happy.
2017-01-09 11:24:55 +08:00
Guo Xiang Tan
c260a4e34d
FIX: Can't add categories when creating a new web hook.
2017-01-09 11:22:35 +08:00
Arpit Jalan
6d26e348b6
FIX: 'add permalink' feature was broken
2017-01-05 18:50:17 +05:30
Régis Hanol
caf704068c
Merge pull request #4635 from caugner/fix-add-emoji-custom-class
...
FIX: Add emoji-custom class in custom emojis list.
2017-01-05 09:47:30 +01:00
Claas Augner
9710b04c31
UX: Add icon for bookmarks report
2017-01-05 02:07:38 +01:00
Claas Augner
2c723f8323
FIX: Add emoji-custom class in custom emojis list.
2017-01-04 23:54:03 +01:00
Arpit Jalan
a1f0375f1c
FIX: correct route for updating user title
2016-12-29 23:07:57 +05:30
Claas Augner
e17bd6174c
Extract helper i18n-yes-no.
2016-12-28 11:45:41 +01:00
Claas Augner
8760f13c77
FIX: Translate all boolean values in user index
2016-12-27 11:16:30 +01:00
Robin Ward
16b236899c
FIX: custom-html
tag had broken information
2016-12-20 11:49:30 -05:00
Régis Hanol
c302ffe08f
FIX: buttons in user admin page weren't working
2016-12-20 12:26:53 +01:00
Régis Hanol
3c3008fec3
FIX: clicking 'Show Email' on admin page wasn't working
2016-12-20 11:35:13 +01:00