Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						62f01a839e 
					 
					
						
						
							
							fix: dont save data for non-positive uids  
						
						
						
						
					 
					
						2018-12-14 00:09:15 -05:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						5f3d1c76c8 
					 
					
						
						
							
							fix :  #7038 , autoLocale logic not playing nicely with no-refresh auths ( #7059 )  
						
						... 
						
						
						
						* fix : #7038 , autoLocale logic not playing nicely with no-refresh auths
- on login, req.query.lang is deleted (since it seems to be left over)
- on logout, the middleware.autoLocale is executed, which resets
  req.query.lang
- middleware.autoLocale is new, just refactored existing logic in
  webserver.js into new middleware method.
* style: tests, use lodash
* fix: timeago strings not switching languages on login or out 
						
						
					 
					
						2018-12-07 11:29:20 -05:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						84433f29ab 
					 
					
						
						
							
							Do not require a full refresh on login/logout ( #6841 )  
						
						... 
						
						
						
						* no-refresh login as well, plus lots of fixes for missing config on login
* replace config with new set on logout as well
* passing new payload data into new action:app.loggedIn hook, and old action:app.loggedOut hook
* fixed issues with socket.io not properly representing uid on server
* some light refactoring and cleanup
* minor cleanup, fixed spa logout not working after login
* have reconnection handler for socket.io wait 2s to confirm disconnection before reporting -- stops flicker if reconnecting immediately
* Dynamically replace chat and slideout menu on updateHeader()
... instead of just the menu items.
* more efficient calls to Benchpress and translator /cc @pitaj
* fix: chats and notification handlers not working after login
* fix: accidentally calling cb multiple times 
						
						
					 
					
						2018-11-07 12:34:12 -05:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						157bea6966 
					 
					
						
						
							
							fix: username trim on login,  closes   #6894  
						
						
						
						
					 
					
						2018-10-30 17:09:32 -04:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						66ed48e088 
					 
					
						
						
							
							closes   #6875  
						
						
						
						
					 
					
						2018-10-27 06:23:24 -04:00 
						 
				 
			
				
					
						
							
							
								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 
						
						
					 
					
						2018-10-21 16:47:51 -04:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						26d4e0852f 
					 
					
						
						
							
							use includes instead of indexOf  
						
						... 
						
						
						
						use _.uniq instead of filter&indexOf 
						
						
					 
					
						2018-10-20 14:40:48 -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 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						3c6c0ed7a1 
					 
					
						
						
							
							restoring passwordExpiry for use in continueLogin, fixed tests, hopefully  
						
						
						
						
					 
					
						2018-07-27 12:34:51 -04:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						b6a5419ca1 
					 
					
						
						
							
							closes   #6674  
						
						
						
						
					 
					
						2018-07-27 11:54:32 -04:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						4f8815eb78 
					 
					
						
						
							
							closes   #6646  
						
						
						
						
					 
					
						2018-07-26 16:38:40 -04:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						44f8e6d3bb 
					 
					
						
						
							
							Revert "closes  #6483 "  
						
						... 
						
						
						
						This reverts commit 5d198491d5 
						
						
					 
					
						2018-05-02 14:03:47 -04:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						5d198491d5 
					 
					
						
						
							
							closes   #6483  
						
						
						
						
					 
					
						2018-05-02 13:13:15 -04:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						99f1a5380e 
					 
					
						
						
							
							closes   #6483  
						
						
						
						
					 
					
						2018-05-02 13:02:18 -04:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						c9d8fc3f58 
					 
					
						
						
							
							one more minor fix to req.flash err  
						
						
						
						
					 
					
						2018-05-01 15:25:11 -04:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						4533a311e1 
					 
					
						
						
							
							possible fix to req.flash err crash  
						
						
						
						
					 
					
						2018-05-01 15:21:15 -04:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						7089e5c6a6 
					 
					
						
						
							
							Merge remote-tracking branch 'origin/master' into develop  
						
						
						
						
					 
					
						2018-04-24 11:55:17 -04:00 
						 
				 
			
				
					
						
							
							
								Andrew Rodrigues 
							
						 
					 
					
						
						
							
						
						0971625e63 
					 
					
						
						
							
							allow global mods to still login locally as well as admins if disabled in ACP  
						
						
						
						
					 
					
						2018-04-18 17:59:38 -04:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						e9ed7f0bb3 
					 
					
						
						
							
							closes   #6435  
						
						
						
						
					 
					
						2018-04-06 10:16:26 -04:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						ac1f7eefe5 
					 
					
						
						
							
							closes   #2304  
						
						
						
						
					 
					
						2018-01-31 15:20:17 -05:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						53afa552d0 
					 
					
						
						
							
							closes   #6162  
						
						
						
						
					 
					
						2017-12-11 11:40:42 -05:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						fd78eb6d57 
					 
					
						
						
							
							closes   #5533  
						
						
						
						
					 
					
						2017-12-05 13:18:41 -05:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						b7714179f6 
					 
					
						
						
							
							removed unused dependency  
						
						
						
						
					 
					
						2017-11-30 14:24:57 -05: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 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						662f92a4a8 
					 
					
						
						
							
							supply callback to req.session.destroy  
						
						
						
						
					 
					
						2017-11-02 18:21:25 -04:00 
						 
				 
			
				
					
						
							
							
								Baris Usakli 
							
						 
					 
					
						
						
							
						
						1358a89305 
					 
					
						
						
							
							closes   #5907  
						
						
						
						
					 
					
						2017-09-01 18:40:34 -04:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						5cc39e8546 
					 
					
						
						
							
							Merge remote-tracking branch 'refs/remotes/origin/master' into develop  
						
						... 
						
						
						
						# Conflicts:
#	package.json
#	src/views/admin/manage/ip-blacklist.tpl 
						
						
					 
					
						2017-08-24 19:29:15 -04:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						81cf8f77d3 
					 
					
						
						
							
							add blacklist test to onSuccessfulLogin as well  
						
						
						
						
					 
					
						2017-08-23 12:14:14 -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 
						 
				 
			
				
					
						
							
							
								Peter Jaszkowiak 
							
						 
					 
					
						
						
							
						
						3c2d4fe649 
					 
					
						
						
							
							Switch from underscore to lodash  
						
						
						
						
					 
					
						2017-05-27 14:51:45 -06:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						b29745aa44 
					 
					
						
						
							
							more auth tests  
						
						
						
						
					 
					
						2017-05-23 22:09:25 -04:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						a8c649cca6 
					 
					
						
						
							
							check data.uid  
						
						
						
						
					 
					
						2017-05-23 17:41:40 -04:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						e4714a0c58 
					 
					
						
						
							
							more auth tests  
						
						
						
						
					 
					
						2017-05-23 17:37:16 -04:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						9625f89665 
					 
					
						
						
							
							remove for loop  
						
						
						
						
					 
					
						2017-05-23 15:53:38 -04:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						1e83d33283 
					 
					
						
						
							
							tests for login  
						
						
						
						
					 
					
						2017-05-23 15:37:32 -04:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						e938d75efc 
					 
					
						
						
							
							closes   #5676  
						
						
						
						
					 
					
						2017-05-12 09:56:24 -04:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						3a1eba2537 
					 
					
						
						
							
							merge  
						
						
						
						
					 
					
						2017-05-08 13:49:35 -04:00 
						 
				 
			
				
					
						
							
							
								psychobunny 
							
						 
					 
					
						
						
							
						
						41b4ef859f 
					 
					
						
						
							
							add ban messaging when logged in  
						
						
						
						
					 
					
						2017-05-05 19:50:50 -04:00 
						 
				 
			
				
					
						
							
							
								Barış Soner Uşaklı 
							
						 
					 
					
						
						
							
						
						c45c4a5fdb 
					 
					
						
						
							
							on login display invalid-login-credentials  
						
						
						
						
					 
					
						2017-04-24 13:31:38 -04:00 
						 
				 
			
				
					
						
							
							
								barisusakli 
							
						 
					 
					
						
						
							
						
						fa13e9acc0 
					 
					
						
						
							
							closes   #5621  
						
						
						
						
					 
					
						2017-04-22 14:38:43 -04:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						d18cfced96 
					 
					
						
						
							
							Merge remote-tracking branch 'origin/master' into develop  
						
						
						
						
					 
					
						2017-04-12 23:57:14 -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 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						ddea9f534e 
					 
					
						
						
							
							running eslint again  
						
						
						
						
					 
					
						2017-02-24 12:47:46 -05:00 
						 
				 
			
				
					
						
							
							
								Julian Lam 
							
						 
					 
					
						
						
							
						
						72e77772db 
					 
					
						
						
							
							Merge branch 'master' into develop  
						
						
						
						
					 
					
						2017-02-24 12:46:40 -05:00 
						 
				 
			
				
					
						
							
							
								Peter Jaszkowiak 
							
						 
					 
					
						
						
							
						
						4bb49a7171 
					 
					
						
						
							
							ESlint no-unused-vars  
						
						
						
						
					 
					
						2017-02-18 15:05:36 -07:00 
						 
				 
			
				
					
						
							
							
								Peter Jaszkowiak 
							
						 
					 
					
						
						
							
						
						09e868ce5f 
					 
					
						
						
							
							ESlint no-useless-escape, no-else-return  
						
						
						
						
					 
					
						2017-02-18 14:27:26 -07:00 
						 
				 
			
				
					
						
							
							
								Peter Jaszkowiak 
							
						 
					 
					
						
						
							
						
						c4bdb72941 
					 
					
						
						
							
							ESlint no-unneeded-ternary  
						
						... 
						
						
						
						and no-extend-native, no-sequences 
						
						
					 
					
						2017-02-18 12:59:46 -07:00 
						 
				 
			
				
					
						
							
							
								Peter Jaszkowiak 
							
						 
					 
					
						
						
							
						
						896c8c7343 
					 
					
						
						
							
							ESlint object-curly-spacing  
						
						
						
						
					 
					
						2017-02-18 12:30:49 -07:00 
						 
				 
			
				
					
						
							
							
								Peter Jaszkowiak 
							
						 
					 
					
						
						
							
						
						a038c66549 
					 
					
						
						
							
							ESlint quotes  
						
						
						
						
					 
					
						2017-02-18 01:56:23 -07:00 
						 
				 
			
				
					
						
							
							
								Peter Jaszkowiak 
							
						 
					 
					
						
						
							
						
						2ba46808a1 
					 
					
						
						
							
							ESlint one-var, fix comma-dangle  
						
						
						
						
					 
					
						2017-02-17 20:20:42 -07:00