Commit Graph

54 Commits

Author SHA1 Message Date
Peter Jaszkowiak
ba619c7ec8 style(eslint): match operator-linebreak preferences 2018-11-30 13:38:59 -05:00
Peter Jaszkowiak
43c3bb02e5 fix: #6991, add timeout for version Github request 2018-11-30 13:38:59 -05:00
Julian Lam
95cc27f1ff style(eslint): enforcing newline on chained calls 2018-11-08 11:36:00 -05:00
renovate[bot]
64b9dabff8 chore(deps): update dependency eslint-config-airbnb-base to v13 (#6599)
* chore(deps): update dependency eslint-config-airbnb-base to v13

* chore: #6599, linting 😬
2018-11-07 15:53:14 -05:00
Julian Lam
9d8dc6f589 encode user agent in request sent to github to retrieve tags 2018-04-11 10:51:57 -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
Peter Jaszkowiak
c47c47f7e3 Use less memory to build translation files (#6070)
* Change languages build to use less memory

Add graceful-fs so no ned to worry about fs limits

* Specify encoding for fs.readFile

Use eachLimit since graceful-fs handles that now
2017-11-16 17:43:52 -05:00
Peter Jaszkowiak
dc87d7fc0f Use .js instead of .jst
Fix #5934
2017-09-23 12:51:20 -06:00
Peter Jaszkowiak
abffc29128 Use Benchpress (#5901)
* Use Benchpress

* Use Benchpress.compileParse

* Error for template load failure

* Use benchpressjs package

* Compile templates on demand

* Fix user settings page

* Fix admin search to exclude `.jst` files

* Fix 500-embed

So ajaxify can still show an error if the server goes down
2017-08-24 19:26:50 -04:00
Peter Jaszkowiak
1ed571189c Make utils and translator easier to require
Move utils.walk to file.walk, backwards compatible
2017-04-08 20:27:52 -06:00
Peter Jaszkowiak
09e868ce5f ESlint no-useless-escape, no-else-return 2017-02-18 14:27:26 -07:00
Peter Jaszkowiak
277a7fb8b4 ESlint key-spacing, no-trailing-spaces 2017-02-18 01:27:46 -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
Peter Jaszkowiak
c97764ee6f Fix incomplete "group" search results 2017-01-14 14:09:46 -07:00
Peter Jaszkowiak
2f07c18c5a All hail the glorious translation prebuilding 2017-01-14 14:08:52 -07:00
Peter Jaszkowiak
862908d0eb ACP search and title improvements
- Search uses translated titles if available
- Use `advanced` for `development` route titles
- Remove route title from showing up in results
- Highlight matching part of result title
- Don't show empty result contents when only title is matched
2016-12-19 15:51:43 -05:00
Peter Jaszkowiak
9fd64549a3 Use async instead of Promises 2016-12-05 17:55:04 -07:00
Peter Jaszkowiak
77e58f31c5 Fixes, passes tests 2016-11-28 18:16:13 -07:00
Peter Jaszkowiak
de6ced4e07 Tests for admin search, simplifications 2016-11-28 12:59:41 -07:00
Peter Jaszkowiak
e3dd68e19c Explanations and simplifications 2016-11-28 12:53:47 -07:00
Peter Jaszkowiak
a431dc0305 ACP search updated to support translations 2016-11-28 12:52:26 -07:00
barisusakli
10f56faf9d admin cleanup
removed unnecessary admin checks in src/admin/user then realized they
are just one liners so moved them to src/socket.io.admin.js moved
categories update to categories folder
2014-04-01 17:12:07 -04:00
Julian Lam
7b4f596aba updating all group lib methods, and their callers -- #1252 2014-03-20 09:13:09 -04:00
barisusakli
1354739d19 user deletion #746
user deletion NOT SKALABLE
2014-03-14 19:07:50 -04:00
Baris Soner Usakli
ccd29bfd61 added callback to category update 2014-02-28 15:25:50 -05:00
Baris Soner Usakli
6e5a6b8784 upgraded categories to sorted set, score is the order set from acp, check if category topic exists before posting 2014-02-22 18:56:37 -05:00
Julian Lam
d380f69310 support for "registered users" and "administrators" in access control (categories). Renamed "Administrators" group to "administrators", and made hidden 2014-01-23 16:19:10 -05:00
Aziz Khoury
f74f01ca77 Changed User.create signature to accept a hash, added a couple of utility functions as well 2014-01-20 12:41:35 -05:00
Baris Soner Usakli
a802dc4b68 admin.js socket fixes 2014-01-17 12:42:19 -05:00
Julian Lam
ea8aa3fff2 admin stuff, removed deprecated install templates, blah blah 2014-01-10 13:27:50 -05:00
Baris Soner Usakli
3bd8cf69a1 admins can create users from admin/users panel 2013-12-23 13:27:26 -05:00
Baris Soner Usakli
32d5118266 tons more changes 2013-12-02 21:20:55 -05:00
Baris Soner Usakli
3775c8e50a tons more changes 2013-12-02 19:40:11 -05:00
Baris Soner Usakli
140f90f7f3 cleaned up requires 2013-11-30 13:35:42 -05:00
Julian Lam
f0e8633dcc category whitelisting for posting messages, isAdmin now error-first 2013-11-27 12:47:00 -05:00
Julian Lam
34459e7cf1 fixing category admin panel integration 2013-11-26 15:14:12 -05:00
Baris Usakli
ac12bd0b8f closes #462 2013-10-28 14:36:31 -04:00
Baris Soner Usakli
2dcc4172c4 closes #357 2013-09-29 21:29:43 -04:00
Baris Usakli
efef9c864c closes #306 2013-09-19 15:02:35 -04:00
psychobunny
1b9e451a6f formatting - server side admin 2013-09-17 13:10:58 -04:00
Baris Usakli
916150de01 closes #228 2013-09-11 16:04:34 -04:00
Julian Lam
ce126b11fb fixes to administrator methods 2013-09-07 15:49:23 -04:00
Julian Lam
bec0b46a2c refactoring installation scripts to use node prompt module, lots of other fixes
fixed #263, fixed #264, fixed #265
2013-09-07 10:40:20 -04:00
Baris Usakli
929282a2f7 ban users, closes #125, banning a user hides all posts topics of a user and their profile page becomes inaccessible 2013-08-14 13:32:07 -04:00
Baris Usakli
ac3fe1fc6f closes #93 2013-08-08 12:49:01 -04:00
Baris Soner Usakli
38aa5aa3e6 refactor to remove category_name and category_slug from topic hashes 2013-07-22 16:47:41 -04:00
Baris Soner Usakli
f90be52a07 warning msgs in admin 2013-07-05 13:46:18 -04:00
Baris Usakli
154f691ba2 done? 2013-07-03 14:51:44 -04:00
Baris Usakli
8b13048ec1 hash change 2013-07-03 13:24:41 -04:00
Baris Usakli
1a19f0e1bc changed categories to hash 2013-07-03 12:59:45 -04:00