Anna-Maria Meriniemi 
								
							 
						 
						
							
							
							
							
								
							
							
								279ec26f7c 
								
							 
						 
						
							
							
								
								[DB Changes! Read PR!] Merge pull request  #201  from nyaadevs/update-alembic-migrations  
							
							 
							
							... 
							
							
							
							Rewrite database models for declarative and update Alembic migrations 
							
						 
						
							2017-05-27 20:11:57 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									TheAMM 
								
							 
						 
						
							
							
							
							
								
							
							
								07cf0de6f9 
								
							 
						 
						
							
							
								
								Rewrite site-specific database models into declarative bases  
							
							 
							
							... 
							
							
							
							This allows us to easily extend the bases into Nyaa and Sukebei models, with working FKs and relationships.
Note: the schema will (should!) otherwise match, however; the following index on Torrent was renamed:
uploader_flag_idx will be <prefix>_uploader_flag_idx, as we will be always creating both flavors.
The index rename should not affect SQA, but will potentially break migrations. 
							
						 
						
							2017-05-27 18:14:39 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									TheAMM 
								
							 
						 
						
							
							
							
							
								
							
							
								f7ed2c06d3 
								
							 
						 
						
							
							
								
								Jeez fine PEP8 I get it  
							
							 
							
							
							
						 
						
							2017-05-27 18:10:21 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									TheAMM 
								
							 
						 
						
							
							
							
							
								
							
							
								d89f74893b 
								
							 
						 
						
							
							
								
								Remove username validator from login form to allow logging in with email  
							
							 
							
							... 
							
							
							
							Since our previous regex was broken, the validator passed practically everything. 
							
						 
						
							2017-05-26 23:28:28 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Kfir Hadas 
								
							 
						 
						
							
							
							
							
								
							
							
								fa946844d1 
								
							 
						 
						
							
							
								
								Style fixes  
							
							 
							
							... 
							
							
							
							Comments box changed the height of the `<tr>`
Tweak icon/text sizes. 
							
						 
						
							2017-05-26 19:23:34 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Kfir Hadas 
								
							 
						 
						
							
							
							
							
								
							
							
								aad5a0c6ea 
								
							 
						 
						
							
							
								
								Update style  
							
							 
							
							... 
							
							
							
							Add support for sorting comments (in advance),
