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
Eliot Whalan
87b2d943f1
Get category search working
2017-05-04 16:53:21 +10:00
Eliot Whalan
a781744fbf
fix up index error and update travis deployment
2017-05-04 15:01:29 +10:00
Eliot Whalan
d041262033
hardcode css and js source for now
2017-05-04 14:03:43 +10:00
Eliot Whalan
6fb2679286
Merge branch 'master' of git://github.com/akuma06/nyaa into akuma06-master
2017-05-04 13:38:11 +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
Eliot Whalan
485aa3f458
get faq page working
2017-05-04 12:29:22 +10:00
Eliot Whalan
b4fe97d073
Add faq handler
2017-05-04 09:15:20 +10:00
Eliot Whalan
38d4dd3549
fix typo
2017-05-04 08:55:36 +10:00
Eliot Whalan
daf3bfcb31
Use checkErr more
2017-05-04 08:54:07 +10:00
Eliot Whalan
51ff736c69
hopefully actually fix it
2017-05-04 08:35:21 +10:00
Eliot Whalan
baca39c321
Hopefully fix out of range issue
2017-05-04 08:20:50 +10:00
akuma06
e4a8452481
Rearranged static Files and add number of item per page
...
No CSS and Javascript in the index.html, more easy to maintain the design and the code.
Added a select for the number of item to show and added the new parameter to the SQL query.
Total number of item determined by the SQL query and not fixed.
2017-05-03 19:45:18 +02:00
ayame-git
9ae1401a2b
maybe now?
2017-05-03 14:11:16 +03:00
ayame-git
2e49fd3969
fixed pagination
2017-05-03 13:01:20 +03:00
ayame-git
e878811508
status merged
2017-05-03 10:33:39 +03:00
ayame-git
7624ccc2ef
fuck git
2017-05-03 10:16:30 +03:00
ayame-git
41122a56e2
status
2017-05-03 09:58:06 +03:00
ayame-git
c875283141
typo
2017-05-03 08:01:13 +03:00
ayame-git
8770853477
search by categories
2017-05-03 07:59:27 +03:00
ayame-git
bd005f43a5
added magnet
2017-05-03 05:15:16 +03:00
Eliot Whalan
b703897a49
introduce order by
2017-05-02 23:50:18 +10:00
Eliot Whalan
17ba2510bf
fix up magnet links
2017-05-02 22:00:57 +10:00
Eliot Whalan
f814dafcb8
fix up pagnation
2017-05-02 21:07:04 +10:00
Eliot Whalan
9b122ec96a
initial version
2017-05-02 20:39:53 +10:00