Barış Soner Uşaklı
c15bdd4cf0
👋 Request, 🐶 Fetch, closes #10341 ( #12236 )
...
* axios migration
* controller tests
* add missing deps
* feeds
* remove unused async
* flags
* locale-detect
* messaging/middleware
* remove log
* meta
* plugins
* posts
* search
* topics/thumbs
* user/emails
* uploads.js
* socket.io
* cleaunup
* test native fetch
* cleanup
* increase engine to 18
fix remaining tests
* remove testing file
* fix comments,typo
* revert debug
2023-12-18 12:08:34 -05:00
Julian Lam
73dc64d9ff
feat: add dashboard sub-pages to ACP menu
2021-02-24 15:28:19 -05:00
Peter Jaszkowiak
23f212a4c0
chore: eslint prefer-destructuring
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
dab3b23575
chore: eslint no-var, vars-on-top
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
b56d9e12b5
chore: eslint prefer-arrow-callback
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
707b55b6a5
chore: eslint prefer-template
2021-02-08 18:06:44 -05:00
Barış Soner Uşaklı
083c74e059
refactor: api categories
2020-10-16 22:41:38 -04:00
Barış Soner Uşaklı
c913900ed6
feat: async/await admin/search
2020-10-16 00:05:55 -04:00
Barış Soner Uşaklı
264818e517
fix: use proper api url
...
no need to parse all tags since https://api.github.com/repos/NodeBB/NodeBB/releases/latest gives the latest non-prerelease, non-draft releases
2020-10-07 18:21:23 -04:00
Barış Soner Uşaklı
8eb62e2210
fix: tests, get latest release tag recursively
2020-10-07 18:14:45 -04:00
Julian Lam
a51fff8bd1
refactor: remove general menu from ACP ( #8347 )
...
* refactor: remove general menu from ACP
* fix: incorrect translation keys, fixed tests
2020-05-29 09:59:22 -04:00
Baris Usakli
3454a24b3c
refactor: change to const/let
2019-12-05 17:52:50 -05:00
Barış Soner Uşaklı
f9d6912b4a
refactor: async/await file
2019-09-23 22:30:17 -04:00
Barış Soner Uşaklı
75d7ae9272
refactor: async/await
2019-09-13 18:24:21 -04:00
Barış Soner Uşaklı
32ea04a872
feat: async/await controllers/admin/dashboard
2019-08-14 11:53:51 -04:00
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