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

1767 commits

Auteur SHA1 Message Date
akuma06
041473bfac Tested and works!
Changes:
* Updates only the colomns of torrent table
* Moved categories config in config/torrents.go
2017-05-24 22:15:38 +02:00
akuma06
1cccaf99e0 Fix moveto to status
moveto deprecated in api
2017-05-24 21:43:07 +02:00
akuma06
93eb4d7ae1 Make some changes
* Reports can now be cleared for the torrents selected without having to
delete them
* Users with no admin rights can't delete reports
2017-05-24 21:16:15 +02:00
akuma06
cf844f0d43 Merge branch 'dev' into torrent-mass-mod-edit 2017-05-24 20:29:52 +02:00
akuma06
1ffea3f39f Finished Mass mod Api
As per suggestion of @yiiTT in #720, I added:
* Changing torrents category
* Deletion of reports with deletion of a torrent
* Changing owner of multiple torrents

Commit also add some new translation strings.
2017-05-24 20:23:54 +02:00
ewhal
96403f8879 Update README.md 2017-05-25 00:24:11 +10:00
Steindór
5d14f544c1 Added a link to db and IRC channels to readme (#713)
* Update README.md

Added a link to the db dump and IRC channels.

* Minor fix

* Update README.md

* disabling email links

* Killed github autolinking

* Update README.md

* Removed database link
2017-05-25 00:14:39 +10:00
Steindór
da760d4131 Added a counter below the search result nav (#728)
* added pagination

* cleanup

* indentation fix

* fix
2017-05-25 00:14:24 +10:00
Ramon Dantas
86447b853c Add tree-view file list (Done) (#724)
* Add tree-view file list

* Add TotalSize field to folders

* Remove bootstrap/jquery related code

* Add icons to filelist, some CSS formatting

Moved a few styles from the format string for the tree view, to CSS
(where possible). Make icons look consistent under all themes.

* Make filelist hideable again, show it when JS is disabled
2017-05-25 00:13:56 +10:00
Myrmece
ace73bf9c8 Updated translation. (#726) 2017-05-24 21:28:15 +10:00
Eliot Whalan
3527f01cc5
Rerun gofmt it again with -s 2017-05-24 17:15:07 +10:00
Eliot Whalan
b4b1b1c26a
go fmt all the code 2017-05-24 17:11:13 +10:00
kipukun
58631c6bd4 Optimized the site (#725)
* Try to optimize site

* lmao woops

* fucking woops again
2017-05-24 16:57:48 +10:00
kipukun
e9825a2683 Frontend rewrite (DONE) (#723)
* Remove Bootstrap and Jquery, and create basic nav

* More improvements to navbar, as well as work on _badgemenu

* Complete navbar HTML, obviously it still looks horrendous

* Change layout on torrent table, using grids.

* Remove Bootstrap and Jquery, and create basic nav

* More improvements to navbar, as well as work on _badgemenu

* Complete navbar HTML, obviously it still looks horrendous

* Change layout on torrent table, using grids.

* HOLY FUCK INDEX IS /DONE/

* DO UPLOAD PAGE, DELETE OLD SHITTY CSS

* Complete login page

* Remove Bootstrap and Jquery, and create basic nav

* More improvements to navbar, as well as work on _badgemenu

* Complete navbar HTML, obviously it still looks horrendous

* Change layout on torrent table, using grids.

* Remove Bootstrap and Jquery, and create basic nav

* More improvements to navbar, as well as work on _badgemenu

* Complete navbar HTML, obviously it still looks horrendous

* HOLY FUCK INDEX IS /DONE/

* DO UPLOAD PAGE, DELETE OLD SHITTY CSS

* Complete login page

* Begin work on profile page

* fucking git, man

* Damn, that looks sexy

* Complete login and register pages, include very minimal grid system, and delete all of view template

* Do view page!

* Finish view even more

* Fix dates and filesizes in torrent table

* Improve comment/captcha input

* Actually add magnet and torrent buttons

* Add open-iconic instead of fontawesome

* Improve user side-panel

* Rename Category_* to CategoryName

* Beginning to finish up

* Implement themes and add basic mobile support to front page

* Fix some slight color errors

* Fix captcha on dark

* magnet and torrent links on view
2017-05-24 14:20:51 +10:00
akuma06
d2617c9c5d Torrent Mass Edit Api (WIP)
* Torrents can be deleted in mass from frontend with api post request
* Torrents status can be edited from frontend with api post request
-- Look to function doc for more info on how to use it

It is a WIP so it might not work =D
2017-05-24 01:03:03 +02:00
yiiT
55c0962bb7 Update README.md
Completed tools for users
2017-05-23 18:01:51 -05:00
yiiT
edfe09d936 Merge pull request #715 from NyaaPantsu/akuma06-patch-1
Added Go Report Card on readme
2017-05-23 17:55:24 -05:00
akuma06
d35c495d59 Removing debug fmt 2017-05-24 00:23:50 +02:00
akuma06
891e385939 Merge pull request #718 from NyaaPantsu/no-more-div-in-db
Fixing insert of unneeded html tags in db
2017-05-24 00:17:04 +02:00
akuma06
21ac12c852 Some updates
* Added support of UGC without div tag for torrents
* Added support of basic html tags for comments (a, img, b, em, u)

Fixed:
* Bug with r *request becoming a nul pointer when loading from contextin
messages.go
2017-05-24 00:08:02 +02:00
akuma06
23e7d33bb6 Fixing insert of unneeded html tags in db
Added a Sanitize function in util
* Possibility to add model in it
* Already a preset default model

Comments shouldn't be allowed html, too difficult to check every comment
for broken html
Torrents are still allowed html tags but I don't think it should since
we use markdown.
2017-05-23 22:09:20 +02:00
akuma06
14e3d61deb Added Go Report Card on readme 2017-05-23 20:49:37 +02:00
akuma06
07623e85ed Merge pull request #698 from NyaaPantsu/revert-692-revert-690-user-torrent-edit
Allow users to edit & delete their torrents
2017-05-23 19:43:09 +02:00
MMP0
96c21c47d5 Fix few small bugs in navbar (#703) 2017-05-23 19:22:59 +02:00
ipatrol
8e7377dcb3 Create model (#702)
Convert to SQL with Parse::Dia::SQL on CPAN.
2017-05-23 18:47:20 +10:00
MMP0
ff26f2a6fb Update ja-jp.all.json (#700) 2017-05-23 13:18:32 +10:00
nopjmp
6cfaca1289 Add err check from GetTorrentById return in ApiViewHandler (#696)
This should give a better response to API users for when something is not found.
2017-05-23 13:18:25 +10:00
nopjmp
af2850518c Implement HEAD for views (#695)
* Implement HEAD for /view/{id}

Implement HEAD for the torrent view route by calling GetRawTorrentById.
Run gofmt on the file while we are here.

* Implement HEAD for /api/view/{id}

Implement HEAD in the same way as /view/{id}
Also run gofmt on the api_handler.go
2017-05-23 13:18:19 +10:00
akuma06
00e0a935a8 Update again 2017-05-23 04:17:40 +02:00
akuma06
b75fc9ce53 update 2017-05-23 04:12:02 +02:00
akuma06
99f2092028 Revert "Revert "New User Edit Panel"" 2017-05-23 04:05:33 +02:00
Ramon Dantas
38f331a32e Make metainfo_fetcher fetch metadata only for new torrents (#694)
Added a flag on the config, that, when set, will only fetch data starting
from torrents with ID > config.LastOldTorrentID. Also updated the query
to use the config's files table, instead of hard-coding it.
2017-05-23 11:19:28 +10:00
Eliot Whalan
2e7392f46e
Fix compile error 2017-05-23 11:19:05 +10:00
Eliot Whalan
b26d788ab9
Generate api tokens on user creation 2017-05-23 11:16:57 +10:00
Eliot Whalan
cd573698b1
Merge branch 'dev' of github.com:NyaaPantsu/nyaa into dev 2017-05-23 11:07:00 +10:00
Eliot Whalan
5a8ae4665d
Remove unused package 2017-05-23 11:06:43 +10:00
alucard0134
1c5ff84614 Merge pull request #692 from NyaaPantsu/revert-690-user-torrent-edit
Revert "New User Edit Panel"
2017-05-22 19:10:21 -05:00
alucard0134
ed5152a4a0 Revert "New User Edit Panel" 2017-05-22 19:10:06 -05:00
Eliot Whalan
8cdf768902
Merge branch 'dev' of github.com:NyaaPantsu/nyaa into dev 2017-05-23 10:07:21 +10:00
Eliot Whalan
991ed4178e
Don't convert hashes to base16 2017-05-23 10:06:55 +10:00
alucard0134
66fe20bab8 Update backup.sh 2017-05-22 19:05:50 -05:00
akuma06
70127702e9 Merge pull request #686 from steindornatorinn/dev
Model diagram (Ready for merge)
2017-05-23 01:54:32 +02:00
bragason
5ea030373b Merge branch 'dev' of https://github.com/NyaaPantsu/nyaa into dev 2017-05-22 23:48:41 +00:00
akuma06
a27e961417 Merge pull request #690 from NyaaPantsu/user-torrent-edit
New User Edit Panel
2017-05-23 01:34:06 +02:00
akuma06
e501885cf5 Merge branch 'dev' into user-torrent-edit 2017-05-23 01:27:22 +02:00
akuma06
c8c3dc1980 New User Edit Panel
User can edit torrents
* delete torrents
+ New translation string for mod panel and user edit torrent panel
+ Improvement of messages util with implementation of T (no need to get
Tfunc now, messages util do that for you)
+ Use of @ElegantMonkey GetCategories to generate select of categories
in search and forms
2017-05-23 01:26:09 +02:00
Ramon Dantas
98dba3a3d1 Remove parent categories on upload form. (#688)
* Disable parent categories on upload form

There's no point on leaving them enabled if they shouldn't be
selected.

* Remove parent categories from upload form
2017-05-23 08:41:00 +10:00
bragason
98b5be4abf Merge branch 'dev' of https://github.com/steindornatorinn/nyaa into dev 2017-05-22 22:03:06 +00:00
bragason
cd37afc85f Updated and moved to a docs directory 2017-05-22 22:02:11 +00:00
Steindór
626aa35c2d Delete Nyaapantsu_models_source.html 2017-05-22 21:48:32 +00:00