add th for sorting by comments_count, add title to the counter box and fix it being under the torrent's name, 
							
						 
						
							2017-05-26 18:25:56 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Kfir Hadas 
								
							 
						 
						
							
							
							
							
								
							
							
								90695cad11 
								
							 
						 
						
							
							
								
								Add number of comments to torrent lists  
							
							 
							
							... 
							
							
							
							Will only show when number of comments is above zero. 
							
						 
						
							2017-05-26 16:50:31 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									TheAMM 
								
							 
						 
						
							
							
							
							
								
							
							
								b5ebebf98e 
								
							 
						 
						
							
							
								
								Update Torrent.comment_count on comment submit/delete  
							
							 
							
							
							
						 
						
							2017-05-26 16:11:31 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									TheAMM 
								
							 
						 
						
							
							
							
							
								
							
							
								6c80557e39 
								
							 
						 
						
							
							
								
								SCHEMA CHANGE: Add comment_count to Torrent  
							
							 
							
							... 
							
							
							
							with a helper function on Torrent to update the count. 
							
						 
						
							2017-05-26 16:08:46 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									nyaazi 
								
							 
						 
						
							
							
							
							
								
							
							
								9e656ff7f6 
								
							 
						 
						
							
							
								
								Line too long  
							
							 
							
							
							
						 
						
							2017-05-26 15:29:49 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									nyaazi 
								
							 
						 
						
							
							
							
							
								
							
							
								5332ba1a49 
								
							 
						 
						
							
							
								
								Merge branch 'master' into reports  
							
							 
							
							
							
						 
						
							2017-05-26 15:25:02 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									shm0o 
								
							 
						 
						
							
							
							
							
								
							
							
								3edc73a518 
								
							 
						 
						
							
							
								
								templates/layout.html: use url_for for the appropriate endpoints  
							
							 
							
							
							
						 
						
							2017-05-25 19:33:47 -04:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									shm0o 
								
							 
						 
						
							
							
							
							
								
							
							
								c178f905b0 
								
							 
						 
						
							
							
								
								templates/search_results.html: use url_for for the appropriate endpoints  
							
							 
							
							
							
						 
						
							2017-05-25 19:33:47 -04:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									shm0o 
								
							 
						 
						
							
							
							
							
								
							
							
								8b7712b1d0 
								
							 
						 
						
							
							
								
								templates/view.html: use url_for for the 'edit_torrent' endpoint  
							
							 
							
							
							
						 
						
							2017-05-25 19:33:47 -04:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									shm0o 
								
							 
						 
						
							
							
							
							
								
							
							
								18dd7cd66f 
								
							 
						 
						
							
							
								
								static_cachebuster: build the url with url_for  
							
							 
							
							
							
						 
						
							2017-05-25 19:33:47 -04:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									TheAMM 
								
							 
						 
						
							
							
							
							
								
							
							
								b6ecad898d 
								
							 
						 
						
							
							
								
								Fix username validator  
							
							 
							
							... 
							
							
							
							Tehee, oops! 
							
						 
						
							2017-05-26 01:47:05 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									TheAMM 
								
							 
						 
						
							
							
							
							
								
							
							
								3f49f17baa 
								
							 
						 
						
							
							
								
								Add simple OG metadata tags to templates  
							
							 
							
							... 
							
							
							
							Hello, #185  
							
						 
						
							2017-05-26 01:03:59 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									TheAMM 
								
							 
						 
						
							
							
							
							
								
							
							
								3bd4898a65 
								
							 
						 
						
							
							
								
								Hotfix  #193  
							
							 
							
							... 
							
							
							
							Temporary workaround because CSS is hard. 
							
						 
						
							2017-05-26 00:09:37 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Kfir Hadas 
								
							 
						 
						
							
							
							
							
								
							
							
								d7181cf6a1 
								
							 
						 
						
							
							
								
								PEP8  
							
							 
							
							
							
						 
						
							2017-05-25 22:19:42 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Kfir Hadas 
								
							 
						 
						
							
							
							
							
								
							
							
								559602d19b 
								
							 
						 
						
							
							
								
								Fix inverted icons in file list  
							
							 
							
							
							
						 
						
							2017-05-25 22:16:12 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									TheAMM 
								
							 
						 
						
							
							
							
							
								
							
							
								ca382bff9c 
								
							 
						 
						
							
							
								
								Fix RSS magnets for ES torrents  
							
							 
							
							
							
						 
						
							2017-05-25 21:52:26 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Anna-Maria Meriniemi 
								
							 
						 
						
							
							
							
							
								
							
							
								0394639954 
								
							 
						 
						
							
							
								
								Calculate comment age clientside, show timestamp in mouseover title ( #191 )  
							
							 
							
							... 
							
							
							
							Resolves outdated comment ages thanks to caching and will show timestamps in local time. 
							
						 
						
							2017-05-25 21:13:35 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									TheAMM 
								
							 
						 
						
							
							
							
							
								
							
							
								bb30f6e3d2 
								
							 
						 
						
							
							
								
								Scroll user to their new comment after submission  
							
							 
							
							
							
						 
						
							2017-05-25 21:11:55 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									TheAMM 
								
							 
						 
						
							
							
							
							
								
							
							
								1ab3d6e3eb 
								
							 
						 
						
							
							
								
								Add cachebuster helper function for static css/js  
							
							 
							
							
							
						 
						
							2017-05-25 20:11:37 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Kfir Hadas 
								
							 
						 
						
							
							
							
							
								
							
							
								e91fdb70da 
								
							 
						 
						
							
							
								
								Strip collapse functionality from file list panel  
							
							 
							
							
							
						 
						
							2017-05-25 16:41:07 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Anna-Maria Meriniemi 
								
							 
						 
						
							
							
							
							
								
							
							
								cfa41bf388 
								
							 
						 
						
							
							
								
								Merge pull request  #186  from sharkykh/collapsible-file-tree  
							
							 
							
							... 
							
							
							
							Basic collapsible file tree 
							
						 
						
							2017-05-25 15:53:47 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Kfir Hadas 
								
							 
						 
						
							
							
							
							
								
							
							
								ae4d75ecde 
								
							 
						 
						
							
							
								
								Show first level's items based on amount  
							
							 
							
							... 
							
							
							
							Currently set to show when list has 20 items or less 
							
						 
						
							2017-05-25 15:16:29 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Kfir Hadas 
								
							 
						 
						
							
							
							
							
								
							
							
								e0ffadb08c 
								
							 
						 
						
							
							
								
								Fix extra margin/padding of files and folders  
							
							 
							
							
							
						 
						
							2017-05-25 14:43:50 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Anna-Maria Meriniemi 
								
							 
						 
						
							
							
							
							
								
							
							
								d07e3e34ae 
								
							 
						 
						
							
							
								
								Merge pull request  #183  from sharkykh/user-page-gravatar  
							
							 
							
							... 
							
							
							
							Use gravatar URL in /user/<username> 
							
						 
						
							2017-05-25 13:50:36 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Kfir Hadas 
								
							 
						 
						
							
							
							
							
								
							
							
								a64cac5e5e 
								
							 
						 
						
							
							
								
								Basic collapsible file tree  
							
							 
							
							
							
						 
						
							2017-05-25 12:53:23 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									TheAMM 
								
							 
						 
						
							
							
							
							
								
							
							
								b09c61980c 
								
							 
						 
						
							
							
								
								Add new route for torrent download, fix Content-Disposition  
							
							 
							
							... 
							
							
							
							New route is `/download/<torrent_id>.torrent`, which will help people using tools that do not consider headers.
Old torrent download route still works.
Updated one remaining link to use url_for.
Added plain `filename="..."` to `Content-Disposition`, since it is still the most common standard with percent encoded UTF-8.
Fixes part 2 of #45  
							
						 
						
							2017-05-25 11:15:45 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Johnny Ding 
								
							 
						 
						
							
							
							
							
								
							
							
								5a19dae649 
								
							 
						 
						
							
							
								
								Merge pull request  #182  from sharkykh/fix-lint  
							
							 
							
							... 
							
							
							
							Apply PEP8 
							
						 
						
							2017-05-24 23:40:42 -07:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Kfir Hadas 
								
							 
						 
						
							
							
							
							
								
							
							
								80a5cb65a4 
								
							 
						 
						
							
							
								
								Use gravatar URL in /user/x  
							
							 
							
							... 
							
							
							
							Even though only mods/admins can see it 
							
						 
						
							2017-05-25 09:29:38 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									aldacron 
								
							 
						 
						
							
							
							
							
								
							
							
								d5e2311c56 
								
							 
						 
						
							
							
								
								Resolves   #181  
							
							 
							
							
							
						 
						
							2017-05-24 23:25:21 -07:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									aldacron 
								
							 
						 
						
							
							
							
							
								
							
							
								142dd5359c 
								
							 
						 
						
							
							
								
								Resolves   #129  and refactored create magnet es naming  
							
							 
							
							
							
						 
						
							2017-05-24 23:19:08 -07:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Kfir Hadas 
								
							 
						 
						
							
							
							
							
								
							
							
								ebcf1dc836 
								
							 
						 
						
							
							
								
								PEP8  
							
							 
							
							
							
						 
						
							2017-05-25 09:08:18 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									nyaadev 
								
							 
						 
						
							
							
							
							
								
							
							
								02c04ce893 
								
							 
						 
						
							
							
								
								order torrent.trackers relation  
							
							 
							
							
							
						 
						
							2017-05-25 00:36:49 +02:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									TheAMM 
								
							 
						 
						
							
							
							
							
								
							
							
								4f1576e086 
								
							 
						 
						
							
							
								
								Fancy grammar in your anime torrents  
							
							 
							
							
							
						 
						
							2017-05-24 21:54:50 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									TheAMM 
								
							 
						 
						
							
							
							
							
								
							
							
								d287aaf974 
								
							 
						 
						
							
							
								
								Show "Search <user>'s torrents..." on user pages in search field  
							
							 
							
							
							
						 
						
							2017-05-24 17:34:53 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									TheAMM 
								
							 
						 
						
							
							
							
							
								
							
							
								3a4280ccc5 
								
							 
						 
						
							
							
								
								Redirect searches with an info hash to torrent if found  
							
							 
							
							... 
							
							
							
							Redirect will not happen on RSS or user page views (/searches).
Adds a helper to models.Torrent to search with a hex hash
Reformats "special search logic" 
							
						 
						
							2017-05-24 17:34:36 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									TheAMM 
								
							 
						 
						
							
							
							
							
								
							
							
								0e89d3f24b 
								
							 
						 
						
							
							
								
								Show torrent hash on torrent page  
							
							 
							
							
							
						 
						
							2017-05-24 17:17:51 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									TheAMM 
								
							 
						 
						
							
							
							
							
								
							
							
								aeef80edaa 
								
							 
						 
						
							
							
								
								Clean up user search suggestion  
							
							 
							
							
							
						 
						
							2017-05-24 13:34:33 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									ReimuHakurei 
								
							 
						 
						
							
							
							
							
								
							
							
								363203dfe0 
								
							 
						 
						
							
							
								
								Fix error on search for non-Unicode.  
							
							 
							
							
							
						 
						
							2017-05-24 10:14:03 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									ReimuHakurei 
								
							 
						 
						
							
							
							
							
								
							
							
								8da628136f 
								
							 
						 
						
							
							
								
								Improve breaking of button groups.  
							
							 
							
							
							
						 
						
							2017-05-24 08:37:13 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									ReimuHakurei 
								
							 
						 
						
							
							
							
							
								
							
							
								f215f0803c 
								
							 
						 
						
							
							
								
								Add per-user filter on search page based on query.  
							
							 
							
							
							
						 
						
							2017-05-24 08:33:32 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									ReimuHakurei 
								
							 
						 
						
							
							
							
							
								
							
							
								63a469e08b 
								
							 
						 
						
							
							
								
								Hide news blob on search pages.  
							
							 
							
							
							
						 
						
							2017-05-24 08:33:32 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									TheAMM 
								
							 
						 
						
							
							
							
							
								
							
							
								b60ec9ec0a 
								
							 
						 
						
							
							
								
								Failsafe in API for explicit nulls/Nones  
							
							 
							
							
							
						 
						
							2017-05-24 11:32:51 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									TheAMM 
								
							 
						 
						
							
							
							
							
								
							
							
								ea2e01ae2c 
								
							 
						 
						
							
							
								
								Revert edit/upload form back to -md-, split flag buttons into two groups  
							
							 
							
							
							
						 
						
							2017-05-24 11:31:29 +03:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									ReimuHakurei 
								
							 
						 
						
							
							
							
							
								
							
							
								3418cb6175 
								
							 
						 
						
							
							
								
								More validation.  
							
							 
							
							
							
						 
						
							2017-05-24 06:45:00 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									ReimuHakurei 
								
							 
						 
						
							
							
							
							
								
							
							
								917b9b7170 
								
							 
						 
						
							
							
								
								Merge branch 'master' of  https://github.com/nyaadevs/nyaa  
							
							 
							
							
							
						 
						
							2017-05-24 06:19:22 +00:00