Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						d6c946cf14 
					 
					
						
						
							
							refactor: sessionUUID ( #12658 )  
						
						... 
						
						
						
						* refactor: sessionUUID
* test: get uuid from sessionsstore
* refactor: dont load all sids again in revoke
* feat: upgrade script, get rid of second sessionStoreGet
* allow disabling maxUserSessions by setting to 0 
						
						
					 
					
						2024-06-26 17:34:04 -04:00 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
							
						
						565ca3cc3b 
					 
					
						
						
							
							fix: deprecated emailer hook  
						
						
						
						
					 
					
						2023-12-05 10:41:23 -05:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						e452c097d0 
					 
					
						
						
							
							refactor: get rid of some async.waterfall/series/parallel calls  
						
						
						
						
					 
					
						2023-09-22 11:44:32 -04:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						f42b636adc 
					 
					
						
						
							
							test: fix authentication tests to use new token saving utility functions  
						
						
						
						
					 
					
						2023-05-11 15:22:50 -04:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						607c8d9052 
					 
					
						
						
							
							Merge branch 'master' into develop  
						
						
						
						
					 
					
						2023-02-13 12:15:54 -05:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						1b29dbb69d 
					 
					
						
						
							
							test: add dummy emailer hook in authentication test  
						
						
						
						
					 
					
						2023-02-13 12:15:45 -05:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						69806662e6 
					 
					
						
						
							
							Session Timeout if "Remember Me" is not checked ( #11125 )  
						
						... 
						
						
						
						* fix: convert loginDays and loginSeconds to number inputs
* feat: configurable session timeout for when "Remember Me" is not checked
closes  #11124 
* test: addition tests to check loginDays and sessionDuration settings
* test: also test loginSeconds override 
						
						
					 
					
						2023-01-05 14:10:02 -05:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						fecdab8b6f 
					 
					
						
						
							
							refactor: helpers.loginUser to be fully async  
						
						
						
						
					 
					
						2023-01-04 16:25:47 -05:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						f93a0b83bb 
					 
					
						
						
							
							test: fix tests so that when user.create is called, email is set prior to confirmation  
						
						
						
						
					 
					
						2022-08-04 14:24:30 -04:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						ea1ed66717 
					 
					
						
						
							
							test: add more asserts to failing test  
						
						
						
						
					 
					
						2022-06-13 18:45:27 -04:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						7434cbf66f 
					 
					
						
						
							
							test: add api token tests  
						
						
						
						
					 
					
						2021-11-26 18:59:29 -05:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						c93d7fdbdd 
					 
					
						
						
							
							breaking: remove deprecated uploads.delete  
						
						
						
						
					 
					
						2021-11-23 15:16:41 -05:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						2473d5d873 
					 
					
						
						
							
							fix :  #10027 , properly auto confirm first user  
						
						
						
						
					 
					
						2021-11-22 23:20:31 -05:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						c5f08fdc81 
					 
					
						
						
							
							breaking: remove socket.io/flags.js  
						
						... 
						
						
						
						refactor: helpers.loginUser returns a single object {jar, csrf_token} 
						
						
					 
					
						2021-11-22 19:23:51 -05:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						07859f7e8c 
					 
					
						
						
							
							fix: ban info test  
						
						
						
						
					 
					
						2021-09-21 17:12:59 -04:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						6694bdd550 
					 
					
						
						
							
							fix(emails): registration tests, email no longer passed-in, API tests (confirm email for test accounts)  
						
						
						
						
					 
					
						2021-07-30 13:29:13 -04:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						f9728aff2c 
					 
					
						
						
							
							feat: clear reset tokens on successful login  
						
						
						
						
					 
					
						2021-06-14 11:50:36 -04:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						f4c5050a16 
					 
					
						
						
							
							fix: failure on session reroll  🍣  test  
						
						
						
						
					 
					
						2021-04-14 16:32:59 -04:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						a3a7ab3ae1 
					 
					
						
						
							
							test: added test for session id reroll on login  
						
						
						
						
					 
					
						2021-04-14 11:38:17 -04: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 
						 
				 
			
				
					
						
							
							
								gasoved 
							
						 
					 
					
						
						
							
						
						53e0d4d2e0 
					 
					
						
						
							
							feat: banned-users group  
						
						
						
						
					 
					
						2021-02-03 15:22:44 -05:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						ce7c74b2e1 
					 
					
						
						
							
							fix: more tests for  #9217  
						
						
						
						
					 
					
						2021-01-24 14:11:47 -05:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						9534d95619 
					 
					
						
						
							
							fix: broken test due to change in response code  
						
						
						
						
					 
					
						2021-01-07 15:11:45 -05:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						41f55b7a5a 
					 
					
						
						
							
							fix(writeapi): tests  
						
						
						
						
					 
					
						2020-10-08 15:33:10 -04:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						fe2dc3101e 
					 
					
						
						
							
							fix: auth tests  
						
						
						
						
					 
					
						2020-09-21 11:45:12 -04:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						ec5582b53c 
					 
					
						
						
							
							feat: add privilege give/rescind hooks ( #8336 )  
						
						... 
						
						
						
						* feat: add privilege give/rescind hooks
action:privileges.categories.give/rescind
action:privileges.global.give/rescind
breaking change, privileges.categories.give/rescind and privileges.global.give/rescind use full privilege name for groups ie `groups:find` instead of `find`
* fix: tests, privileges renamed 
						
						
					 
					
						2020-05-26 21:57:38 -04:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						805dcd7ca2 
					 
					
						
						
							
							Async refactor in place ( #7736 )  
						
						... 
						
						
						
						* feat: allow both callback&and await
* feat: ignore async key
* feat: callbackify and promisify in same file
* Revert "feat: callbackify and promisify in same file"
This reverts commit cea206a9b8🌋 
* feat: less returns
* feat: more await rewrite
* fix: redis tests
* feat: convert sortedSetAdd
rewrite psql transaction to async/await
* feat: 🐶 
* feat: test
* feat: log client and query
* feat: log bind
* feat: more logs
* feat: more logs
* feat: check perform
* feat: dont callbackify transaction
* feat: remove logs
* fix: main functions
* feat: more logs
* fix: increment
* fix: rename
* feat: remove cls
* fix: remove console.log
* feat: add deprecation message to .async usage
* feat: update more dbal methods
* fix: redis :voodoo:
* feat:  fix redis zrem, convert setObject
* feat: upgrade getObject methods
* fix: psql getObjectField
* fix: redis tests
* feat: getObjectKeys
* feat: getObjectValues
* feat: isObjectField
* fix: add missing return
* feat: delObjectField
* feat: incrObjectField
* fix: add missing await
* feat: remove exposed helpers
* feat: list methods
* feat: flush/empty
* feat: delete
* fix: redis delete all
* feat: get/set
* feat: incr/rename
* feat: type
* feat: expire
* feat: setAdd
* feat: setRemove
* feat: isSetMember
* feat: getSetMembers
* feat: setCount, setRemoveRandom
* feat: zcard,zcount
* feat: sortedSetRank
* feat: isSortedSetMember
* feat: zincrby
* feat: sortedSetLex
* feat: processSortedSet
* fix: add mising await
* feat: debug psql
* fix: psql test
* fix: test
* fix: another test
* fix: test fix
* fix: psql tests
* feat: remove logs
* feat: user arrow func
use builtin async promises
* feat: topic bookmarks
* feat: topic.delete
* feat: topic.restore
* feat: topics.purge
* feat: merge
* feat: suggested
* feat: topics/user.js
* feat: topics modules
* feat: topics/follow
* fix: deprecation msg
* feat: fork
* feat: topics/posts
* feat: sorted/recent
* feat: topic/teaser
* feat: topics/tools
* feat: topics/unread
* feat: add back node versions
disable deprecation notice
wrap async controllers in try/catch
* feat: use db directly
* feat: promisify in place
* fix: redis/psql
* feat: deprecation message
logs for psql
* feat: more logs
* feat: more logs
* feat: logs again
* feat: more logs
* fix: call release
* feat: restore travis, remove logs
* fix: loops
* feat: remove .async. usage 
						
						
					 
					
						2019-07-09 12:46:49 -04:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						4b843ba16f 
					 
					
						
						
							
							fix :  #7567 , allow invite and approval at the same time  
						
						
						
						
					 
					
						2019-06-04 11:10:20 -04:00 
						 
				 
			
				
					
						
							
							
								Aziz Khoury 
							
						 
					 
					
						
						
							
						
						3fbb6faf28 
					 
					
						
						
							
							feat: update unban logic/invocation and refactor User.bans module  
						
						... 
						
						
						
						* auto unban when User.getUsersFields is called and the user is banned but has expired
* cleanups and removal of expiry_readable
* expiry_readable make an alias for backward compatibility
* User.bans.func vs User.*ban*Func
* console.log cleanups, plus todo message added
* use code util.deprecate
* fix: remove ununsed winston require 
						
						
					 
					
						2019-04-05 14:14:48 -04:00 
						 
				 
			
				
					
						
							
							
								Baris Usakli 
							
						 
					 
					
						
						
							
						
						f9d92db5d5 
					 
					
						
						
							
							fix: typo  
						
						
						
						
					 
					
						2019-03-08 15:47: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 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						85c60316ed 
					 
					
						
						
							
							upgrade to winston 3.1,  closes   #6590  ( #6838 )  
						
						... 
						
						
						
						* upgrade to winston 3.1
* fix winston in web/install and tests 
						
						
					 
					
						2018-10-16 13:07:13 -04:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						77beaf2e15 
					 
					
						
						
							
							Allow local login,closes  #6800  ( #6803 )  
						
						... 
						
						
						
						* WIP
* reset groups cache after every suite 
						
						
					 
					
						2018-09-29 06:49:41 -04:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						ea1697d073 
					 
					
						
						
							
							remove console.log  
						
						
						
						
					 
					
						2018-09-06 14:41:23 -04:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						25fed0aa8d 
					 
					
						
						
							
							change isPasswordCorrect to return false if user does not have password  
						
						
						
						
					 
					
						2018-09-06 14:32:44 -04:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						445b92ae38 
					 
					
						
						
							
							Revert "fix some tests"  
						
						... 
						
						
						
						This reverts commit 2551df80f7 
						
						
					 
					
						2018-05-02 14:03:39 -04:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						2551df80f7 
					 
					
						
						
							
							fix some tests  
						
						
						
						
					 
					
						2018-05-02 13:37:58 -04:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						6088c37f5a 
					 
					
						
						
							
							Revert "fixing tests"  
						
						... 
						
						
						
						Turns out baris already fixed them
This reverts commit 3bc0266aa4 
						
						
					 
					
						2018-04-12 19:59:28 -04:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						3bc0266aa4 
					 
					
						
						
							
							fixing tests  
						
						
						
						
					 
					
						2018-04-12 19:58:40 -04:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						65c8457898 
					 
					
						
						
							
							fixing tests that broke due to gdpr requirement  
						
						
						
						
					 
					
						2018-04-12 12:51:52 -04:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						a7a3f3619b 
					 
					
						
						
							
							dont allow login with invalid ip, escape ip display on user/info page  
						
						
						
						
					 
					
						2017-11-30 14:24:17 -05:00 
						 
				 
			
				
					
						
							
							
								Peter Jaszkowiak 
							
						 
					 
					
						
						
							
						
						f5385e38bf 
					 
					
						
						
							
							Add /me* route which redirects to /user/[userslug]* ( #6063 )  
						
						... 
						
						
						
						* Add `/me*` route which redirects to the current user's information
- `/me` -> `/user/[usertslug]`
- `/me/bookmarks` -> `/user/[userslug]/bookmarks`
- `/me/settings` -> `/user/[userslug]/settings`
etc
* Add tests for `/me/*` 
						
						
					 
					
						2017-11-16 17:38:26 -05:00 
						 
				 
			
				
					
						
							
							
								Baris Usakli 
							
						 
					 
					
						
						
							
						
						1358a89305 
					 
					
						
						
							
							closes   #5907  
						
						
						
						
					 
					
						2017-09-01 18:40:34 -04:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						c4fbed24f8 
					 
					
						
						
							
							Squashed commit of the following:  
						
						... 
						
						
						
						commit 9c86d9b2904e14927cd7e9679b92aec0951d1063
Merge: ebfa63a 5a7f811julian@nodebb.org >
Date:   Thu Jul 20 08:41:39 2017 -0400
    Merge branch 'noscript-login' of https://github.com/An-dz/NodeBB  into noscript
commit 5a7f81185ef159d0djulian@nodebb.org >
Date:   Mon Jul 17 16:30:40 2017 -0400
    Merge branch 'noscript-logout' of https://github.com/An-dz/NodeBB  into noscript
commit c1801cda14e6363491e30b659902e2ae71f7e1f7
Merge: 7a5f9f3 9fd542djulian@nodebb.org >
Date:   Mon Jul 17 16:30:31 2017 -0400
    Merge branch 'noscript-register' of https://github.com/An-dz/NodeBB  into noscript
commit 7a5f9f35abc834bb72ddddc9ca07d34f2fde8353
Merge: 44851f9d37b95cjulian@nodebb.org >
Date:   Mon Jul 17 16:30:10 2017 -0400
    Merge branch 'noscript-compose' of https://github.com/An-dz/NodeBB  into noscript
commit f159d0d9efd37b95cb719fd542d897cdad5bf8c24ff11cd136df01d44e824bcc380da7b5eac6fea120a5cce6e685ee22a79b7d984c47ad4a09dfbd08391aa6e67e80ccc6fd582aca811256097bb51577d497e08109 
						
						
					 
					
						2017-07-20 08:51:04 -04:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						08aaabd33c 
					 
					
						
						
							
							closes   #5642  
						
						
						
						
					 
					
						2017-05-27 23:32:55 -04:00 
						 
				 
			
				
					
						
							
							
								Peter Jaszkowiak 
							
						 
					 
					
						
						
							
						
						b171f3072b 
					 
					
						
						
							
							Fix many "duplicate key" errors  
						
						... 
						
						
						
						- Reset defaults after every test
- Remove individual `after(db.emptydb)` calls
- Fix async.every in groups test
- Update plugin list in socket tests 
						
						
					 
					
						2017-05-26 17:16:59 -06:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						8205d6c897 
					 
					
						
						
							
							test login after lock  
						
						
						
						
					 
					
						2017-05-23 23:03:40 -04:00