161 Commits (5c984250c8d86e84983ed555118b3bb4eb532e26)

Author SHA1 Message Date
Opliko 04f4429f72
Resolve #7514 - optional timer for registration queue (#8796)
* feat: #7514 Optional timer for registration queue

* feat: show minutes in average time

* fix: don't show total number of minutes

* feat: implement requested changes

* fix: just store minutes instead of milliseconds

* feat: set default values
4 years ago
Barış Soner Uşaklı 9e3eb5d41a feat: #8821, allow guest topic views 4 years ago
Barış Soner Uşaklı 6ac73ccb7e feat: #8801, disable express compression by default 4 years ago
cryptoethic b3ed26ac2c
feat: revoke user sessions above threshold (#8731)
* feat: revoke user sessions above threshold

* fix: removed translations from en-US

* fix: defined default maxUserSessions in install\data\defaults.json
4 years ago
Kyle Farris 2b785628e7
fix: removed invalid options for the sendmail transport (#8576)
* Removed invalid options for the sendmail transport that were causing Nodemailer to return the SMTPTransport instead.

* Removed options for rate limiting in admin email interface. Added new option for toggling whether to use pooled connections.
4 years ago
Julian Lam e3e55f25d0 refactor: flag sanity checks, +feat: flag limits
- Added new config flag:limitPerTarget, to disallow flags after an item has
  already been flagged x times (default 0, or infinite)
- New zset flags:byTarget, score is the number of times a flag has been made
  against that item
- "already-flagged" translation key removed, now "post-already-flagged" or
  "user-already-flagged" -- this fixed bug where flagging a user you've already
  flagged would tell you you've already flagged this post already.
- Refactored Flags.canFlag to throw errors only, instead of returning boolean
- Updated ACP form inputs for reputation settings page to be more bootstrappy
- +1 upgrade script
5 years ago
Barış Soner Uşaklı c513b88dff feat: #8427, daily downvote limits 5 years ago
Barış Soner Uşaklı e09ab3dc19 feat: closes #8440, allow configuring max topic count 5 years ago
Julian Lam 6f504c4142
Remove allowFileUploads ACP option (#8324)
* feat: allow awaitable upgrade scripts

* feat: allowFileUploads removal upgrade script

* refactor: remove unnecessary ACP option `allowFileUploads`

* fix: updated upgrade script template to not use callback arg

* fix: upgrade script as per @baris

* fix: add missing await

* fix: add missing await
5 years ago
Julian Lam 01bff2ae05 fix: add txt to list of default allowed file extensions 5 years ago
Barış Soner Uşaklı a73c755b05 feat: closes #8308, edit post notif for watched topic posts 5 years ago
Julian Lam ccc6118d30
Testing suite integration for openapi spec (#8263)
* feat: testing suite integration for openapi spec

The testing suite now takes the openapi spec into account. It will
check each route defined, make a call to it, and compare the
response with the defined schema. Any mismatches will cause the
test to fail.

* fix(openapi): removed debug stuff from tests

* fix(openapi): fixed some tests

* fix(openapi): added additional check to tests, test fixes

* fix(openapi): better tests, fixed spec errors

* fix(openapi): bad conditional in test

* fix: oops

* fix(openapi): more tests fixing

* fix(openapi): more tests

* fix(openapi): fix some more tests

* fix: verbose'd an info log

* fix: topic pagination route returns schema-optimized pagination block

* fix(openapi): more test/spec fixes

* fix(openapi): accidentally sending in authenticated jar for anon routes

* fix(openapi): more test/spec fixes

* fix(openapi): more spec fixes

* fix: timestampReadable Invalid Date

* fix(openapi): more tests... almost there

* fix(openapi): more tests fixing

* fix(openapi): finally all tests passing

* fix(openapi): added reverse test to compare response to spec

... and fixed all the tests that broke

* fix: remove tests related to group covers, as route is gone

* fix(openapi): broken test on travis

* fix(openapi): broken test on travis

* fix(openapi): broken test on travis

* fix(openapi): object cache is not present for psql

* fix: tests

Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
5 years ago
Baris Usakli 4d66978338 fix: #8073, configurable necroThreshold 5 years ago
Barış Soner Uşaklı 1cedc4a0d6 feat: #7957, allow post queue based on group
allow multiple select in ACP pages
5 years ago
Barış Soner Uşaklı 0843497dd4 fix: #7893, check private upload setting 5 years ago
Baris Usakli 2abe244b6e fix: newPostEditDuration 6 years ago
Barış Soner Uşaklı 6a289fbac9 fix: #7789 6 years ago
Julian Lam 8a6a58ee43
feat: added new admin option newbiePostEditDuration (#7737)
* feat: added new admin option newbiePostEditDuration

Also:
  - Grammar-checked a couple language strings
  - Moved a couple form inputs around in new user restrictions
  - Added a test for the new option
  - fix: 'defore' typo
6 years ago
Barış Soner Uşaklı 5fa5e999f8
Plugin metrics (#7626)
* feat: add enable/disable checkbox for plugin usage

* feat: submit plugin data to packages.nodebb.org

only submit in production mode
submit once every 24 hours
dont submit for plugins that have "private": true in plugin.json
enabled on new installs
disabled on existing installs

* fix: hash not working after first send

fix statusCode

* fix: remove url

* feat: show compatibilty

* feat: add install question for submit plugin usage
6 years ago
Barış Soner Uşaklı 4b843ba16f fix: #7567, allow invite and approval at the same time 6 years ago
Barış Soner Uşaklı 157b921e14 fix: #7634, make strip exif configurable 6 years ago
Baris Usakli cf5aeace6b feat: closes #7583 6 years ago
Julian Lam 63e16ec0a2 fix: #6911, email throttling options set 6 years ago
Barış Soner Uşaklı 70d9c6c4ce fix: #7232 6 years ago
Barış Soner Uşaklı cd1209906d fix: give default privs on new install to guests/spiders 6 years ago
Barış Soner Uşaklı eb7ae54f81
Category watch state (#7109)
* feat: wip, category watch change

* feat: pass data to client

* feat: allow changing state

* fix: account page categories

* fix: show in unread if topic is followed or category is watched

* feat: add default watch state to acp

* feat: save user category watch state

* feat: update unread recent pages

* fix: remove dupe code

* fix: flip conditions

* fix: handle empty arrays

* fix: ignore/watch on others profile

* feat: upgrade script for category states

if there are any users ignoring categories set their state in new zset and delete cid:<cid>:ignorers

* fix: upgrade

* fix: tests

* fix: redis count

* fix: more tests
6 years ago
Barış Soner Uşaklı ec0c50d4e0 fix: #7041 6 years ago
Barış Soner Uşaklı 94e10c8c32 closes #6972 6 years ago
Barış Soner Uşaklı f0dead7aba more tooltip work 6 years ago
Barış Soner Uşaklı 69bb3293ee misc fixes
handle spider uids properly
6 years ago
Barış Soner Uşaklı b6771836cf closes #6937 6 years ago
Barış Soner Uşaklı 116866d53a double default post cache 6 years ago
Barış Soner Uşaklı 2e579ee0f9 closes #6883 6 years ago
Julian Lam 4919e9efa3 feat: allow disabling of GDPR features via ACP toggle, closes #6847 6 years ago
Barış Soner Uşaklı 9c03881d5a add threshold for image resizing 6 years ago
Barış Soner Uşaklı 7a44424214 parse '123' to 123 if it has no default 6 years ago
Barış Soner Uşaklı 4fff5e9baf closes #6855 6 years ago
Barış Soner Uşaklı 9c022afae1
Parse int (#6853)
* Store config fields as JSON in the db

Fewer parseInts

* Remove unnecessary parseInts

* remove some dupe code add tests

* remove console.log

* remove more parseInts

* WIP: read meta.configs defaults from defaults.json

remove more parseInts

* more work

* add log for failing test

* update admin pwd

* fix tests, dont require posts/cache before configs are initialized

* handle saves

* Test boolean conditions

* remove more parseInts

* Fix boolean values

* remove lots more parseInts

* removed json parsing

* renamed var to number

* categories dont have timestamp
6 years ago
Barış Soner Uşaklı 77beaf2e15
Allow local login,closes #6800 (#6803)
* WIP

* reset groups cache after every suite
6 years ago
Barış Soner Uşaklı 1c286e4536 not even used 7 years ago
Barış Soner Uşaklı a7267df404 closes #6464 7 years ago
Barış Soner Uşaklı df770aed8e closes #6416 7 years ago
Barış Soner Uşaklı 2faaf5b35f closes https://github.com/julianlam/nodebb-plugin-mentions/issues/99 7 years ago
Aziz Khoury dc83e85bb4 add maximumChatMessageLength to defaults.json (#6352) 7 years ago
Barış Soner Uşaklı 723f31a362 closes #6323 7 years ago
Barış Soner Uşaklı 651b1cc9f8 closes #6321 7 years ago
Barış Soner Uşaklı 72140e5338 closes #5991, closes #5884 7 years ago
Baris Usakli a19537dc25 closes #6137 7 years ago
Baris Usakli 1837ac2015 closes #5788 8 years ago
Barış Soner Uşaklı 3a1eba2537 merge 8 years ago
barisusakli 33e8ecc1f4 closes #5404 8 years ago
Peter Jaszkowiak c7929ec7d8 Add option for disabling language autodetection 8 years ago
barisusakli e3205bcfad merge 8 years ago
Peter Jaszkowiak 6e5a79842f Fix #5595 8 years ago
barisusakli e63559b6fd closes #5484 8 years ago
barisusakli bb05e6e393 closes #4916 9 years ago
Julian Lam 492a5ff730 proper year in copyright footer 9 years ago
barisusakli 25f3a31ff1 closes #4587 9 years ago
Julian Lam 8eaff1492a Added ACP option to customise recent post
Before, could either be OP or last reply.

Now, you can choose between OP, last reply, or last post (which
includes OP)
9 years ago
pichalite 8947ac74a4 bookmarkThreshold 9 years ago
pichalite 43a3a81cf7 add missing ACP defaults for new install 9 years ago
psychobunny 0c1376c884 closes #4390 9 years ago
pichalite 2cf300f0e1 set default option for allowPrivateGroups on setup 9 years ago
barisusakli d7df6c0b06 remove more from config 9 years ago
psychobunny cbcae33173 epic fail spelling 9 years ago
Jared Busch 396b623039 update copyright in footer 9 years ago
barisusakli 323cc165b6 closes #3851
dont use post file upload for cover uploads
check cover upload file size against new setting
store cover uploads in profile folder
use `uid-profilecover` filename for cover uploads
9 years ago
yariplus 853aa37cd2 Add user home pages. #3616 9 years ago
Julian Lam 7e6703c18e more line ending conversion #3343 10 years ago
barisusakli fba6e1dfe2 added min/max tags setting to defaults.json 10 years ago
Julian Lam 22251cb0bd fixed #3341, introduced new navigation data property, "targetBlank", deprecated "target", which was never exposed anyway, and updated default values 10 years ago
barisusakli 65ab5733ef added categories navigation item, ability to change logo url 10 years ago
barisusakli 072d287183 closes #3311 10 years ago
barisusakli 57c2418157 closes #1306 10 years ago
barisusakli 714c7356f9 closes #3176 10 years ago
barisusakli 9749658d35 added about me field 10 years ago
Barış Soner Uşaklı c9b5948034 closes #2927 10 years ago
barisusakli d5dd48ecc8 closes #3013 10 years ago
CisMous 5bb2f2bb62 fix type error 10 years ago
psychobunny f082270f25 got rid of hideIfPrivate 10 years ago
psychobunny d545492b67 navigation: moved target to properties 10 years ago
psychobunny e90f3bf7c8 fix typo in install data 10 years ago
psychobunny 1774cf0b15 allow language strings in menu items 10 years ago
psychobunny fbc0a11c87 nav - basic ACP setup 10 years ago
psychobunny 307204fc38 nav - added enabled/disabled 10 years ago
psychobunny 9a24110a37 jsonlint 10 years ago
psychobunny d754a6390e navigation install data 10 years ago
Barış Soner Uşaklı d09a53197e closes #2570 10 years ago
psychobunny f4c587c530 move hardcoded initial welcome text into welcome.md 10 years ago
barisusakli 255f50343c closes #2685 10 years ago
Julian Lam b91d39a0d3 almost everything for #2335 10 years ago
Julian Lam 62d85b0e26 updated installation data to only create four categories by default, and altered colour to be less stark (heh, what does that mean anyway...). Also added an intro post 10 years ago
Barış Soner Uşaklı 412263f430 Update defaults.json 10 years ago
barisusakli c1f3b94d67 closes #2073 10 years ago
barisusakli 4066607388 closes #2052 10 years ago
Julian Lam 45a0d0196b Merge branch '0.5.1' into hashtalk 10 years ago
Julian Lam 101288c75c Merge branch 'master' into 0.5.1 10 years ago
Julian Lam 6ade1e858d updating default config so the site title is shown 10 years ago
barisusakli 31eccb8e7f configurable post delay before first post 10 years ago
barisusakli 5c84a3adb5 closes #1974 11 years ago