48 Commits (ea8cf6545c170e8811ba018e6d8e682cc2fc7d8c)

Author SHA1 Message Date
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
7 years ago
Peter Jaszkowiak dc87d7fc0f Use .js instead of .jst
Fix #5934
7 years ago
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
8 years ago
Peter Jaszkowiak 1ed571189c Make utils and translator easier to require
Move utils.walk to file.walk, backwards compatible
8 years ago
Peter Jaszkowiak 09e868ce5f ESlint no-useless-escape, no-else-return 8 years ago
Peter Jaszkowiak 277a7fb8b4 ESlint key-spacing, no-trailing-spaces 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
Peter Jaszkowiak c97764ee6f Fix incomplete "group" search results 8 years ago
Peter Jaszkowiak 2f07c18c5a All hail the glorious translation prebuilding 8 years ago
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
8 years ago
Peter Jaszkowiak 9fd64549a3 Use async instead of Promises 8 years ago
Peter Jaszkowiak 77e58f31c5 Fixes, passes tests 8 years ago
Peter Jaszkowiak de6ced4e07 Tests for admin search, simplifications 8 years ago
Peter Jaszkowiak e3dd68e19c Explanations and simplifications 8 years ago
Peter Jaszkowiak a431dc0305 ACP search updated to support translations 8 years ago
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
11 years ago
Julian Lam 7b4f596aba updating all group lib methods, and their callers -- #1252 11 years ago
barisusakli 1354739d19 user deletion #746
user deletion NOT SKALABLE
11 years ago
Baris Soner Usakli ccd29bfd61 added callback to category update 11 years ago
Baris Soner Usakli 6e5a6b8784 upgraded categories to sorted set, score is the order set from acp, check if category topic exists before posting 11 years ago
Julian Lam d380f69310 support for "registered users" and "administrators" in access control (categories). Renamed "Administrators" group to "administrators", and made hidden 11 years ago
Aziz Khoury f74f01ca77 Changed User.create signature to accept a hash, added a couple of utility functions as well 11 years ago
Baris Soner Usakli a802dc4b68 admin.js socket fixes 11 years ago
Julian Lam ea8aa3fff2 admin stuff, removed deprecated install templates, blah blah 11 years ago
Baris Soner Usakli 3bd8cf69a1 admins can create users from admin/users panel 11 years ago
Baris Soner Usakli 32d5118266 tons more changes 11 years ago
Baris Soner Usakli 3775c8e50a tons more changes 11 years ago
Baris Soner Usakli 140f90f7f3 cleaned up requires 11 years ago
Julian Lam f0e8633dcc category whitelisting for posting messages, isAdmin now error-first 11 years ago
Julian Lam 34459e7cf1 fixing category admin panel integration 11 years ago
Baris Usakli ac12bd0b8f closes #462 11 years ago
Baris Soner Usakli 2dcc4172c4 closes #357 12 years ago
Baris Usakli efef9c864c closes #306 12 years ago
psychobunny 1b9e451a6f formatting - server side admin 12 years ago
Baris Usakli 916150de01 closes #228 12 years ago
Julian Lam ce126b11fb fixes to administrator methods 12 years ago
Julian Lam bec0b46a2c refactoring installation scripts to use node prompt module, lots of other fixes
fixed #263, fixed #264, fixed #265
12 years ago
Baris Usakli 929282a2f7 ban users, closes #125, banning a user hides all posts topics of a user and their profile page becomes inaccessible 12 years ago
Baris Usakli ac3fe1fc6f closes #93 12 years ago
Baris Soner Usakli 38aa5aa3e6 refactor to remove category_name and category_slug from topic hashes 12 years ago
Baris Soner Usakli f90be52a07 warning msgs in admin 12 years ago
Baris Usakli 154f691ba2 done? 12 years ago
Baris Usakli 8b13048ec1 hash change 12 years ago
Baris Usakli 1a19f0e1bc changed categories to hash 12 years ago
Baris Usakli 746faa9488 delete user button in admin/users. the latest/top posters and most reputation sorting is working now in admin/users 12 years ago
Baris Soner Usakli e0debed04f removed ajax from make/remove admin 12 years ago
psychobunny 1162b2020d categories admin basic features completed - name, description, icon selector + background color 12 years ago
psychobunny 06aa2337d1 admincategories.js 12 years ago