MMP0
ca8d7ee20e
Fix navbar bugs
2017-05-21 20:48:52 +09:00
MMP0
2e389ce810
Fix navbar bugs
2017-05-21 20:47:51 +09:00
akuma06
833cf072e9
Update _user_list_torrents.html
2017-05-21 13:33:57 +02:00
akuma06
6c8e5abdbe
Update home.html
2017-05-21 13:33:17 +02:00
akuma06
8e5b6f3378
Merge branch 'dev' into patch5
2017-05-21 13:32:09 +02:00
yiiT
0613b149d9
People forget about mods tools ( #664 )
2017-05-21 12:10:59 +10:00
Ramon Dantas
20209508c9
Bundle CaptchaID and Tfunc for _captcha.html ( #662 )
2017-05-21 12:10:31 +10:00
akuma06
95bd3011ef
Fixed route to delete account
2017-05-21 02:37:44 +02:00
ElegantMonkey
70f1ef1e62
Fix captcha on upload page
2017-05-20 20:46:03 -03:00
akuma06
798ec9a3a8
Merge remote-tracking branch 'refs/remotes/origin/dev' into notifications
...
# Conflicts:
# templates/_badgemenu.html
2017-05-21 01:21:56 +02:00
akuma06
5f60970eb9
Finished
2017-05-21 01:06:40 +02:00
Ramon Dantas
1968d2ae54
Move translation func to template variables ( #652 )
...
* Add T field to template variables
* Remove languages.SetTranslationFromRequest
* Add Tfunc on handlers
* Remove T and Ts from template_functions
* Update templates
Change the templates to use the local Tfunc, instead of the global one.
Also changed the signature of the fields on template_variables.go, so that
they return a template.HTML to avoid escaping problems.
* Remove unnecessary variable
2017-05-21 08:38:28 +10:00
akuma06
0390fc5215
Mostly done
2017-05-21 00:02:57 +02:00
GooNyaa
47ea6ae4cb
Show unknown file size based on current language ( fixes #650 )
2017-05-20 18:32:41 +03:00
akuma06
b3ade9f273
Fixed infos shown as errors
2017-05-20 17:19:10 +02:00
akuma06
cf478a4235
Add Torrent WebLink + fixes
...
Simplifying messages util (no need to add everytime r)
2017-05-20 17:01:13 +02:00
GooNyaa
fce778c6f2
Remove empty style attribute
2017-05-20 17:54:52 +03:00
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
MMP0
c30dbc38f7
Update _badgemenu.html ( #645 )
2017-05-20 21:14:18 +10:00
sfan5
a3fa6df938
Remove bugs ( #643 )
...
* Fix S/L/D columns wasting huge amounts of space
Partially reverts 0c9cdfa8bf
.
* Move last scrape below seed-bar
Also fixes the very misleading indentation
* Show category name on view page too
* Fix fucked up login page (fixes #640 )
* Fix empty page on login w/o pass (fixes #634 )
* Fix incorrectly colored error text in day mode
* Better readable footer in night mode
* Prepare having old uploader names on sukebei and various fixes for sukebei
* Different HTML title for sukebei
2017-05-20 20:45:27 +10:00
MMP0
a0854fe8ee
Update Japanese translations + Small changes ( #635 )
...
* Update ja-jp.all.json
* Update ja-jp.all.json
* Update _user_list_torrents.html
* Update dumps.html
* Update _user_list_torrents.html
* Update dumps.html
* Update _badgemenu.html
2017-05-20 13:12:46 +10:00
kipukun
f377fadf8c
Make mascot disappear on sub 1500 pixels ( #636 )
2017-05-20 13:12:37 +10:00
Eliot Whalan
5270fff72a
Move nyaapansu.mp3 to a pomf clone
2017-05-20 12:10:26 +10: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
moose65468
a2e4fab550
Add tooltips to category images ( #627 )
...
* Added tooltips to category images
* removed line 213
2017-05-20 09:08:54 +10:00
MMP0
5a8140404f
Update view.html ( #625 )
2017-05-19 17:31:07 +10:00
kipukun
7f05f84649
Uncomment night switcher lmao ( #626 )
...
* Uncomment night switcher lmao
* why was it hidden on medium what
2017-05-19 17:30:59 +10:00
kipukun
13375411ad
Make comments extra column + search bar doesn't freak out anymore ( #621 )
...
* Make comments extra column
* Fixed #595 w00t
* 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
* Update ja-jp.all.json (#622 )
* Update README.md
* Make comments extra column
* Fixed #595 w00t
* Comment out comments for now
2017-05-19 15:36:32 +10:00
kipukun
2d5bf3c7b9
Center pagination on top
2017-05-18 15:50:10 -04:00
moose65468
cf8043f3de
sukebei profile categories ( #614 )
2017-05-18 22:35:38 +10:00
yiiT
b483472e79
Update FAQ.html ( #611 )
...
Someone overwrote these changes during a merge
2017-05-18 22:35:26 +10:00
akuma06
66b94eb360
Merge pull request #606 from MMP0/patch-20
...
Fix line breaks
2017-05-18 03:52:18 +02:00
MMP0
ed640fc265
Fix line breaks
2017-05-18 10:44:01 +09:00
kipukun
1e863084d3
Removed IRC link from navbar
2017-05-17 21:39:03 -04:00
kipukun
b1824092ff
Moved mascot to the left, made her clickable with sound
2017-05-17 21:37:10 -04:00
akuma06
4a52a1f3e3
Fix JS error + Seeding Mobile View
...
https://my.mixtape.moe/cvmemz.png
2017-05-18 02:49:48 +02:00
akuma06
09ec192d0f
Merge pull request #601 from NyaaPantsu/fix-dates-short
...
No hour on short and Hour on comments
2017-05-18 01:27:28 +02: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
tomleb
9c6c66d0e9
Don't make path configurable, detect empty directory
2017-05-17 19:05:58 -04:00
tomleb
44d75f506d
Add dumps view
2017-05-17 19:05:58 -04:00
akuma06
63844f0d4b
Fix #590
2017-05-17 23:00:50 +02:00
akuma06
4d5c15ab3f
Merge pull request #584 from ElegantMonkey/minor-fixes
...
Changes to seed/leech display
2017-05-17 22:37:31 +02:00
akuma06
710de42fb0
Merge pull request #582 from sfan5/misc123
...
fixes
2017-05-17 22:36:36 +02:00
ElegantMonkey
b4f02fcf36
Use JS to show LastScrape date (depends on #582 )
2017-05-17 13:06:21 -03:00
ElegantMonkey
ccda45a452
Show Unknown seed/leech count on LastScrape == NULL, show scrape time
...
Instead of showing 0/0/0 when the torrent hasn't been scraped (which
may be misleading), show "Unknown", and also show when the torrent was
last scraped on the view torrent page.
2017-05-17 13:06:21 -03:00
sfan5
89b2b9afdb
SRI (Subresource Integrity) hash for jquery
2017-05-17 16:57:05 +02:00
sfan5
aa17bd55be
Fix layout differences between day/night mode ( fixes #493 )
2017-05-17 16:47:30 +02:00
sfan5
c575ff4698
Remove unused template block
2017-05-17 16:20:58 +02:00
kipukun
f0839a117c
Remove color from torrent title in view page
2017-05-17 10:18:29 -04:00
sfan5
1be4ec1a94
Use JS date formatting for comments too
2017-05-17 16:07:32 +02:00
Ramon Dantas
a64c3c5b71
Minor fixes. ( #575 )
...
* Sort Comments by Date and Files by Name on viewTorrent
* Make comments start at 1, not 0.
2017-05-17 21:16:40 +10:00
yiiT
6356ae6ef4
Fix Links column alignment ( #573 )
2017-05-17 20:26:37 +10:00
yiiT
c9c1d06cd0
Add Markdown Editor for torrent description ( #572 )
2017-05-17 20:26:28 +10:00
PantsuDev
70f87e7aac
finish repo transfer
2017-05-17 15:58:40 +10:00
PantsuDev
0807ca5d5d
Add sukebei cat to admin edit torrent page
2017-05-17 15:33:06 +10:00
akuma06
297ee531f8
Fix lang in html tag
...
Added a new translation string in all translations "language_code"
Issue #545
2017-05-17 00:27:55 +02:00
akuma06
9cdfc00762
Number of comments
...
Issue #553
2017-05-17 00:05:16 +02:00
akuma06
dd02a356b5
Less Ugly
...
Fix #548
2017-05-16 23:17:52 +02:00
akuma06
e4eb158a90
doko patch
...
Just for issue #549
2017-05-16 22:55:07 +02:00
GooNyaa
7ed0186db7
[templates][register] remove unnecessary symbol in title
2017-05-16 22:29:58 +03:00
Eliot Whalan
4e61605a30
Merge branch 'dev'
2017-05-16 13:34:21 +10:00
Ramon Dantas
3b780ac8bd
Make file lists collapsable ( #536 )
2017-05-16 11:49:34 +10:00
akuma06
01c324c7fc
Merge pull request #529 from sfan5/normies
...
Fix upload page
2017-05-15 19:42:26 +02:00
sfan5
dc496c1078
Fix missing sukebei cat. translations
2017-05-15 19:36:02 +02:00
sfan5
3eda7c3b9c
Fix upload page (@ewhal pls)
2017-05-15 19:32:37 +02:00
xqm
6ac2a0e078
Translation bug fix and update zh-cn
2017-05-15 22:54:10 +08:00
sfan5
cb455113cc
Various fixes ( #521 )
...
* Re-add old uploader name to view page
* Update zh-CN translation (fixes #519 )
* Nicer text boxes in night mode (closes #515 )
* Fix max results defaulting to 5 (fixes #488 )
* Add link back to nyaa on sukebei (fixes #255 and #437 )
* Fix visual bug with pt-BR translation (fixes #427 )
2017-05-15 21:55:16 +10:00
Eliot Whalan
a5e81b2d8c
Fix uploads
2017-05-15 19:50:39 +10:00
Eliot Whalan
b93ec8f7b9
Make header link back to nyaa on sukebei
2017-05-15 19:15:13 +10:00
Eliot Whalan
199f141f0c
Merge branch 'dev' of https://github.com/ewhal/nyaa into dev
2017-05-15 19:09:17 +10:00
Eliot Whalan
cf4e482046
Get sukebei working
2017-05-15 19:08:17 +10:00
xqm
e8e90d4236
Update zh-cn and captcha
2017-05-15 13:25:18 +08:00
ElegantMonkey
df2c9bc2f7
Fix conflicts
2017-05-14 21:19:29 -03:00
SpamNeko
0c9cdfa8bf
Sorting arrows on table headers ( #504 )
...
* Sorting arrows on table headers
* Better arrows and seperate S/L/D columns
2017-05-14 19:01:04 -05: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
akuma06
1a3ffdf7f2
Merge pull request #498 from yueou/dev
...
Add new translations
2017-05-14 19:47:32 +02:00
akuma06
fa305a59a7
Merge pull request #489 from sfan5/fixez
...
Lots of fixes
2017-05-14 19:46:31 +02:00
xqm
44a6eaf524
Add new translations
...
Add new translations
2017-05-15 01:32:25 +08:00
sfan5
15ecf9827b
Fix minor bug after completing modpanel reassing form
2017-05-14 18:17:18 +02:00
ElegantMonkey
2ab4d4ad9e
Fix conflict on translation
2017-05-14 12:45:07 -03:00
sfan5
d2eacfc692
Add torrent link to modpanel comment list
2017-05-14 17:41:55 +02:00
sfan5
65042a62ea
Update german translation
2017-05-14 17:35:10 +02:00
sfan5
937c9752af
Fix broken translation string on view page
2017-05-14 17:34:58 +02:00
sfan5
a9f534e19c
Unbreak layout of view page in general (@akuma06 again)
2017-05-14 17:13:45 +02:00
sfan5
b7834bc1ba
Fix torrent status color not being shown on view page (@akuma06 broke it)
2017-05-14 17:13:28 +02:00
GooNyaa
425ad9c787
[templates][FAQ] update "other trackers" alignment
2017-05-14 18:10:36 +03:00
akuma06
cc376d88de
Merge branch 'dev' into torrent-btn-translation
2017-05-14 16:49:20 +02:00
Eliot Whalan
9261847a93
Merge branch 'dev' of https://github.com/ewhal/nyaa into dev
2017-05-14 23:26:25 +10:00
ElegantMonkey
839e6068df
Add FileList view to view.html template
...
Also added the code for FileList loading on torrentService.
2017-05-14 10:19:19 -03:00
lc-guy
645c91659b
Fix searching for seeders/leechers/downloads
2017-05-14 14:18:51 +01:00
akuma06
b84cf99534
Replace text by translation string
2017-05-14 15:09:44 +02:00
akuma06
0ed3bdf30b
Merge branch 'master' into master
2017-05-14 14:39:48 +02:00
PantsuDev
266ee86667
Merge pull request #473 from lc-guy/dev
...
Add info in FAQ for account migrations
2017-05-14 21:41:11 +10:00
apt-get
baa097c6a8
Add info in FAQ for account migrations
2017-05-14 12:39:23 +01:00
Eliot Whalan
526b607fc4
Add account settings link to dropdown
2017-05-14 21:18:22 +10:00
sfan5
c60a8635fc
Fix search in modpanel (@SpamNeko broke it)
2017-05-14 13:01:59 +02:00
ayame-git
b28e7657e1
api token on profile page
2017-05-14 07:15:58 +03:00
ayame-git
93b83fbfc9
profile page hotfix
2017-05-14 06:56:07 +03:00
akuma06
89e835d040
Merge pull request #452 from S0X-LT/dev
...
Adding our tracker to FAQ
2017-05-14 00:39:21 +02:00
akuma06
8dd9f59cf5
Merge pull request #436 from sfan5/treassign
...
Modpanel: Torrent Reassigning
2017-05-14 00:29:44 +02:00
akuma06
2da72aa6a4
Merge pull request #428 from Atvaark/tabindex
...
Fix registration view tab order
2017-05-14 00:28:53 +02:00
akuma06
28d2717564
Merge pull request #415 from SpamNeko/sorting
...
Move 'advanced' search into table headers
2017-05-14 00:27:25 +02:00
S0X-LT
7b5f85a06d
Update FAQ.html
2017-05-13 18:15:44 -04:00
S0X-LT
bb695c8554
Update FAQ.html
2017-05-13 17:38:51 -04:00
SpamNeko
8b0feab4eb
Change theme switching to use appendChild removeChild
2017-05-13 22:07:49 +01:00
SpamNeko
dc32f041e1
Add sorting to table headers, delet advanced search
2017-05-13 18:14:51 +01:00
sfan5
c0be570e54
Torrent Reassign feature for modpanel
2017-05-13 17:29:21 +02:00
Atvaark
844a0734dd
Fix registration view tab order
...
Since the captcha uses the default tab order it was getting skipped
by the registration form.
- Add autofocus to the registration and upload view
- Add id attribute to input elements that have a label
2017-05-13 15:09:11 +02:00
sfan5
3116274990
changes ( #426 )
...
* Hide change language footer when logged in
* Force people to select a report reason
* Don't ask for confirmation before deleting a torrent report
* Small cleanup of modpanel templates
* Fix modpanel comment list
* Fix missing "Delete" translation in modpanel
* Update German translation
* A few updates to the FAQ
2017-05-13 21:57:57 +10:00
Austin
821dd32616
Merge branch 'master' into dev
2017-05-12 21:33:17 -05:00
PantsuDev
0ae488e7eb
Merge branch 'dev' into dev
2017-05-13 12:24:55 +10:00
ElegantMonkey
5dcd3892f4
Add dropdown to the bottom of the page (needs JS)
2017-05-12 21:01:17 -03:00
Juan Ignacio Navarro
fe79c4a7ac
Fixed Hash overflow
2017-05-12 17:40:38 -05:00
Juan Ignacio Navarro
77b1cfc550
Fixed comments style. Fixed Navbar offset.
2017-05-12 17:37:37 -05: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
ElegantMonkey
7808615c6a
Add route and template files
2017-05-12 19:28:56 -03:00
yiiTT
dd8667b8c7
Merge branch 'master' of https://github.com/ewhal/nyaa
2017-05-12 17:22:35 -05:00
ElegantMonkey
dfd9caeb31
Add language selector without login
2017-05-12 19:17:34 -03:00
Juan Ignacio Navarro
10c04e708d
Merge remote-tracking branch 'upstream/master'
2017-05-12 16:45:56 -05:00
yiiTT
96ce3e9c20
Set default upload category to none
2017-05-12 15:03:15 -05:00
yiiTT
8814dd4620
Revert "Set default upload category to none. Translation update required"
...
This reverts commit 5fb780b854
.
2017-05-12 15:02:19 -05:00
yiiTT
0293fe7b10
Set default upload category to none. Translation update required
2017-05-12 14:41:39 -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
sfan5
1b556cdca0
More report categories, fixes #393
2017-05-12 20:35:07 +02:00
Juan Ignacio Navarro
9ba3f3c409
Merge remote-tracking branch 'upstream/master'
2017-05-12 10:11:14 -05:00
sfan5
5bfdf8b093
Revert design changes (????)
...
This reverts commit d2b2ce5b8e
and 149b2bdf45
.
2017-05-12 12:47:01 +02:00
PantsuDev
d39808f953
Merge pull request #390 from ewhal/akuma06-fix-index
...
Update home.html
2017-05-12 20:25:47 +10:00
PantsuDev
5c048c7726
Merge pull request #389 from ewhal/akuma06-fix-design
...
WTF design
2017-05-12 20:25:39 +10:00
sfan5
2900278526
Fix modpanel index page
...
Users don't seem to be fetched yet, display their IDs instead
2017-05-12 12:20:01 +02:00
sfan5
de67e9c922
Hide "Remember Me" button because it doesn't work yet
2017-05-12 12:16:15 +02:00
sfan5
1feb377ce0
Remove the notice about not hosting files from FAQ
...
No longer applies I guess...
2017-05-12 12:12:15 +02:00
sfan5
6b341c7b03
No captchas for trusted users or admins, closes #330
2017-05-12 12:05:36 +02:00
akuma06
8012d0a71b
Update home.html
...
Deplace top navigation
2017-05-12 11:58:54 +02:00
akuma06
ad2b4acfe3
WTF design
...
Too much white before listing
Who had the idea to use ul for the content Oo
And please, no br when it's not in paragraph
2017-05-12 11:57:45 +02:00
sfan5
e2a15c185c
Remove eddie4.nl tracker
...
It resolves to the same IP address as leechers-paradise which we already have.
2017-05-12 11:30:10 +02:00
Eliot Whalan
bcaac0961f
Revert "Stateless cookies ( #372 )"
...
This reverts commit 2f06fb8fa1
.
2017-05-12 16:42:15 +10:00
yiiTT
6bc39d70fe
Update logo CSS
2017-05-11 22:59:39 -05:00
yiiTT
d9b2348734
Update Logo
2017-05-11 22:40:55 -05:00
Juan Navarro
40716c2b74
New comment style. Gravatar not working as intended.
2017-05-11 22:05:14 -05:00
tomleb
34933e0b82
Use template for night theme switcher inline js
2017-05-11 17:09:53 -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
sfan5
a96902a737
Fix minor display bug on profile edit page
2017-05-11 16:54:28 -05:00
akuma06
8d3d169316
Merge pull request #369 from bittebitte/patch-2
...
Autofocus username field
2017-05-11 23:20:40 +02:00
sfan5
019f37dc4d
Stateless cookies ( #372 )
...
* Remove eddie4.nl tracker
It resolves to the same IP address as leechers-paradise which we already have.
* Remove database usage from cookie auth
* Hide "Remember Me" as it doesn't work yet
2017-05-11 16:18:56 -05:00
akuma06
3fc4236a76
slight design improvement for template
2017-05-11 22:54:42 +02:00
bittebitte
a377e272c8
Autofocus username field
2017-05-11 14:25:16 -05:00
akuma06
9f2d0f1962
New translation function and time depends on translation
2017-05-11 13:15:52 +02:00
akuma06
0fb5c2eb3a
Merge branch 'master' into patch-3
2017-05-11 12:37:24 +02:00
sfan5
500f5bda02
Fix editing other profiles as a mod
2017-05-11 11:58:44 +02:00