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

233 commits

Auteur SHA1 Message Date
akuma06 e41a79c808 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	router/userHandler.go
2017-05-11 02:20:11 +02:00
akuma06 c1add13aa2 Fixes edit viewable by ever1 2017-05-11 02:18:19 +02:00
ayame-git 60ce69d2b9 security fix 2017-05-11 03:17:01 +03: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
ayame-git d2c2de2ef9 ... 2017-05-11 01:10:42 +03:00
ayame-git 054f712cba i'm really bad 2017-05-11 01:08:13 +03:00
akuma06 ff0a588ff5 Merge branch 'master' of https://github.com/ewhal/nyaa 2017-05-11 00:03:02 +02: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
sfan5 9109f68c96 Make Email changes work correctly 2017-05-10 23:43:58 +02:00
akuma06 90b9c5ba2b Merge remote-tracking branch 'origin/master'
# Conflicts:
#	service/user/verification.go
2017-05-10 22:42:56 +02:00
akuma06 dee08850cf Fixing 2017-05-10 22:42:11 +02:00
sfan5 01c2c20bbb Fix the build 2017-05-10 22:34:57 +02:00
ayame-git c0e2eaa56a Merge branch 'master' of github.com:ewhal/nyaa 2017-05-10 23:31:27 +03:00
ayame-git 9b5515dcb8 🤔 2017-05-10 23:31:15 +03:00
akuma06 3acb410af7 Merge pull request #302 from sfan5/fixayy
Fixes & Features (as always)
2017-05-10 22:24:33 +02:00
ayame-git 6198c4a618 fixed dup renchon on report 2017-05-10 23:24:06 +03:00
sfan5 e11759a4f1 Disallow empty comments 2017-05-10 22:11:37 +02:00
sfan5 d98d918301 Allow marking uploads as remake 2017-05-10 22:11:37 +02:00
sfan5 c5052a11c3 Mark torrents from trusted users as trusted 2017-05-10 22:10:31 +02:00
ayame-git cf601d1e52 Merge branch 'master' of github.com:ewhal/nyaa 2017-05-10 23:06:22 +03:00
ayame-git f326d801c2 i don't even remember what i fix anymore' 2017-05-10 23:05:56 +03:00
akuma06 b2ae3b4ac1 Added a function to not have characters encoded by go template 2017-05-10 22:03:57 +02:00
Ramon Dantas c84140964b Add language selector (#298) 2017-05-10 14:45:39 -05: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
akuma06 9b2c003394 Merge branch 'master' of https://github.com/ewhal/nyaa into akuma06/master 2017-05-10 20:25:58 +02:00
akuma06 45e6fc109f Edit profile unborked, please don't bork it anymore :'( 2017-05-10 20:24:37 +02:00
Eliot Whalan 07edb57728 Merge branch 'master' of https://github.com/ewhal/nyaa 2017-05-11 04:05:40 +10:00
Eliot Whalan e344896b2c clear cache on upload 2017-05-11 04:05:22 +10:00
ayame-git fcd0fec9a5 some pages not dispyaing corectly in mod page 2017-05-10 20:17:07 +03:00
PantsuDev 0223f575d3 Merge pull request #281 from ewhal/akuma06/master
Fixing Mod Panel
2017-05-11 01:41:40 +10:00
akuma06 b88cd33794 Merge branch 'master' of https://github.com/ewhal/nyaa into akuma06/master 2017-05-10 17:38:33 +02: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
PantsuDev e1e1aac37b Merge pull request #283 from sfan5/fix123
fix stuff...
2017-05-11 00:18:12 +10:00
sfan5 eddeed572f Fix text on profile edit page 2017-05-10 15:49:46 +02:00
akuma06 54991542cb Merge branch 'master' of https://github.com/ewhal/nyaa into akuma06/master
Conflicts:
	router/templateVariables.go
2017-05-10 15:20:14 +02:00
ripdog aae25274c1 Add a route for the user settings form: /edit,called UserDetailsHandler 2017-05-11 01:09:36 +12:00
akuma06 46d65ba865 Fixing Mod Panel (WIP) 2017-05-10 15:08:38 +02:00
ripdog 8391fc57bc Fix the advanced search field showing up on user profile pages. Fixes #230. 2017-05-11 01:08:37 +12:00
Eliot Whalan 9682a3014e Make mod urls more sane 2017-05-10 22:09:12 +10:00
PantsuDev 563bcd619d Merge pull request #222 from bakape/search-caching
Search caching
2017-05-10 20:13:23 +10:00
bakape 7af373b849 cache: Integrate with home handler and add size flag 2017-05-10 13:06:32 +03:00
SpamNeko e312581643 wrapHandler for http.Handler to redirect to 404 handler 2017-05-10 11:04:12 +01:00
bakape 5d40d02820 Merge branch 'master' of https://github.com/ewhal/nyaa into search-caching 2017-05-10 12:08:02 +03:00
bakape 6bf7ee3438 Search query caching 2017-05-10 12:03:49 +03:00
Your Name b08909c65c only allow authed admins 2017-05-10 08:42:25 +00:00
Your Name 5f7adedab5 submit report 2017-05-10 08:17:21 +00:00
Your Name e8c133fc69 display reports properly 2017-05-10 07:57:55 +00:00
Your Name b5adfb8eb4 Merge remote-tracking branch 'tom/mod' 2017-05-10 07:32:01 +00:00
Your Name 8d9605def3 delete shit 2017-05-10 07:10:23 +00:00
Your Name 7bffd59e85 shenanigans 2017-05-10 06:20:17 +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
tomleb 1ddd4c12f8 Start mod system 2017-05-10 00:34:00 -04:00
Andrew Zhao e014164a0a remove unnecesary check and fix anon comment (#252) 2017-05-09 23:02:03 -05:00
Anthony D'Alessandro 30d82f77bc fucking typo (#251)
* Update torrent.go

* another typo yay!!!

* typo
2017-05-09 22:54:12 -05:00
akuma06 9a435ccdc0 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	service/torrent/torrent.go
#	service/user/user.go
2017-05-10 05:33:40 +02: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
Chris MacLeod c9b72206a5 Consistency, formatting, error checking, cleanup, and a couple bug fixes (#245)
* Checkpoint: it builds

The config, db, model, network, os, and public packages have had some
fixes to glaringly obvious flaws, dead code removed, and stylistic
changes.

* Style changes and old code removal in router

Router needs a lot of work done to its (lack of) error handling.

* Dead code removal and style changes

Now up to util/email/email.go. After I'm finished with the initial sweep
I'll go back and fix error handling and security issues. Then I'll fix
the broken API. Then I'll go through to add documentation and fix code
visibility.

* Finish dead code removal and style changes

Vendored libraries not touched. Everything still needs security fixes
and documentation. There's also one case of broken functionality.

* Fix accidental find-and-replace

* Style, error checking, saftey, bug fix changes

* Redo error checking erased during merge

* Re-add merge-erased fix. Make Safe safe.
2017-05-09 21:34:40 -05: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
akuma06 9bbd544a20 Added Follow&Unfollow 2017-05-10 03:16:36 +02:00
sfan5 60ecfb797a Stateless Email Verification 2017-05-10 00:04:07 +02:00
ayame-git 4bd79520a9 i fucking hate git 2017-05-10 00:21:15 +03:00
ayame-git ab330e77c7 merged 2017-05-10 00:02:44 +03:00
ayame-git b758a966d3 validator rewrite 2017-05-09 23:24:32 +03:00
ayame-git 59ed2ec4c6 update 2017-05-09 21:54:50 +03:00
ayame-git f9f2214acf token werks 2017-05-09 20:58:35 +03:00
ayame-git dffe6b1e33 Merge branch 'master' of github.com:ewhal/nyaa into api_wip 2017-05-09 20:38:19 +03:00
ayame-git c59e15e610 upload changes 2017-05-09 20:37:39 +03:00
bakape c46c386981 Better DB error handling 2017-05-09 20:23:21 +03:00
ayame-git c9bb89d551 default value bug 2017-05-09 19:54:12 +03:00
akuma06 bbffb24ae8 Merge pull request #214 from majestrate/make-rss-fast-again
make rss fast again
2017-05-09 18:53:57 +02:00
ayame-git 3d10749dcd Merge branch 'master' of github.com:ewhal/nyaa into api_wip 2017-05-09 19:39:15 +03:00
ayame-git 42fe689628 using reflect 2017-05-09 19:37:40 +03:00
akuma06 8aa8a0593c Added delete account and edit profile 2017-05-09 17:47:12 +02:00
ayame-git 71b2b798b8 search query 2017-05-09 18:09:45 +03:00
Jeff 18d6ad3992 make rss fast again :^) 2017-05-09 11:07:42 -04:00
bakape a0ae1f7e6a Refactor search
Optimise, error handling and avoid some exploits
2017-05-09 14:31:58 +03:00
PantsuDev 7ab4d45505 Merge branch 'master' into less-realloc 2017-05-09 13:14:20 +10:00
akuma06 0c3f72f9a2 404 when no user found 2017-05-09 04:23:45 +02:00
akuma06 c830f8ec71 Fixed 2017-05-09 04:12:48 +02:00
akuma06 84cf511fe3 Fixed User
Profile Page, badge menu, every thing before previous commit (except
email)
Added Logout
2017-05-09 03:37:12 +02:00
bakape d0d44a4849 Death to reallocations! 2017-05-09 02:56:57 +03:00
sfan5 5482fa9290 Save current user for uploads 2017-05-08 23:54:09 +02:00
ElegantMonkey 108558dfdf Fix conflicts 2017-05-08 18:16:21 -03:00
ElegantMonkey 14f24e3be9 Add translation code to handlers, fix wrong key in .json translations 2017-05-08 17:51:59 -03:00
sfan5 fe105f6648 Allow registration w/o email and make it half-work 2017-05-08 22:50:56 +02:00
sfan5 a3d13f768a Switch to new schema: make it compile 2017-05-08 22:50:56 +02:00
sfan5 e3a271cca7 Revert "Added Profile page"
This reverts commit 5860cf1d79.
2017-05-08 22:50:25 +02:00
ElegantMonkey 9e10102c2d Add translation code to handlers 2017-05-08 16:16:26 -03:00
akuma06 cdf8cccc8d Added Profile page 2017-05-08 18:56:40 +02:00
akuma06 95cb6683b2 Fixed broked User Login 2017-05-08 13:37:56 +02:00