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

32 commits

Auteur SHA1 Message Date
PantsuDev
70f87e7aac finish repo transfer 2017-05-17 15:58:40 +10:00
Atvaark
cd844aec45 Replace 'en-us' literals with the default language
This consolidates the places where a default language has to be set.

- Removed import of the 'userService' package into the 'languages' util
  package
  This was required to prevent a cyclic import between the two packages.
- Added a 'UserRetriever' interface to read the language setting of users
  inside the 'languages' package
2017-05-14 22:10:07 +02:00
sfan5
2827362b54 Fully fix modpanel 2017-05-14 13:23:27 +02:00
sfan5
f1aa52e618 Cleanup usage of now removed HideAdvancedSearch 2017-05-14 13:05:18 +02:00
sfan5
c60a8635fc Fix search in modpanel (@SpamNeko broke it) 2017-05-14 13:01:59 +02:00
sfan5
b24e31a7dc Check assign-to user for existence beforehand 2017-05-13 17:36:50 +02:00
sfan5
c0be570e54 Torrent Reassign feature for modpanel 2017-05-13 17:29:21 +02:00
sfan5
00bb382cdb Modpanel stuff (#401)
* Fix table on modpanel index

* Fix actions on torrent report list page

* Fix error reporting on modpanel templates

* Convenience functions for modpanel

Link to view page primarily and to edit page as a seperate link

* Missing confirm before torrent deletion

* Add edit button directly onto view page
2017-05-12 17:31:27 -05:00
sfan5
b2581f549b Display human-readable report reason in modpanel
Also fixes the "list all torrent reports" subpage
2017-05-12 20:43:38 +02:00
Jeff Becker
33fe211d3f mod panel template cleanup, make mod panel templates reload on SIGHUP 2017-05-11 06:49:05 -04:00
sfan5
7bc395068d Fix modpanel torrent edit (#328)
* Fix modpanel torrent edits breaking torrents

* Fix hash not being monospace anymore

* Fix modpanel torrent edit strings

* Fix modpanel torrent edit creating a new user (wtf GORM)
2017-05-10 18:46:50 -05:00
Atvaark
0678d19097 Add template and db tests (#291)
- The db test will run an sqlite3 database in in-memory
  mode and run the automigrations.
- The template test will check if all the templates
  that are stored in package variables (template.Must)
  compile and if ReloadTemplates works without panicking.
2017-05-10 18:15:36 -05:00
akuma06
802945384b Fixes 2017-05-11 00:02:36 +02:00
akuma06
f94dc3103c Added edit torrent view mod panel & fix 2017-05-10 23:53:25 +02:00
ayame-git
f326d801c2 i don't even remember what i fix anymore' 2017-05-10 23:05:56 +03:00
ayame-git
755a426931 reports are deleted with torrents 2017-05-10 22:29:59 +03:00
ayame-git
8373bce02f unborked report list 2017-05-10 22:09:37 +03:00
ayame-git
4ada27a3cc no need for potato fix anymore 2017-05-10 21:50:27 +03:00
ayame-git
1bf4012eb2 yea.. 2017-05-10 21:42:20 +03:00
ayame-git
fcd0fec9a5 some pages not dispyaing corectly in mod page 2017-05-10 20:17:07 +03:00
akuma06
0bf8088457 Mostly finished
Someone need to do torrent edit page
Can't do it :/
2017-05-10 17:37:49 +02:00
akuma06
032688f532 Fixed 2017-05-10 16:43:50 +02:00
akuma06
46d65ba865 Fixing Mod Panel (WIP) 2017-05-10 15:08:38 +02:00
Your Name
8d9605def3 delete shit 2017-05-10 07:10:23 +00:00
Your Name
70c62ff719 add some 403s man 2017-05-10 06:18:58 +00:00
Your Name
771527b518 everything 'works' now 2017-05-10 05:56:02 +00:00
Your Name
3764919308 now the torrent list works 2017-05-10 05:47:01 +00:00
Anthony D'Alessandro
30d82f77bc fucking typo (#251)
* Update torrent.go

* another typo yay!!!

* typo
2017-05-09 22:54:12 -05:00
akuma06
989945f09b Shitty Moderation page
No HTML done, could'nt test with nyaa.exe :/
1 page with overview of torrents, comments, users
1 page list comments
1 page list torrents
1 page list users
1 route delete torreny
1 route delete comment
Users can be deleted and edited by their route user_profile_edit (I
think)
2017-05-10 05:24:18 +02:00
akuma06
0cd1e6d653 Revert "Revert "Mod Page (WIP)""
This reverts commit 233c859723.
2017-05-10 04:03:25 +02:00
akuma06
bea9fdab04 Revert "Mod Page (WIP)"
This reverts commit 55590cf7b3.
2017-05-10 04:03:09 +02:00
akuma06
d4c7138081 Mod Page (WIP) 2017-05-10 04:02:23 +02:00