Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Graphe des révisions

74 commits

Auteur SHA1 Message Date
akuma06
461566a2a2 Merge branch 'master' into master 2017-05-07 02:44:49 +02:00
akuma06
e3be801f4d Fixed Typo + Added multi language support
Multi language for User package
2017-05-07 02:32:32 +02:00
bakape
716659c02a Log server start and address
Useful, when port or host is not the default or knowing, when the server started, with chained comands like `go build && ./nyaa`.
2017-05-07 02:58:15 +03:00
akuma06
87fee7b030 Updated my own branch 2017-05-06 17:53:17 +02:00
ayame-git
86049d80b0 fixed for good now 2017-05-06 21:27:26 +03:00
ayame-git
a515959ad3 oops 2017-05-06 20:55:27 +03:00
ayame-git
461db47a01 fixed parameters 2017-05-06 20:52:41 +03:00
akuma06
7b81c224dc Fixed parameters through command line for DB
config is now a singleton
can use config.GetInstance() to know the context
2017-05-06 17:37:56 +02:00
ayame-git
ce16601bcc basic upload 2017-05-06 11:36:37 +03:00
Eliot Whalan
04b113816c
Merge branch 'master' of git://github.com/sazuna/nyaa into sazuna-master 2017-05-06 08:33:56 +10:00
sazuna
f4330c1e4a RSS feed with common search 2017-05-05 17:48:18 -03:00
akuma06
7209666fb8 Merge branch 'master' of https://github.com/ewhal/nyaa
Conflicts:
	main.go
Resolved conflicts with new merge
2017-05-05 22:30:56 +02:00
keo
c0b42deb39 Merge pull request #67 from sfan5/style123
Appearance changes (mostly)
2017-05-05 22:38:41 +03:00
Lietzu
e01ba9b189 Update main.go 2017-05-05 12:46:54 -04:00
sfan5
5d9d9273a6 Add links to /view/1234 page in RSS feed 2017-05-05 18:43:48 +02:00
Lietzu
0b2401457a Update main.go 2017-05-05 12:43:36 -04:00
sfan5
b23b69ec8e Hide advanced search on FAQ page 2017-05-05 18:06:43 +02:00
akuma06
d75cb9f863 Separated Routes and handler from Main
Everything is in the router folder in different file
2017-05-05 16:39:15 +02:00
Lietzu
eff1f0bc95 Merge branch 'master' into master 2017-05-05 10:38:07 -04:00
Lietzu
13cd6019d4 Remake search is now Filter Remakes like old nyaa 2017-05-05 10:31:24 -04:00
akuma06
663b07bdb2 Re added templates files function for search
Removed them when I've resolved the conflicts
2017-05-05 15:23:49 +02:00
akuma06
e9a4707c49 Merge branch 'master' of https://github.com/ewhal/nyaa
Conflicts:
	main.go
2017-05-05 15:08:02 +02:00
akuma06
245d163912 Merge branch 'master' of https://github.com/ewhal/nyaa
Conflicts:
	main.go
	models.go
2017-05-05 14:51:19 +02:00
akuma06
823901b8ab Rearranged Files
Configurations are separated in files in the folder config
Connection to database by a package to import when needed
Models will be in a model package for better maintenance
Services access to the models
Utils are tools or functions that can be used anywhere
main.go cleaned a bit and other files modifications are there for the above modifications
2017-05-05 14:20:51 +02:00
Adelyne Maulideau
8590b3aca4 Configuration through command line and/or a file.
The configuration file is in JSON. If no option is specified,
dev-friendly defaults are used.
2017-05-05 14:18:53 +02:00
Eliot Whalan
137f08e0db Merge pull request #56 from chaiknees/master
RSS feeds for specific search queries.
2017-05-05 21:41:53 +10:00
Owner
6d1a8b228e RSS feeds for specific search queries. 2017-05-05 13:37:22 +02:00
sfan5
2502cc57df Reorder trackers
Many torrents (notably: HorribleSubs) use coppersurfer as their primary tracker,
knowing this it makes sense to put it first.
2017-05-05 13:07:18 +02:00
sfan5
0de946defb Move Search to different template file
(also re-add accidentally deleted catimg)
2017-05-05 12:01:17 +02:00
Eliot Whalan
c59b4bd90f Merge pull request #50 from akuma06/master
Default Values for Search form
2017-05-05 19:07:45 +10:00
sfan5
4371be7494 Make search less retarded 2017-05-05 11:04:28 +02:00
akuma06
c6fd6ef8f6 Default Values for Search form
Added a new Variable SearchForm as an argument to replace the list of arguments (cat,order,status,sort,query)
Added a construction function for it so we can have default values (NewSearchForm() output a SearchForm{} with default values)
Fixed the view template so we show one torrent and not a list
Added a ViewTemplateVariables for the page
2017-05-05 10:52:08 +02:00
Duc Tran
2c295e83d4 Add new tracker for nyaa
Add new tracker for nyaa, planning to use and maintaining it permanently
2017-05-05 14:45:10 +07:00
Eliot Whalan
b557a36c83
Run go fmt and add swap files to gitignore 2017-05-05 14:07:45 +10:00
akuma06
15cd2ed558 Merge branch 'master' of https://github.com/ewhal/nyaa.git
Conflicts:
	main.go
	models.go
	templates/index.html
Saw that some previous modifications were lost due to the previous merge :)
2017-05-05 05:04:04 +02:00
Eliot Whalan
38e5413c42
Start work on descriptions 2017-05-05 11:57:08 +10:00
akuma06
385549b13d Big Update !
Design copied from NyaaTorrents
Reorganised some sql queries
Added dynamic navigation within torrents
Added nesting templates support
Added more variables/functions imported in the templates
Separated templates functions and variables in other files for more clarity
2017-05-05 03:53:38 +02:00
Eliot Whalan
110e7f3315
fix up viewhandler struct 2017-05-05 11:34:49 +10:00
Eliot Whalan
38b6579be8 Merge branch 'master' into master 2017-05-05 11:31:47 +10:00
ayame-git
3908623195 fixed typo 2017-05-05 07:30:30 +03:00
ayame-git
ccc727bfd2 basic sort 2017-05-05 07:24:58 +03:00
Eliot Whalan
6cd379ff66
Add view page 2017-05-05 10:54:37 +10:00
Lietzu
e26c3219e5 Configured models to match ilikecats' merged db, and expanded automigration 2017-05-04 18:52:46 -04:00
Lietzu
d40b469c58 Configured models to match ilikecats' merged db, and expanded automigration 2017-05-04 18:44:54 -04:00
Eliot Whalan
a16d208913 Merge pull request #19 from chaiknees/master
RSS feed for home page.
2017-05-05 08:21:07 +10:00
Evan
e5fc0b2042 =Updated models to match ilikecats' merged database 2017-05-04 18:18:27 -04:00
Owner
6383422c3b RSS feed for home page. 2017-05-04 21:48:40 +02:00
akuma06
f1032bbab2 Updated Models.go (simplified + orderBy param)
Added a new main function to get Torrents with orderBy parameter
Added a new function to get all torrents with orderBy parameter
Simplifying the other function that get torrents so they pass through one main function that manage db requests.
Commented AutoMigrate functions, it emits warning when you execute it after having migrated once
2017-05-04 17:16:20 +02:00
ayame-git
8764f724ab updated rootHandler 2017-05-04 15:14:29 +03:00
ayame-git
a3189324bc status search and typo fixes 2017-05-04 15:01:07 +03:00