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

2077 commits

Auteur SHA1 Message Date
kipukun c2d8b54554 Make user torrent edit page actually work and look better 2017-06-05 14:41:53 -04:00
kipukun 4e22e6f927 Updated success/error texts on view page 2017-06-05 14:25:03 -04:00
kipukun 7a9c4cd13e Misc. changes to profile edit and notifications page 2017-06-05 14:21:20 -04:00
kipukun c9e480167b Make the 404 page a little less shitty (Fixes issue 893) 2017-06-05 13:52:28 -04:00
kipukun acfdaf2d6e Fix anonymous users having write permissions on anonymous torrents 2017-06-05 13:35:34 -04:00
akuma06 b61fe55f82 New upload API (#897)
* New upload API (WIP)

* update

* Last fix

* Adding changes from update.go to api.go

* fix bracket

* fix import
2017-06-05 08:19:25 -05:00
MMP0 cdd84db36e Small changes (#927)
* Update main.css

* Update main.css

* Update main.css
2017-06-05 19:34:46 +10:00
PantsuDev 67dcb3e845
Readd user editing and deleting of torrents 2017-06-05 16:52:18 +10:00
akuma06 38a55e88e9 Fix for csrf (#923)
* Merge remote-tracking branch 'refs/remotes/origin/dev' into fix-for-csrf

Fix CSRF protection

Seems like it doesn't work anymore...
I tried to
fix it but couldn't get /api without csrf. So I changed the
dependency
for another csrf package (nosurf).
Behavior: Same as previously. You
just have to include the block
csrf_token

* changing dependency to nosurf
2017-06-05 11:33:48 +10:00
akuma06 75528da943 Fix user logout (#924)
* Logout is now a posted form

Instead of using a get method, I've moved it to a post method.
Doing that made possible to use CSRF token and also fix #902

* Update _badgemenu.html
2017-06-05 11:33:16 +10:00
tomleb e60eceba63 Reduce number of queries, update systemd unit service (#925)
* Update/add systemd services

* Avoid roundtrip back to postgresql when doing ES search

* Use only one ES client
2017-06-05 11:33:02 +10:00
MMP0 dbd6ca31d4 Fix .tr-date width (#918)
* Fix .tr-date width

* Update main.css
2017-06-05 08:49:14 +10:00
MMP0 a8d742488b Add build number to URL query (#912) 2017-06-05 08:44:51 +10:00
tomleb ace214b035 Reindex table for sukebei and nyaa (Fix #914) (#916) 2017-06-05 08:43:52 +10:00
MMP0 341bb5c152 Clean mafuyu.svg (#913)
* Clean mafuyu.svg

* Update mafuyu.svg
2017-06-05 08:43:43 +10:00
MMP0 6d627f045f Update Japanese translation (#917)
* Update ja-jp.all.json

* Update ja-jp.all.json
2017-06-05 08:43:32 +10:00
kipukun b14933a784 HTML5 Compliancy (#920)
* One error

* Another error
2017-06-05 08:43:23 +10:00
PantsuDev 93af9a7df4
Revert "Hopefully patch exploit that allows anyone to log users out"
This reverts commit b0a3555afe.
2017-06-04 21:19:44 +10:00
kilo 77760b3067 Prettier color for /g/'s theme user menu (#910)
It's very ugly at the time being
2017-06-04 20:52:41 +10:00
Atvaark 79fbb4085d Update vendor/github.com/anacrolix (#909)
- This fixes a bug where the torrent client didn't unlock the bolt db
  See: anacrolix/torrent/issues/158
2017-06-04 20:52:22 +10:00
PantsuDev 4d547c3975
Merge branch 'dev' of https://github.com/NyaaPantsu/nyaa into dev 2017-06-04 20:08:01 +10:00
PantsuDev fa88e255ba
Revert "Start adding anidb support"
This reverts commit 7d4c88861e.
2017-06-04 20:06:55 +10:00
MCManuelLP f6b14e34c1 Url encode the display name
fixes #901
2017-06-04 10:24:27 +02:00
PantsuDev e34ddd1404
Reduce size of descriptions 2017-06-04 15:56:36 +10:00
PantsuDev 7d4c88861e
Start adding anidb support 2017-06-04 15:47:24 +10:00
PantsuDev 77295492f3
Add libre-js support 2017-06-04 15:43:41 +10:00
PantsuDev b0a3555afe
Hopefully patch exploit that allows anyone to log users out 2017-06-04 15:38:38 +10:00
PantsuDev 3402e97c50
Revert "Changed renchon with explanation kanji (#905)"
This reverts commit 2f64a322a8.
2017-06-04 12:39:24 +10:00
akuma06 2f64a322a8 Changed renchon with explanation kanji (#905) 2017-06-04 12:29:26 +10:00
akuma06 38e8ee3a7a New modpanel fix (#895)
* Comments count number

* New Modpanel fix

Fixes #755 (@ilikecats)
modpanel tables have margins
modpanel delete buttons are red
some coloring for buttons
reassign form looks better
reassign form textarea have rows="20" cols="40"
"save changes" btn green
report reasons are now translated in modpanel
delete is a real button on modpanel users page

* moved getReportDescription
2017-06-04 02:28:33 +02:00
tomleb 991fc73c4e Update elasticsearch index playbooks (#892)
* Update elasticsearch index swapping playbooks

* Add ansible syntax check

* Document index swapping

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml
2017-06-04 10:28:26 +10:00
Myrmece 6c0735607f Updated translation. (#900) 2017-06-04 09:21:02 +10:00
MMP0 70eafd9668 Update Japanese translations (#896)
* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json
2017-06-04 09:20:38 +10:00
PantsuDev 67ebfa91d5
fix typo 2017-06-03 20:01:19 +10:00
PantsuDev e90c2df2d9
Remove last_login_ip from unused db abstraction 2017-06-03 19:12:36 +10:00
gjwufq3x bb301e4671 mobile icon fixes (#894)
* mobile icons now match /g/ theme

* replace mobile fun icon with one you can actually see
2017-06-03 16:30:34 +10:00
John Smith ad566d672c
Comments 2017-06-03 13:57:00 +10:00
John Smith de176ee1f2
Inline 2017-06-03 13:57:00 +10:00
John Smith 21977ff406
Clarity 2017-06-03 13:57:00 +10:00
Atvaark 99ad76f76f Add web address config (#888)
* This allows changing the nyaa, sukebei and status URL via config.
  Previously only the nyaa address was configurable
* This helps testing changes locally without having to set up
  a TLS terminating proxy
* Also refactored uses of hardcoded URLs in the html templates
  The html templates will now also use the configured urls
2017-06-03 11:45:24 +10:00
kipukun 1365f18398 Make forms look a little better (#885) 2017-06-02 22:35:42 +02:00
kilo 22b0f9f01e Make usernames stick to avatar in navbar (#886)
Usernames were hovering in between the search bar & avatar because of a fixed width:91px; (done because of character limit), so i instead replaced it to a max-width so that short usernames wouldn't just float in there
2017-06-02 22:34:38 +02:00
kilo 5f9b780b97 Put notification count in () (#884)
It was an ugly "Notifications 0" before, now it will be "Notifications (0)"
2017-06-02 22:05:41 +02:00
MMP0 87117d08de Update humanFileSize function 2017-06-02 13:46:59 -05:00
akuma06 a77e341585 Added an edit button 2017-06-02 20:24:44 +02:00
akuma06 1974692480 Forgot the selectAll.js 2017-06-02 20:22:15 +02:00
akuma06 0223fe1014 Added Moderation Panel in page title 2017-06-02 20:12:17 +02:00
akuma06 bd7fe52273 New ModPanel Theme (#883)
* New ModPanel Theme

* Implemented the new @kipukun theme in ModPanel
* Added new translation string
* Fixed the toolbar in /mod/torrents

* Little fix on torrents report

* Remove double navigation

* Added a tag h1 for pages and new translation strings~

* fix warn message
2017-06-02 20:10:36 +02:00
akuma06 3afde2e3c1 Merge pull request #881 from NyaaPantsu/new-search-date-filter
Field Date Filter
2017-06-02 16:33:13 +02:00
akuma06 61a0ab0bc3 Added also a maxage field
Now you can provide ?maxage=nb_days to get the torrents from the last
nb_days days
2017-06-02 16:25:45 +02:00