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

32 commits

Auteur SHA1 Message Date
akuma06 369c9151f1 Merge remote-tracking branch 'refs/remotes/origin/dev' into multi-action-torrents-mod
# Conflicts:
#	router/modpanel.go
#	router/router.go
#	service/torrent/torrent.go
2017-05-20 13:58:37 +02:00
akuma06 0d5e2abf7f Added multi action on torrents 2017-05-20 13:45:15 +02:00
tomleb 7eee47b0d3 Fix bug, remove literals (#629)
* Use ModeratorDir variable

* Rename cookieHelper to cookie_helper for consistency

* Use named constant instead of literals

* Fix ability to upload when uploads are disabled

The old code let people upload under the right conditions when uploads
were disabled. (ie: User is banned and config.AdminAreStillAllowedTo is
false)

* Increase timeout (fixes #517)

* Fix inconsistent indentation *.{js, css} (fix #583)

* Fix negative page

Temporary fix. The issue was that going to a negative page caused the
sql query to have a negative offset. This caused an error in the
database query.

We need to cleanup this code, but this will work for now.

* Fix wrong PG_DATA directory due to upgrade to 9.6

* Add server status link to FAQ

* Fix failing tests

* Clarify group_vars/all and hosts doc

* Add a wrapper to protect /mod route

* Fix login page not showing form errors
2017-05-20 09:10:16 +10:00
tomleb babf0a37f0 Cleanups and fixes (#623)
* Keep naming consistent

* Remove execute bit from files

* Default to DefaultLanguage (without passing it to the func)

* Remove commented code

* Use Content-Type to get language json

* Lines of 400 characters is dumb

* Update new repo in README

* Remove useless script since we fallback to a defaultlang

* Fix fallback language panic

* Fix uninitialized MaxPerPage when not in querystr

The issue was that the req.MaxPerPage was not set (default to 0) when
the query string didn't include "max". This makes the server query the
whole db since the resulting limit is 0.

* Fix creating empty torrents (only worked once)

* Lines of 400 characters is still dumb
2017-05-19 12:55:59 +10:00
kipukun b1824092ff Moved mascot to the left, made her clickable with sound 2017-05-17 21:37:10 -04:00
akuma06 e2047843f3 Merge branch 'dev' into patch-19 2017-05-18 02:53:36 +02:00
akuma06 54cd4f2217 Update main.js 2017-05-18 02:51:53 +02:00
akuma06 4a52a1f3e3 Fix JS error + Seeding Mobile View
https://my.mixtape.moe/cvmemz.png
2017-05-18 02:49:48 +02:00
MMP0 e45a4a1c75 Fix 2017-05-18 09:44:36 +09:00
MMP0 2e8b36957e Small changes 2017-05-18 09:43:17 +09:00
akuma06 64d073f03c No hour on short and Hour on comments
So reverted modif from date-short
Added new date-comments to have hours on them (when screen is big
enough)
Edited the view for displaying date comments, they were displayed on the
border (even with old date-short)
2017-05-18 01:21:57 +02:00
akuma06 78ce328059 Fix #534
Now hours should be displayed in user language and timezone
2017-05-18 00:02:10 +02:00
akuma06 63844f0d4b Fix #590 2017-05-17 23:00:50 +02:00
akuma06 710de42fb0 Merge pull request #582 from sfan5/misc123
fixes
2017-05-17 22:36:36 +02:00
kipukun c3110a7ff1 Slowly attempting to purge JS 2017-05-17 10:29:30 -04:00
sfan5 1be4ec1a94 Use JS date formatting for comments too 2017-05-17 16:07:32 +02:00
MMP0 a499a483c5 Update main.js (#576) 2017-05-17 21:21:48 +10:00
akuma06 0ed3bdf30b Merge branch 'master' into master 2017-05-14 14:39:48 +02:00
SpamNeko 8b0feab4eb Change theme switching to use appendChild removeChild 2017-05-13 22:07:49 +01:00
ElegantMonkey 5dcd3892f4 Add dropdown to the bottom of the page (needs JS) 2017-05-12 21:01:17 -03:00
Juan Ignacio Navarro 77b1cfc550 Fixed comments style. Fixed Navbar offset. 2017-05-12 17:37:37 -05:00
tomleb b0982f07a6 Change color for bg-danger and fix night theme flickering issue (#370)
* Change color for bg-danger

* Fix annoying flickering with night theme

* use new class instead of overriding bootstrap's
2017-05-11 16:54:53 -05:00
ripdog 93206d2955 No longer use img elements changed by js for the night mode toggle button. Use a css background on the <a>. Less JS is better JS. 2017-05-09 19:09:22 +12:00
ripdog 0d7a9d97bb Removed all layout css from style-night.css, instead adding the night mode css on top of style.css. Thus no layout changes when switching to night mode. 2017-05-09 18:32:22 +12:00
sfan5 f5ae6caede Cleanup night mode code and move switcher to top right 2017-05-07 20:49:59 +02:00
reds a0843e0f74 Removed things used for troubleshooting 2017-05-07 17:34:41 +01:00
reds 97630fe167 Added night toggle button 2017-05-07 17:19:37 +01:00
sfan5 767c91bacd Make pre-filling work correctly 2017-05-07 13:54:45 +02:00
kipukun 94829f4f91 Remove useless JS code 2017-05-06 21:26:13 -04:00
akuma06 4d321f581a Support no javascript 2017-05-07 03:05:39 +02:00
akuma06 5bafc6c0b5 Fixed register page 2017-05-07 03:00:05 +02:00
akuma06 b4da1000b3 Added User Registration View
Moved public files in public folder
2017-05-07 00:10:40 +02:00