46 Commits (2faf175739c10c1e00d3fab0b67b55852f76660f)

Author SHA1 Message Date
Barış Soner Uşaklı f57b5f4e4c refactor 8 years ago
Barış Soner Uşaklı 01e2263c01 more tests 8 years ago
Peter Jaszkowiak c4bdb72941 ESlint no-unneeded-ternary
and no-extend-native, no-sequences
8 years ago
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing 8 years ago
Peter Jaszkowiak a038c66549 ESlint quotes 8 years ago
Peter Jaszkowiak b1b486f729 ESlint quote-props 8 years ago
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
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=`
8 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 8 years ago
barisusakli 98fff29869 closes #5082 8 years ago
barisusakli 8f408faf46 organize middlewares
removed app.locals.middleware
middlewares can be required anywhere, ie in controllers
9 years ago
Julian Lam 2e2c8b8e77 fixes #4584 9 years ago
psychobunny 9430a626f4 #3875 9 years ago
psychobunny 9bef54b5ed fix title for dashboard 9 years ago
psychobunny 07c50cba7d titles for ACP routes 9 years ago
barisusakli 75af978145 closes #3646 9 years ago
barisusakli 48512bff6b get rid of app.exposeConfigToTemplates 10 years ago
barisusakli eaefd9d24c remove meta/title.js and meta.title.build #3481 10 years ago
Julian Lam 170126680b #3213 10 years ago
barisusakli 2fd4bcde3f added req.uid user id for logged in users, 0 for guests 10 years ago
barisusakli 3809b331bc acp shenans 10 years ago
Barış Soner Uşaklı e6e755dd46 #2560 10 years ago
barisusakli 87435c1a9e return email:confirmed on admin header 10 years ago
barisusakli 4ce6341d85 fix acp for header changes 10 years ago
barisusakli 9d78a204df missing return 10 years ago
barisusakli 09a5d92dba correct method name 10 years ago
barisusakli 9075a8d4c9 added back isAdmin into admin middleware with a warning 10 years ago
barisusakli 97d01de155 fix acp 10 years ago
barisusakli ddd6ed9e8c #2477 403 page 10 years ago
Julian Lam 3ad509b93a fixed #2434 10 years ago
barisusakli b919d2ee77 shorther 10 years ago
Julian Lam deac12c540 closed #2424 10 years ago
barisusakli 698d113857 error checks in middleware/admin 10 years ago
psychobunny 1b2ccda40b closes #2231; see #2218 10 years ago
Julian Lam 40e5ad075f started work on #2082 11 years ago
Julian Lam 08c9cbdf70 changing admin API calls to return 404 if unauthenticated, and redirect user to login for regular URL. closes #1885 11 years ago
Julian Lam 4fa80263b0 fixed #1981 11 years ago
Julian Lam b56df975e0 fixed 1495 11 years ago
barisusakli 89225c80ca related to #1493 11 years ago
psychobunny 2627ed0fcd fixed filter:admin.scripts.get 11 years ago
Micheil Smith 3e82cab398 Add missing new lines at end of files. 11 years ago
psychobunny 6262312747 closes #1153 11 years ago
psychobunny d3aead7c13 changing renderHeader function signature to req, res, next 11 years ago
psychobunny 48b9289002 use the proper footer for admin 11 years ago
psychobunny d360320441 finally got admin header and footer working 👍 11 years ago
psychobunny eed97648b1 started moving admin mdw into middleware/admin.js; res.render post-processing to append admin footer/header 11 years ago