Barış Soner Uşaklı
4eaa630b1c
refactor: async/await controllers/api
2019-08-18 19:06:51 -04:00
Barış Soner Uşaklı
f3a679e268
remove parseInts
2018-10-25 17:02:59 -04:00
Barış Soner Uşaklı
d5e85c2eb3
closes #6476 , closes #6546
2018-06-02 15:54:32 -04:00
Peter Jaszkowiak
eaae5b52cd
ACP quick actions ( #6374 )
...
* ACP quick actions
- Moved restart, build & restart, and logout into separate buttons
- Moved buttons on mobile into the side menu
- Added version and upgrade alert to header / mobile menu
- Moved version checking to server-side with a cache for rate limiting
- Changed "reload" translations to "rebuild and restart"
* Change info alert to black-on-white to match focused search bar
* Fix tests
* Fallback for failed fetch of latest version
2018-03-20 08:32:17 -04:00
Barış Soner Uşaklı
7b6282f530
closes #6308
2018-02-12 17:12:24 -05:00
Barış Soner Uşaklı
a11058bce2
closes #6004
2017-10-26 10:32:24 -04:00
Barış Soner Uşaklı
f57b5f4e4c
refactor
2017-05-24 15:07:13 -04:00
Barış Soner Uşaklı
01e2263c01
more tests
2017-05-12 17:53:23 -04:00
Peter Jaszkowiak
c4bdb72941
ESlint no-unneeded-ternary
...
and no-extend-native, no-sequences
2017-02-18 12:59:46 -07:00
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
a038c66549
ESlint quotes
2017-02-18 01:56:23 -07:00
Peter Jaszkowiak
b1b486f729
ESlint quote-props
2017-02-18 01:19:20 -07:00
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
2017-02-17 19:31:21 -07:00
Peter Jaszkowiak
05b68391dd
Use /assets for client assets
...
- Route `/assets` -> `build/public`, falling back on `public`
- Moved destinations for `nodebb.min.js`, `acp.min.js`, `admin.css`, `stylesheet.css`, `templates`, and `sounds` to `build/public`
- r.js modules previously routed through express are now symlinked into `public/build/src/modules`
- minfiles no longer served from a memory cache
- use config `views_dir` setting everywhere template directory is used
- fix cache buster `v=v=`
2017-01-14 22:38:40 -07:00
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
2016-10-13 11:43:39 +02:00
barisusakli
98fff29869
closes #5082
2016-10-05 15:22:35 +03:00
barisusakli
8f408faf46
organize middlewares
...
removed app.locals.middleware
middlewares can be required anywhere, ie in controllers
2016-08-26 18:50:37 +03:00
Julian Lam
2e2c8b8e77
fixes #4584
2016-04-29 13:46:13 -04:00
psychobunny
9430a626f4
#3875
2016-01-18 15:22:18 -05:00
psychobunny
9bef54b5ed
fix title for dashboard
2015-10-29 15:42:00 -04:00
psychobunny
07c50cba7d
titles for ACP routes
2015-10-28 20:35:56 -04:00
barisusakli
75af978145
closes #3646
2015-09-22 17:13:12 -04:00
barisusakli
48512bff6b
get rid of app.exposeConfigToTemplates
2015-08-27 19:22:51 -04:00
barisusakli
eaefd9d24c
remove meta/title.js and meta.title.build #3481
2015-08-26 15:55:00 -04:00
Julian Lam
170126680b
#3213
2015-06-04 13:42:10 -04:00
barisusakli
2fd4bcde3f
added req.uid user id for logged in users, 0 for guests
2015-04-01 00:23:57 -04:00
barisusakli
3809b331bc
acp shenans
2015-03-06 19:38:10 -05:00
Barış Soner Uşaklı
e6e755dd46
#2560
2015-02-23 14:05:43 -05:00
barisusakli
87435c1a9e
return email:confirmed on admin header
2014-12-24 00:06:37 -05:00
barisusakli
4ce6341d85
fix acp for header changes
2014-12-20 00:42:52 -05:00
barisusakli
9d78a204df
missing return
2014-12-07 16:37:05 -05:00
barisusakli
09a5d92dba
correct method name
2014-12-01 23:22:02 -05:00
barisusakli
9075a8d4c9
added back isAdmin into admin middleware with a warning
2014-12-01 23:07:47 -05:00
barisusakli
97d01de155
fix acp
2014-12-01 22:57:57 -05:00
barisusakli
ddd6ed9e8c
#2477 403 page
2014-12-01 21:07:23 -05:00
Julian Lam
3ad509b93a
fixed #2434
2014-11-20 13:22:27 -05:00
barisusakli
b919d2ee77
shorther
2014-11-18 23:31:17 -05:00
Julian Lam
deac12c540
closed #2424
2014-11-18 14:56:22 -05:00
barisusakli
698d113857
error checks in middleware/admin
2014-10-27 00:54:26 -04:00
psychobunny
1b2ccda40b
closes #2231 ; see #2218
2014-10-04 18:47:56 -04:00
Julian Lam
40e5ad075f
started work on #2082
2014-09-14 10:21:32 -04:00
Julian Lam
08c9cbdf70
changing admin API calls to return 404 if unauthenticated, and redirect user to login for regular URL. closes #1885
2014-08-31 22:43:00 -04:00
Julian Lam
4fa80263b0
fixed #1981
2014-08-12 14:15:01 -04:00
Julian Lam
b56df975e0
fixed 1495
2014-05-07 11:46:32 -04:00
barisusakli
89225c80ca
related to #1493
2014-05-06 13:05:31 -04:00
psychobunny
2627ed0fcd
fixed filter:admin.scripts.get
2014-04-23 19:30:38 -04:00
Micheil Smith
3e82cab398
Add missing new lines at end of files.
2014-04-10 20:56:53 +01:00
psychobunny
6262312747
closes #1153
2014-03-17 16:09:20 -04:00
psychobunny
d3aead7c13
changing renderHeader function signature to req, res, next
2014-03-03 16:54:28 -05:00
psychobunny
48b9289002
use the proper footer for admin
2014-03-03 16:40:26 -05:00