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

9 commits

Auteur SHA1 Message Date
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
bf6d07bd6d fixed getTorrentById 2017-05-04 15:51:16 +03:00
ayame-git
a3189324bc status search and typo fixes 2017-05-04 15:01:07 +03:00
Eliot Whalan
1046ec6586
add strings 2017-05-04 20:31:40 +10:00
Eliot Whalan
05186688ec
trim hash 2017-05-04 20:30:12 +10:00
Eliot Whalan
a82420c1c4
Strip \n character from hash 2017-05-04 20:22:13 +10:00
Eliot Whalan
ffa49d58ca
Fix pagnation and try again with hash fix 2017-05-04 20:15:49 +10:00
Eliot Whalan
d149e44aaf
Fix up magnet and unscape names 2017-05-04 20:01:27 +10:00
akuma06
4b66f731a3 Added ORM Support, Models and cleaned up a bit the code
Changing from plain sql queries to GORM for better maintenance and stability
Use of Models for database tables and added JSON objects
Cleaned a bit the code and added some comments in the files
2017-05-04 05:28:42 +02:00