Commit Graph

48 Commits

Author SHA1 Message Date
Andrew Rodrigues
3c9689a5ac feat: settings sorted list (#8170)
* feat: settings sorted list

see https://github.com/NodeBB/nodebb-plugin-quickstart/pull/9/files for sample
2020-02-21 12:18:09 -05:00
Barış Soner Uşaklı
09ef3999b0 fix lint 2018-04-06 11:59:22 -04:00
Barış Soner Uşaklı
a4c24cb66b fix saving multiple selects as json arrays 2018-04-06 11:39:19 -04:00
Barış Soner Uşaklı
089769c107 closes #6302 2018-02-02 09:41:58 -05:00
Julian Lam
e604d6e23e closes #5768 2017-06-21 09:51:59 -04:00
Barış Soner Uşaklı
29c0b8337e closes #5645 2017-05-10 14:43:52 -04:00
Peter Jaszkowiak
144fa8698c Eslint no-lonely-if 2017-02-18 14:32:35 -07:00
Peter Jaszkowiak
09e868ce5f ESlint no-useless-escape, no-else-return 2017-02-18 14:27:26 -07:00
Peter Jaszkowiak
04bb6513b0 ESlint no-cond-assign, no-void, valid-jsdoc 2017-02-18 13:51:26 -07:00
Peter Jaszkowiak
32dc7c23ea ESlint guard-for-in, no-nested-ternary
and operator-linebreak
2017-02-18 13:28:03 -07:00
Peter Jaszkowiak
ac2f69f7af ESlint no-return-assign
and no-restricted-modules
2017-02-18 12:35:49 -07:00
Peter Jaszkowiak
3b0dd2d1ef ESlint padded-blocks 2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
a038c66549 ESlint quotes 2017-02-18 01:56:23 -07:00
Peter Jaszkowiak
604358ecc4 ESlint keyword-spacing, no-multi-spaces 2017-02-18 01:52:56 -07:00
Peter Jaszkowiak
a5a3f3089a ESlint no-mixed-operators 2017-02-18 01:51:11 -07:00
Peter Jaszkowiak
3361a72725 ESlint no-plusplus
and no-empty, space-unary-ops
2017-02-18 01:12:18 -07:00
Peter Jaszkowiak
b09b3aef7f ESlint no-undef, remove global comments 2017-02-17 22:03:55 -07:00
Peter Jaszkowiak
2ba46808a1 ESlint one-var, fix comma-dangle 2017-02-17 20:20:42 -07:00
Peter Jaszkowiak
bc1d70c126 ESlint comma-dangle 2017-02-17 19:31:21 -07:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
Mathias Schreck
ce9ee62fa0 Handle callback errors 2016-08-17 12:54:59 +02:00
Julian Lam
e7386e20cf closes #4505 2016-07-28 11:51:19 -04:00
psychobunny
30c1001e5d #3522 also for settings v2 2015-08-31 13:52:38 -04:00
barisusakli
5e3e1f8781 #3430 2015-08-14 15:14:20 -04:00
psychobunny
fdc66eb607 fixes checkboxes for settingsv2 (deja vu) 2015-07-20 17:13:25 -04:00
psychobunny
541fd474b3 fixes checkboxes for both settingsv1 and settingsv2 2015-07-10 14:07:57 -04:00
Julian Lam
b4e39374bb firing 'change' event for all checkboxes after settingsv2 load 2015-07-09 13:31:14 -04:00
yariplus
1102f40873 Add object setting plugin
Allows objects to be added to a plugin's settings using a tag with a JSON-like syntax in data-attributes.
A complex object can be created by using an array or another object as a parent, the object will be added to the parent array or the parent object's declared property instead of as it's own data-key.
2015-03-06 10:20:35 -05:00
Julian Lam
a3cadff1d3 updated settings module (v2) to fix multiple selects and checkboxes using name instead of id, which isn't always guaranteed to be set. 2015-01-27 14:47:39 -05:00
Julian Lam
d096a639d6 fixed #2657 -- there's a slight chance this might break other ACP pages, but my limited testing tells me it is ok so far 2015-01-27 13:14:07 -05:00
Schamper
883422760d Fix settings save message 2014-10-01 22:30:22 +02:00
barisusakli
fdf19f9025 closes #2022 2014-08-27 01:27:17 -04:00
Julian Lam
23c4b8ca35 only showing ACP setting saved alert if no callback is passed in 2014-07-10 13:35:48 -04:00
psychobunny
281aa0049c init, attempt to increase cold load speed 2014-05-29 17:24:38 -04:00
psychobunny
f2a692add7 some linting of settings.js 2014-05-11 16:41:26 -04:00
psychobunny
c3e4c7dea1 using var instead of const for < IE10 compatibility
@frissdiegurke
2014-05-11 16:34:21 -04:00
FrissDieGurke
ab2c0cfa9f added number-type to settings framework. persist expanded object on server-side sync if changed 2014-05-10 19:49:50 +02:00
FrissDieGurke
c4606e7009 minified settings-framework wrapper-length 2014-05-04 13:08:20 +02:00
FrissDieGurke
c23df60e1b removed unnecessary method + doc within Settings Framework 2014-05-04 12:34:22 +02:00
Ole Reglitzki
4da8121827 jsbeautify 2014-05-01 15:12:31 +02:00
Ole Reglitzki
d76ba519d4 added new settings-system 2014-05-01 14:58:12 +02:00
Micheil Smith
3e82cab398 Add missing new lines at end of files. 2014-04-10 20:56:53 +01:00
Julian Lam
da1a1d5930 adding callback to settings.load, and omitting password validation check on user creation if no password is entered (e.g. SSO login) 2014-03-18 20:21:47 -04:00
Julian Lam
61afee98c3 updates to new settings mechanism, updating markdown minver, minor linting for upgrades.js, and upgrade stmt for markdown migration 2014-03-18 11:44:22 -04:00
Julian Lam
16f1db4f5d fireEvent reflection socket call, tweaks to Sounds page in ACP 2014-03-17 11:36:30 -04:00
Julian Lam
14a0b45ae8 securing settings.save socket listeners behind admin namespace 2014-03-17 10:48:30 -04:00
Julian Lam
c1ccc81400 ACP integration for Sounds 2014-03-17 10:37:11 -04:00
Julian Lam
0ea14324ac adding missing files 2014-03-14 00:35:36 -04:00