romanrizzi
f795c1b8e8
Revert "DEV: enforces ember-template-lint: no-triple-curlies ( #9150 )"
...
This reverts commit d436b600fb
.
Triple curlies are still necessary for some raw templates.
2020-03-10 15:00:12 -03:00
Joffrey JAFFEUX
d436b600fb
DEV: enforces ember-template-lint: no-triple-curlies ( #9150 )
...
This pr replaces `{{{ }}}` usage by a {{html-safe}} helper. While it doesn't solve the underlying issue, it gives us a path forward without risking breaking too much existing behavior.
Also introduces an htmlSafe computed macro:
```
import { htmlSafe } from "discourse/lib/computed";
htmlDescription: htmlSafe("description")
```
Overtime {{html-safe}} usage should be removed and moved to components properties or specialized components/helpers.
2020-03-10 16:46:57 +01:00
Joffrey JAFFEUX
4f37233208
DEV: enforces ember-template-lint: simple-unless ( #9146 )
2020-03-09 13:44:34 +01:00
Joffrey JAFFEUX
e9b6b0194c
DEV: enforce ember-template-lint: no-unnecessary-concat ( #9133 )
2020-03-07 12:58:48 +01:00
Kris
f81bebf93f
UX: Cap staff action detail height
2020-02-14 14:23:31 -05:00
Joffrey JAFFEUX
902d0e1e3a
DEV: enforces no-invalid-interactive linting rule ( #8907 )
2020-02-11 15:55:16 +01:00
Joffrey JAFFEUX
0431942f3d
DEV: select-kit 2 ( #7998 )
...
This new iteration of select-kit focuses on following best principales and disallowing mutations inside select-kit components. A best effort has been made to avoid breaking changes, however if you content was a flat array, eg: ["foo", "bar"] You will need to set valueProperty=null and nameProperty=null on the component.
Also almost every component should have an `onChange` handler now to decide what to do with the updated data. **select-kit will not mutate your data by itself anymore**
2020-02-03 14:22:14 +01:00
Jarek Radosz
d43e7354ec
DEV: Convert <button> tags to {{d-button}} components ( #8224 )
...
* DEV: Convert <button> tags to {{d-button}}
* Fixes
2019-11-04 11:23:54 +01:00
Bianca Nenciu
ba396a5384
DEV: Use ResultSet with staff action logs. ( #7661 )
2019-08-13 20:55:05 +03:00
Guo Xiang Tan
2265c5102f
DEV: Remove unnecessary condition.
...
Follow up to 21876d46d6
.
2019-06-06 15:55:49 +08:00
Guo Xiang Tan
21876d46d6
DEV: Missing loading spinner for staff action logs.
...
Follow up to e0c821ebb0
.
2019-06-06 15:41:55 +08:00
Bianca Nenciu
e0c821ebb0
FEATURE: Make staff action logs page support infinite loading
2019-06-06 13:02:53 +10:00
Kris
94f16ba931
UX: Make button icons use lighter color instead of opacity
2019-01-31 13:59:49 -05:00
Joffrey JAFFEUX
bd31423137
DEV: refactoring admin-logs-screened-ip-addresses ( #6932 )
2019-01-23 17:40:37 +01:00
Joffrey JAFFEUX
80d42b4ea2
icons deprecations fixes ( #6920 )
2019-01-22 12:02:02 +01:00
Joffrey JAFFEUX
f9648de897
DEV: upgrades from Ember 2.13 to Ember 3.5.1 ( #6808 )
...
Co-Authored-By: Bianca Nenciu <nbianca@users.noreply.github.com>
Co-Authored-By: David Taylor <david@taylorhq.com>
2019-01-10 11:06:01 +01:00
Kris
c219a5fb1e
Add btn-default class to all default buttons ( #6521 )
2018-10-24 16:09:36 -04:00
Neil Lalonde
dc1e7bb645
UX: when admin is deleted, make it clear in staff action logs when records belong to a deleted user and show their username in the details
2018-10-02 13:46:54 -04:00
Kris
c2cfb6ebae
mobile admin cleanup
2018-07-13 01:43:40 -04:00
Joe
2bfe700bd6
FEATURE: responsive admin pages
2018-07-03 11:14:53 +08:00
Arpit Jalan
614b1c8e68
FIX: admin was not able to unblock screened IP address
2018-02-20 00:36:13 +05:30
Robin Ward
713993d150
UX: Link post ids in staff action logs to the post
2018-02-13 15:59:10 -05:00
Arpit Jalan
eab66065d1
FEATURE: search log term details page ( #5445 )
2017-12-20 13:41:31 +11:00
Arpit Jalan
e3925278e2
FEATURE: support search click through tracking for user, category and tags
...
https://meta.discourse.org/t/search-logs-page/73281/11?u=techapj
This commit adds following features:
- support for tracking click through to user, tag and category
- new filter for search type (header, full page)
This commit also removes "most viewed topic" field from search logs page because we are now tracking multiple click through entities, so topic is not a special entity anymore. This also improves query perf. The query now takes `20.5ms` to runs, as opposed to `655.9ms` previously.
2017-12-01 12:04:55 +05:30
Arpit Jalan
f37a1d5976
UX: add tooltip to unique on search logs page
2017-11-28 15:29:35 +05:30
Arpit Jalan
3831663fea
FEATURE: search logs page ( #5313 )
2017-11-15 11:13:50 +11:00
Robin Ward
a931d7ba56
UX: Add new targetable class in staff-action-logs
2017-11-01 16:05:00 -04:00
Joffrey JAFFEUX
ae1743c61f
[WIP] select-box-kit refactoring
2017-10-19 12:51:08 -07:00
Robin Ward
d0c41a578e
Rename {{fa-icon}}
to {{d-icon}}
so it can be more generic
2017-07-27 14:55:41 -04:00
Sam
607998af33
FEATURE: dropdown to filter staff action logs
2017-05-30 11:25:42 -04:00
Robin Ward
bb0ab289b9
Migrate deprecated Ember.ListView to regular components.
...
This is slower for scrolling but it actually feels reasonably fast to
me? If we find it's a problem we can revisit once Ember 2.4 is fully in
place.
2016-11-24 12:59:20 -05:00
Robin Ward
6431b03d66
Remove the last of the admin view classes
2016-11-16 16:41:15 -05:00
Robin Ward
985b855a5b
FIX: Later versions of ember require dashes in template names
2016-11-09 14:50:34 -05:00
Régis Hanol
d6ab54378c
FIX: screened IP addresses list wasn't working anymore - TAKE 2
2016-05-18 19:27:39 +02:00
Régis Hanol
94a10516e9
FIX: screened IP addresses list wasn't working anymore
2016-05-17 09:43:55 +02:00
Robin Ward
995c01fb58
Deprecation: Remove controller
from templates
2016-05-11 14:26:08 -04:00
Robin Ward
da5e7c7383
Deprecations: {{bind-attr}} is deprecated
2016-05-11 14:26:06 -04:00
Robin Ward
c15ade8a88
Deprecation: {{view}}
helper
2016-05-11 14:26:06 -04:00
Régis Hanol
1704a362ef
FIX: manually blocking/whitelisting an IP address wasn't working
2015-12-17 19:40:50 +01:00
Régis Hanol
e3a80936c8
prefer empty href attribute to #
2015-09-08 18:27:20 +02:00
Arpit Jalan
92a2dd3ee3
FIX: staff action logs details were not showing up
2015-08-28 22:36:15 +05:30
Robin Ward
0d51c1f0a0
FIX: List views in admin were broken
2015-05-11 13:17:12 -04:00
Robin Ward
a74689932e
FIX: Invalid HTMLBars for staff action logs
2015-05-11 13:17:12 -04:00
Robin Ward
b3b4fd21ed
Broken WIP
2015-05-11 11:18:37 -04:00
Erick Guan
2e7c5e5f35
FIX: unmatched element prevents HTMLbars from compiling
2015-04-03 18:40:17 +08:00
Régis Hanol
8c5d8715cd
FIX: staff action logs not logging all changes
2015-02-25 17:18:22 +01:00
Régis Hanol
c4e427cf73
FEATURE: filter screened IP addresses
2015-02-10 19:38:59 +01:00
Robin Ward
4e64d16a47
FEATURE: Allow plugins to log staff actions
2015-02-05 15:26:34 -05:00
Sam
f23eb475a4
FEATURE: remove override stylesheet option, too confusing
2014-12-23 13:03:48 +11:00
Arpit Jalan
42cbe6ef2a
FEATURE: export csv for all the logs
2014-12-11 23:33:26 +05:30