850 Commits (266061c31a56f9d8de55df3b89677a8f08aec622)

Author SHA1 Message Date
Barış Soner Uşaklı eba1a405d2 load category parents and childrens in one call
add more missing guest/spider checks
6 years ago
Barış Soner Uşaklı a6864a8055 add groupTitle test for guests 6 years ago
Baris Usakli b83e50f286 remove delayImageLoading from api @julianlam 6 years ago
Barış Soner Uşaklı e17c4b2766 uid fixes 6 years ago
Baris Usakli c5a093e1f2 closes #6950 6 years ago
Barış Soner Uşaklı 69bb3293ee misc fixes
handle spider uids properly
6 years ago
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 😬
6 years ago
Julian Lam 501b3a79ca
Refactor skins to be built on server-side (#6849)
* WIP

* using bootswatch from npm instead of bootswatch CDN url

* feat: on-demand client css building for skins

* added ability for client-side to select a skin

* updated loading and saving logic of bootstrapSkin on client side user settings

* fix: broken test for #6849
6 years ago
Barış Soner Uşaklı 2e579ee0f9 closes #6883 6 years ago
Barış Soner Uşaklı 66ed48e088 closes #6875 6 years ago
Julian Lam 4919e9efa3 feat: allow disabling of GDPR features via ACP toggle, closes #6847 6 years ago
Baris Usakli 12f3f56b01 change to .exists 6 years ago
Barış Soner Uşaklı fb6067a7ca only parse if field is requested 6 years ago
Barış Soner Uşaklı f3a679e268 remove parseInts 6 years ago
Baris Usakli 138154a71c move modules 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ı f5fe91286e closes #6851 6 years ago
Barış Soner Uşaklı f53984aeae refactor user/category data 6 years ago
Barış Soner Uşaklı b2b33ffa57 topics data refactor 6 years ago
Barış Soner Uşaklı 26d4e0852f use includes instead of indexOf
use _.uniq instead of filter&indexOf
6 years ago
Barış Soner Uşaklı 1bea247748 add username/email to user-delete event 6 years ago
Barış Soner Uşaklı f77091d1ed change user delete so it returns quickly 6 years ago
Barış Soner Uşaklı 1cb2e1e368 remove console.log switch to series 7 years ago
Barış Soner Uşaklı 95501e8fee
closes #6738 closes #6290 (#6785)
* closes #6738 closes #6290

* fix test, delete keys

* delete all bans on user delete

* fix upgrade script to actually read reason
7 years ago
Barış Soner Uşaklı 3ed856f587 change if 7 years ago
Barış Soner Uşaklı 71ccd67665 closes #6722
calculate size of base64 image from buffer, still not perfect but better than string.length
7 years ago
Barış Soner Uşaklı b7ead6dc9c
Replace jimp with sharp (#6774)
* add probe image size and max image size

* replace jimp and image-probe with sharp

* better name for test

* resize with just path

* resize thumb inplace

* use filename
7 years ago
Barış Soner Uşaklı d996ea27be closes #6763 7 years ago
Barış Soner Uşaklı 25fed0aa8d change isPasswordCorrect to return false if user does not have password 7 years ago
Julian Lam 1e3cdc99ac fixes #6702 7 years ago
Julian Lam f9d3484ec6 fixes #6543 7 years ago
Julian Lam 3c6c0ed7a1 restoring passwordExpiry for use in continueLogin, fixed tests, hopefully 7 years ago
Julian Lam 786af5fbb3 derp 7 years ago
Julian Lam b6a5419ca1 closes #6674 7 years ago
Julian Lam 7dfe953526 closes #6672 7 years ago
Julian Lam 7558046e75 add brute-force protection for change password and email actions 7 years ago
Barış Soner Uşaklı 91f9c60660 closes #6643 7 years ago
Barış Soner Uşaklı cfb9784527 closes #6641 7 years ago
Barış Soner Uşaklı 8eea6017fe parseInt uid 7 years ago
Julian Lam a34584e8f5 fixed blocking cache derp 7 years ago
Barış Soner Uşaklı 3449cf321b add back cache and pubsub 7 years ago
Barış Soner Uşaklı ae0563375e derp 7 years ago
Baris Usakli 584f88e092 blocks WIP 7 years ago
Julian Lam 7e6007e146 revoke all sessions on email change 7 years ago
Julian Lam be0ef799ee closes #6592 7 years ago
Barış Soner Uşaklı ccad95cf73 closes #6579 7 years ago
Julian Lam 1f8b4bf820 closes #6576 7 years ago
Barış Soner Uşaklı 7a1888dfbf closes #6514 7 years ago
Barış Soner Uşaklı 6eea11a4fd closes #6529 7 years ago
Julian Lam 8e275df803 closes #6487 7 years ago
Julian Lam 4b25414c0b one more check 7 years ago
Julian Lam 9751c4b8db reworked logic in user.blocks.filter 7 years ago
Julian Lam 341a8d5046 guard against crashes if set is null or not passed in 7 years ago
Julian Lam 99f1a5380e closes #6483 7 years ago
Barış Soner Uşaklı beadcd7857 fix tests, remove dupe exposeUid 7 years ago
Julian Lam dc386b5b23 Merge branch 'master' into user-blocking 7 years ago
Julian Lam 8db98b5cf4 additional UCP integration for #6463 7 years ago
Julian Lam 3951bb9532 Merge remote-tracking branch 'origin/master' into user-blocking 7 years ago
Julian Lam 7089e5c6a6 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı 6659a520e0 closes #6465 7 years ago
Julian Lam 4f6cc20457 completed basic integration for #6463 7 years ago
Julian Lam 032ec8b443 tests!!! glorious tests!!!
re: #6463
7 years ago
Julian Lam a367b698e3 a bit more integration for #6463 7 years ago
Julian Lam bfee23adee basic methods and initial integration for #6463 7 years ago
Julian Lam a6564b7b4e endpoint to download user attachments, #6441 7 years ago
Barış Soner Uşaklı 5d2a7106f6 change upload storage 7 years ago
Barış Soner Uşaklı 927537c759 #6431 add private upload info 7 years ago
Barış Soner Uşaklı b35bfb81ce ability to delete uploads from account page #6431 7 years ago
Julian Lam 8e822c7772 Added user consent pages (#6430)
- "Your Rights & Consent" user settings page
7 years ago
Barış Soner Uşaklı 04979f86a8 delete users uploads on account delete
store uid:<uid>:uploads
7 years ago
Julian Lam 13a3f44ed3 closes #6432 7 years ago
Barış Soner Uşaklı 47606c8df5 merge 7 years ago
Julian Lam f769e734ed removed error output from user reset for rate limiting or incorrect email, so users cannot validate emails via this endpoint 7 years ago
Julian Lam 9641ada53c fixes #6415 7 years ago
Julian Lam 0158b1aa91 Various password logic fixes on client and server-side
Fixes #6399
Fixes #6400
7 years ago
Baris Usakli bf770636c5 closes #6377 7 years ago
Julian Lam 9e44fc6ae2 fixes #6371 7 years ago
Barış Soner Uşaklı fde44cb9b9 pass array to groups.destroy
pass array to db.sortedSetRemove
7 years ago
Barış Soner Uşaklı cfedcf7e0b check username 7 years ago
Barış Soner Uşaklı fe18a12ee0 if object doesn't exist user doesn't exist 7 years ago
Andrew Rodrigues 5602092de9 closes #6347 7 years ago
Barış Soner Uşaklı b9d410d612 closes #6332 7 years ago
Barış Soner Uşaklı 723f31a362 closes #6323 7 years ago
Barış Soner Uşaklı 7b6282f530 closes #6308 7 years ago
Barış Soner Uşaklı f2dcbcd710 closes #6318 7 years ago
Baris Usakli e99d4a5c61 closes #6313 7 years ago
Barış Soner Uşaklı 8427601b04 closes #6287 7 years ago
Barış Soner Uşaklı d70cdf1e28 show real emails sent number 7 years ago
Barış Soner Uşaklı d8b5d40668 closes #6242 7 years ago
Barış Soner Uşaklı 72140e5338 closes #5991, closes #5884 7 years ago
Barış Soner Uşaklı 1472bda9d2 closes #6225 7 years ago
Julian Lam 88b47f357b removed user.uploadFromUrl and associated logic as cropped image modal supercedes it @pichalite 7 years ago
Barış Soner Uşaklı 108c3c980a show invalid url error if request.head fails 7 years ago
Barış Soner Uşaklı e3ce817ab9 show settings in digest email closes #6160 7 years ago
Barış Soner Uşaklı b84e132601 remove unused settings 7 years ago
Barış Soner Uşaklı ee398d3979 don't crash if meta is undefined 7 years ago
Barış Soner Uşaklı 19ae8dc7e7 closes #6154 7 years ago
Barış Soner Uşaklı e3fd402070 escape email in registration queue and invites 7 years ago
Barış Soner Uşaklı a7a3f3619b dont allow login with invalid ip, escape ip display on user/info page 7 years ago
Barış Soner Uşaklı caaa72b752 closes #6124 7 years ago
Baris Usakli aecbcd9e89 add verbose message for field whitelist 7 years ago
Peter Jaszkowiak 74ceb78800 Upvote notification frequency selection (#6087)
Closes #5963

- Notify on every upvote
- Notify on every tenth upvote
- Notify logarithmically (on 10, 100, 1000...)
- Disable upvote notifications
7 years ago
Julian Lam bc6364f4c0 fixed #6082 7 years ago
Barış Soner Uşaklı dd176dd5f2
Notification delivery (#6072)
* ability for users to choose how they receive notifications

add type field to more notifications, the type field is used to
determine what to do based on user
setting(none,notification,email,notificationemail)

* change var name to types

* cleanup

* add event types for privileged users

* remove unused language keys

* fix uids check

* changed if statements

* upgrade script to preserver old settings
7 years ago
Barış Soner Uşaklı b6211fdc04
closes #6053 7 years ago
Barış Soner Uşaklı 6c755869cd
add back missing onSettingsLoaded 7 years ago
Baris Usakli eeedba697b closes #5804 7 years ago
acardinale 5ed6b5c414 Add User (uid) Welcome Notification (#6045) 7 years ago
Julian Lam 7e0d0e0eb5 Merge remote-tracking branch 'origin/develop' 7 years ago
Peter Jaszkowiak e609e497b3 Provide more error information to logs
Provides full stack instead of just message
7 years ago
Barış Soner Uşaklı 18f4f27fe0 closes #6024 7 years ago
Barış Soner Uşaklı 6b1af76f08 closes #6015 7 years ago
Peter Jaszkowiak 62ae171432 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı e7318a1cea Mongo cache (#6002)
* cache mongodb objects

remove user settings cache since it is cached at the object level

* removed indexOf from isMemberOfSets

* change has to get, change maxAge to 0
7 years ago
Peter Jaszkowiak 46fafb20b9 Remove string.js dependency 7 years ago
Baris Usakli 68bcfb2883 closes #5975 7 years ago
Baris Usakli 500c978a26 closes #5944 7 years ago
Peter Jaszkowiak da9da8190f Bump dependencies
Bumping eslint & configs meant making some linting fixes

For future reference, the `xmlhttprequest-ssl` library must be of equal versioning to the one in `engine.io-client`, otherwise it won't be deduped which causes the socket.io tests to fail
8 years ago
Barış Soner Uşaklı ff88be91fa Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Barış Soner Uşaklı 5dfb2fb83a up themes, fix notif test 8 years ago
Julian Lam c1d7b06ded Fixes #5873
- Notifications.getMultiple now takes an optional uid parameter
- If a notification link in dropdown points to a topic and you're
  in said topic, you will be scrolled to the post instead of
  ajaxified to it.
8 years ago
Baris Usakli dc9b21021a escape moderation notes 8 years ago
Baris Usakli 753f1576ce processSortedSet 8 years ago
Baris Usakli bc0645dc26 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Julian Lam f56578ab50 remove reset tokens if target user email changes 8 years ago
Baris Usakli bc6b1a8f56 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
# Conflicts:
#	public/src/admin/extend/plugins.js
8 years ago
Baris Usakli 24bbf8fe00 closes #5869 8 years ago
Baris Usakli 9dc0069ce7 closes #5845 8 years ago
Baris Usakli 875672522e Merge remote-tracking branch 'refs/remotes/origin/master' into develop
# Conflicts:
#	src/search.js
8 years ago
Barış Soner Uşaklı 7a405da60f group member search change 8 years ago
Baris Usakli 6cd0582b42 add filter:user.saveSettings 8 years ago
Baris Usakli 949595fdf3 fix eslint 8 years ago
Baris Usakli 541b78c26d fix ipMatch data 8 years ago
Julian Lam 4c0135e188 fixed missing payload items in invitation email 8 years ago
Julian Lam a2627d2066 added default payload to emails, and adding nodebb logo for email header 8 years ago
Baris Usakli fbddb665b0 make tests pass 8 years ago
Julian Lam e309ac5040 fixes #5790 8 years ago
psychobunny 0d60b17be1 use direct db call to get rss_token instead 8 years ago
psychobunny d44090ba18 Merge remote-tracking branch 'refs/remotes/origin/private-feeds' 8 years ago
psychobunny dd1cfd62d4 don't show rss_token in /api/user/name 8 years ago
Barış Soner Uşaklı 38af651072 use _.uniq 8 years ago
Barış Soner Uşaklı 3d85992757 modify db.processSortedSet so it works with intervals 8 years ago
Julian Lam 3cc528dc02 linting 8 years ago
Julian Lam 2e1528942c fixed #5770 8 years ago
Julian Lam eb9f6145d9 fixes #5770 8 years ago
Baris Usakli ef9e656f34 closes #5740
added token to topic page as well
check privilege even if token is provided
tests
8 years ago
psychobunny 228e9ab8e3 proof of concept for #5740 8 years ago
Barış Soner Uşaklı 5a55c882ab convert NaN uids to 0 8 years ago
Barış Soner Uşaklı 92376a1589 fix calls 8 years ago