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

3558 commits

Auteur SHA1 Message Date
kilo
415db642dd
Make announcements support markdown 2017-11-18 02:20:39 +01:00
kilo
2085552fdd
Update index_site.jet.html 2017-11-18 02:20:07 +01:00
kilo
422cbc6fdc
Update classic_colors.css 2017-11-18 02:19:48 +01:00
kilo
c8ee58da2e
Update classic.css 2017-11-18 02:19:41 +01:00
kilo
07ef175e0b
Update tomorrow.css 2017-11-18 02:19:36 +01:00
kilo
e40143ce8d
Update main.css 2017-11-18 02:18:34 +01:00
kilo
536ad016b7
Update upload.jet.html 2017-11-18 02:05:27 +01:00
kilo
8014083eb2
Update main.css 2017-11-18 01:46:57 +01:00
kilo
9d907f2954
remove inline styling 2017-11-18 01:46:24 +01:00
kilo
bd0990c38c
Update torrentParam_test.go 2017-11-17 03:15:37 +01:00
kilo
0faf278dc2
Merge branch 'dev' into user-followers 2017-11-17 03:06:43 +01:00
kilo
d60c0248e2
Fix locked torrents that were shown even when they should not 2017-11-17 03:05:16 +01:00
kilo
6c39a21b88
Update torrentParam.go 2017-11-17 02:55:52 +01:00
Jeff
dad9419a97 makefile and CoC (#1741)
* * add makefile for build

* use io.ReadFull instead of io.Reader's Read()

* add CoC(K)

* fix typo
2017-11-17 00:56:36 +01:00
kilo
69e98f98ea
Update profile.jet.html 2017-11-16 21:17:41 +01:00
kilo
6cc7ffd026
Update user.go 2017-11-16 21:17:40 +01:00
kilo
2e6a6040d1
show liking count 2017-11-16 19:34:16 +01:00
kilo
977bda8cd0
Update follower count directly here 2017-11-16 19:21:43 +01:00
kilo
5203b21733
Don't update follower count here 2017-11-16 19:21:15 +01:00
kilo
70899dc490
GetLikings() & GetFollowers() now return count too 2017-11-16 19:18:29 +01:00
kilo
0fea1df5c1
Add "uploader" userstatus in comment 2017-11-16 03:24:05 +01:00
kilo
a872040ee7
Remove now useless imports 2017-11-15 21:21:14 +01:00
kilo
620780b3a6
call ViewHandler so that comments visually update properly 2017-11-15 21:13:53 +01:00
kilo
c9fcdca88e
Fix comment not appearing until you refreshed the torrent page 2017-11-15 20:30:29 +01:00
kilo
21840bcdd0
Query an update of user followers if at 0 when looking at his profile 2017-11-15 04:19:32 +01:00
kilo
4b3457a119
Remove useless condition 2017-11-15 04:04:35 +01:00
kilo
7e96b83dc1
Update user.go 2017-11-15 04:03:56 +01:00
kilo
720ede9295
Add new followers directly to user.Followers 2017-11-15 03:58:52 +01:00
Andrei Stepanov
1baa0e4576 Update ru-ru.all.json (#1739) 2017-11-14 18:49:46 +01:00
kilo
5dcd30676f
Janitor (#1728)
* Fix "torrent is being generated" message showing up even when the torrent couldn't be generated

* Add janitor user status

* Remove usage of deprecated HasAdmin() function

* Give Janitors access to mod panel

* Stop using deprecated HasAdmin() function

* Stop using deprecated HasAdmin() function

* Update edit.go

* Update profile.go

* Rollback bad changes, remove redundant email check and stop using deprecated function

* Show every userstatus (member, janitor, banned, mod) in comments

* Return empty status if anonymous

* Show no userstatus for anonymous profile

* Show moderation link to janitors too

* Stop using deprecated HasAdmin() function

* Stop using deprecated HasAdmin() function

* Stop using deprecated HasAdmin() function

* Add Janitor to userstatus select in user edit

* "Janitor" translation string

* didnt mean to commit this change

* rollback wrongfully comitted changes

* rollback commit

* Update CHANGELOG.md

* Fix wrong id for translation

* remove deprecated HasAdmin() function again

* change name of variable used in comment loop for clarity purposes

* visual cue for locked torrents in torrent listing for admins

* add visual cues for hidden torrents in admin torrent listing

* Dont show delete buttons for janitors

* janitor cannot delete torrents

* show block/unblock button in torrent list for janitors instead of delete button

* fix function that didnt get executed

* add ban buttons on userlist & visual cue for banned users

* Fix "user successfully deleted" message showing even if user wasnt deleted

* Add "ban" button, no "delete" button for jantiors

* add "unban" and "ban" translation strings

* add "unban" and "ban" translation strings

* different <form> for ban button

* Update index.jet.html

* add userprofile ban route

* add toggleBan() function, janitors dont need captcha either

* fix panic error when deleting an anonymous comment

* add user_banned_by and user_unbanned_by

* add user_banned_by and user_unbanned_by

* Make ToggleBan() return whether or not the user is now banned

* Add handler for /ban route

* change log filter

* hide locked torrents from regular users

* hide locked torrents from regular users

* hide locked torrent from api search for regular users

* change function to CurrentOrJanitor

* change function to currentorjanitor

* change function to currentorjanitor

* add CurrentOrJanitor function

* fix extra (

* fix extra ) and wrong variable name

* Fix wrong value for janitor user status

* Fix user edit that did not work because of "unique constraint user.emails" error

* only immediately visually update user if user has been updated successfully

* use FindAllForAdminsOrderBy in order to preload users

* create FindAllForAdminsOrderBy that preloads users

* Show username instead of ID in Uploader column in admin panel

* Fix userprofile buttons overflowing at some specific resolutions

* Mods can set users as janitors

* Show ban/unban buttons on userprofile for janitors

* Identical styling for usermenu links and buttons

* dont show ban buttons on other staff

* add ban message through get parameter

* make toggleBan() trigger user update

* Add "user_banned" and "user_unbanned"

* add "user_banned" and "user_unbanned"

* Visual cue for banned user

* banned users can still log in

* visual cue for banned user in  badgemenu

* locked status if banned user on upload

* banned users cannot comment

* Put "banned" text between ()

* add GetCategoryName() to template_test

* add GetCategoryName() that returns full category name from full category string

* Show search content in page title if it exists, or search category if it exists, otherwise shows "Home"

* error message when user uploads an torrent & is banned

* add torrent_uploaded_locked

* add torrent_uploaded_locked

* fix delete definitely button that never appeared

* Show delete definitely button on admin panel index

* admins can undelete a torrent by editing it's status

* Trigger ViewHandler() directly instead of redirecting

* Render the template directly instead of triggering torrent view handler

* bigger usermenu buttons once responsive design kicks in

* make btn-* class non-bold

* Responsive notification page

* visual cue for locked torrents in torrent listing

* Update search.go

* Update search.go

* Update api.go

* Update helpers.go

* Update template.go

* Update torrentParam.go

* remove "hidden" class

* Update search.go

* fix an html error

* Add files via upload

* Update admin.jet.html

* Update index.go

* Update index.go

* Update router.go

* Update torrentParam_test.go

* Update torrentParam_test.go

* fix extra "

* fix bad copypaste

* Update CHANGELOG.md

* Update guidelines.jet.html

* Update CHANGELOG.md

* add Guidelines and Moderation Guidelines

* fix missing commas

* Update torrentlist.jet.html

* Update find.go

* Update stats.go

* Update view.jet.html

* Update index.jet.html
2017-11-14 09:39:39 +01:00
Eduard Ereza Martínez
ca2f5d3c42 Update Catalan translation (#1738) 2017-11-13 16:59:25 +01:00
MMP0
13e887d045 Update view.jet.html (#1737) 2017-11-13 16:48:56 +01:00
MMP0
03d9d4e680 Add Markdown editor to view page (#1736)
* Update view.jet.html

* Styling to make the markdown textarea smaller by default

* Fix markdown editor in fullscreen

* Different positionsand sizes are needed in classic theme

* Add class to <td> containing description textarea, needed in order to apply a CSS rule onto it
2017-11-11 19:00:32 +01:00
MMP0
04896f3ec4 Update Japanese translation (#1735)
* Update ja-jp.all.json

* Update ja-jp.all.json
2017-11-11 17:31:22 +01:00
Myrmece
4ddba9f2f6 Updated translation. (#1734) 2017-11-11 12:16:09 +01:00
Myrmece
909d1b8d83 Updated translation. (#1732) 2017-11-09 20:53:28 +01:00
MMP0
8d34d77c91 Update ja-jp.all.json (#1729) 2017-11-09 16:49:48 +01:00
kilo
887ff5b016 Fix duplicate comment workaround that hid comments that shouldnt have been hidden (#1727)
* Update view.jet.html

* Fix notification order that was all over the place once you started deleting old notifications
2017-11-09 20:14:29 +10:00
kilo
fdd86d6a9e Also delete cookies from main domain instead of just current subdomain (#1726)
* Update main.js

* fix folders in filelist

* Update treeview.jet.html
2017-11-09 19:49:01 +10:00
kilo
6a03a75d6b
Fix settings page for non-logged in users (#1725)
* Update main.js

* delete cookies from any domain before creating them

* Update settings.jet.html
2017-11-09 10:21:28 +01:00
kilo
fdbf06e610 Increase max torrent per page, fix HTML errors, other fixes (#1723)
* Increase max torrent per page

* Increase max torrent per page

* fix html error by changing an ID into a class

* change css selector from id to class

* Update oldNav.jet.html

* Update classic.css

* Update captcha.jet.html

* Fix order of torrents in admin panel index

* Update settings.jet.html

* make lang postform have same name as cookie
2017-11-09 11:53:38 +10:00
kilo
1bbda2c96a Fix sukebei fromID search (#1722)
* Update sortmode.go

* Update torrentParam.go
2017-11-08 23:41:39 +10:00
kilo
213780f0eb
Small fixes (#1715)
* Update main.css

* saving settings now clear old cookies of current domain

* Update main.js

* Update classic.css

* Update settings.go

* Update main.css

* Update commentlist.jet.html

* Update generate.go

* Update default_config.yml

* Update structs.go

* Update default_config.yml

* Update find.go

* Update find.go

* Update stats.go

* Update interaction.go
2017-11-08 09:32:06 +01:00
MMP0
285bca23cb Update ja-jp.all.json (#1720) 2017-11-08 09:21:31 +01:00
kilo
ca271e2ac6
Username search for admin comment list, inputs for userid & username search in said comment list (#1713)
* Update comments.go

* Update commentlist.jet.html

* Update comments.go

When you search a username and you have a userid in the url, the conditions string doesn't have "AND" in it. I made the username search a priority and if there is not username provided, it falls back to userid in url.
2017-11-06 09:17:14 +01:00
Myrmece
98af64a4e2 Updated translation. (#1714) 2017-11-05 17:34:55 +01:00
kilo
e8dfeaea4a
Fix report creation from report template for anonymous users & small css adjustement (#1712)
* Fix report creation from report template for anonymous users

* small adjustement for styling of usernames in comment

* lower margin-top for comment content

* Update en-us.all.json

* Update CHANGELOG.md

* fix torrent link button's styling getting messed up from
2017-11-05 07:43:53 +01:00
kilo
cc4e0fe5c0
Fix JS for torrent/user deletion that would delete even if you refused to confirm (#1711)
* Update torrentlist.jet.html

* Update index_admin.jet.html
2017-11-04 07:23:10 +01:00
Myrmece
357012932b Updated translation. (#1710) 2017-11-04 07:13:08 +01:00
kilo
594b0885b7
Remove unused translation string (#1708)
* Update CHANGELOG.md

* remove unused "old" translation string
2017-11-04 06:50:31 +01:00