* Fix User delete button
Fix#1652
This bug comes from the fact that @kiloutre edited how the form behave and instead of a GET request, do a POST one. However every POST request not in /api or /mod need a CSRF Token to work.
* Update userlist.jet.html
* Update index.jet.html
* Fix invalid comment date when JS is enabled
* fix travis
* fix wrong url in admin torrent list
* Fix wrong pubDate for /feed
* Different function name
* same changes as rss for magnet rss
* travis test
* fix delete button on torrent view
* Update edit.jet.html
* Update index.jet.html
* Update userlist.jet.html
* Update torrentlist.jet.html
* Update tomorrow.css
* Update main.css
* Update main.css
* fix invalid date of torrents in user profile
* modify fancy js to work with new form
* enhance fancy JS to adapt to every form
* Update index.jet.html
* Update index_admin.jet.html
* Update torrentlist.jet.html
* what the fuck
* ditto
* forgot to remove the debug alert
* bottom margin for comment avatar
* Resetting API key now redirects you back to edit page
* move important faq things up in the faq
* Add div as high as header instead of top margin for #content
* Fix modtools showing behind ad
* No margin-top for body
* add functions that will be used in the future to file.go
* Update create.go
* fix css rule that didn't apply
* Fix some JS of upload form that kept shitting out errors since i updated the upload form
* Update upload.jet.html
* fix duplicate id on a form
* Fix very very slightly misaligned input
* fix html error on filelist
* Add FullDate variable to torrents
* Create Go function that returns an user-friendly date when fed a go date
* akuma must hate me for butchering the template_functions_test file
* Make use of said function in view.jet.html
* Forgot to vars.set the function
* Remove useless title
* Make use of function in listing
* modify JS to fetch full date from title instead of innerText
* Fix title date & two functions looping on non-existing objects
* Show full dates in an AM/PM format like on live
* Torrent dates on UTC+0 by default
* No API token message if no API token
* Update CHANGELOG.md
* Update en-us.all.json
* move delete user button to the right
* prettier button hovering text color [tomorrow]
* Update en-us.all.json
* use of translation strings for certain themes
* ditto
* Remove hardcoded theme name, make use of translation strings in function if it exist
* Update template_functions_test.go
* Update template_functions_test.go
* Update template_functions.go
* fix travis
* remove useless condition
* lower top margin for comment usernames & avatar
* Update classic.css
* temporary workaround to hide quadrupled comments
* Update view.jet.html
* Add "search from user" input below user rss link, change styling of follow button to fit other links
* all into the same div
* Remove padding of usersearch input in panel, remove useless css rule
* min-width for user buttons, max-width for the input
* Don't show "search from this user" if it's your profile
* remove max-width when responsive userprofile kicks in
* remove useless css rule
* Update view.jet.html
* le fix
* optimize stats.go a bit and add comments
* Update stats.go
* Update template_functions_test.go
* Update template_functions.go
* Remove hardcoded theme list, generate dynamically
* ditto
* Add possibility of forcing a theme for everyone
* in the .yml config file
* Make it ignore both user settings and cookies
* add forced theme in default theme config struct
* Update publicSettings.go
* fix missing , & travis
* Update template_functions_test.go
* Update main.css
* fix travis
* Update template_functions_test.go
* travis
* Lower amount of torrents shown in user profile
* Additional routes for user search
* Handler for user not found page
* User not found error page, with input to search username
* Move theme css in their own folder
* Delete g.css
* Delete classic.css
* Delete classic_colors.css
* Delete tomorrow.css
* Delete bg-body.png
* Delete bg-header-tile.png
* Delete s_bg-header-tile.png
* Change path used by stylesheet in html head
* Change theme path used by JS theme changers
* Update user_not_found.jet.html
* Update CHANGELOG.md
* Update en-us.all.json
* fix ad scrolling
* remove useless stuff
* fix travis & json file
* fix travis again
* remove duplicate
* Update CHANGELOG.md
* Writing an username instead of an userid in userprofile URL will no longer return the Anonymous profile
* redirect to username search instead of rendering a template without checking if username exists
* Styling for new "Search from user" input in profile
* new "Search from this user" input
* Add RSS link on user profile
* fix rss icon being misaligned
* start comment count at 1 instead of 0
* fix misalignement of category in refine in japanese
* Add new routes for user search
* Update torrents.jet.html
* add translation string
* Update en-us.all.json
* Update CHANGELOG.md
* remove margin-right of torrent button icon
* Add /username/XXX/Search route
* /username/XXX route doesn't redirect anymore
* create JS domain variable
* use domain JS variable when creating cookies
* Create getDomainName() function in Go
* Update template_functions_test.go
* Update template_functions_test.go
* recreate cookie when resetCookies() is called
* Update main.css
* Update classic.css
* show "unknown" instead of "0 0 0" if stats are unknown
* don't show top ad if there's an announcement
* remove BBCode support that broke description's line breaks
* remove useless identifier
* hide error instead of fixing it
* Update markdown_test.go
* Update markdown_test.go
* css for tags in classic
* remove wrong explanation for alternating color
* fix RSS URL in header
* remove eu cookie <div> from base
* fix cookie warning never showing up
* Update main.js
* nyaa.se-like styling for upload form on classic.css
* Smaller markdown toolbar on classic upload form
* Fix indent, non-round borders for markdown & language list on classic
* Update view.jet.html
* add fillZero function
* ditto but in test
* Update view.jet.html
* add RJ prefix to dlsite link
* Update template_functions_test.go
* Update listing.jet.html
* prevent responsiveness of upload form in classic.css
* remove now useless css rule
* fix tag input padding on classic
* Update template_functions_test.go
* rollback workaround
* rollback workaround
* rollback workaround
* remove now unused function
* ditto
* Update main.css
* rollback the rollback
* fix classic.css padding
* remove </img> tag
* Update torrents.jet.html
* Fix html tag
* fix footer & ad showing over the TOS
* move setting & add it's explanation
* Update en-us.all.json
* include nav in listing directly instead of refine
* Update search.jet.html
* remove now useless css rules
* Update main.css
* Update base.jet.html
* exclude old navigation cookie from deletion
* add torrent uploaded total size to user profile
* Update view.jet.html
* Update en-us.all.json
* Update view.jet.html
* Update CHANGELOG.md
* fix travis
* Update classic.css
* Update view.jet.html
* Update main.css
* Update classic.css
* Update classic.css
* Update classic.css
* add link to user page & avatar in comment
* stylisation for avatar in main.css
* Update classic.css
* Fix wrongly placed ::before
* Add rule list to terms of service
* import rules on register
* fix refine-container-2's inputs
* Update base.jet.html
* Update en-us.all.json
* Update CHANGELOG.md
* GenNav changes to constantly put HTML for nav arrows regardless of page
* css changes for website nav etc etc
* add OldNav global variable
* Add OldNav to test.go
* Update publicSettings.go
* change OldNav's value type
* Old navigation in settings
* add OldNav in user variables
* add oldNav input handler in settings.go
* Change OldNav's default value into false
* Create OldNav.jet.html
* Update search.jet.html
* remove character that had nothing to do here
* fix wrong variable name
* fix worng variable name and travis
* Update classic.css
* Add sort order & type to old nav
* add toString() function in test
* add toString() function
* translation string for oldnav setting
* Use translation string in settings.jet.html
* fix few html errors
* ditto
* travis fix test
* remove useless charset
* remove useless things
* add spaces before attributes
* attempt at fixing travis 2
* fix wrong variable name
* Update classic.css
* fix travis plsss
* Update base.jet.html
* Remove inline styling, put whole thing into a div instead of center to be able to move it at other places at will
* Move inline styling in there & some adjustements that will need further tweaking
* Add GetAdsEnabledFromRequest() function
* Ads Enabled global var
* Need to add global var in test file for it to work properly
* AdEnabled handler in settings
* Create AdsEnabled var for users
* Check if user wants to hide ads
* change var name
* change var name
* change var name
* change var name
* var name changes
* Add ad enabled settings & put each indiviidual setting into a span
* add |raw
* add translation strings
* add ads to faq
* Remove <br> and add faq link
* Fix travis
* Fix wrong condition check
* exclude aldColors & hideAds cookie from deletion
* remove useless things
* Fix template_test.go
* No idea why that part got removed
* Forgot }}
* lower padding for ad container
* Non-bold torrent name when using alternating background colors
* Add alternating colors for g.css
* Add alternating colors for classic.css
* Add alternating colors for tomorreuw
* Update classic.css
* Add alternating colors to settings page
* Add alt-colors class to tbody if enabled
* Add GetAltColorsFromRequest() function to get AltColors cookie value
* Create AltColors variable for usage in listing
* Make settings handle altColors input
* Add AltColors in user struct
* Returned the wrong variable here
* Turn function return value into bool
* Condition checks variable like a bool
* ditto
* better color for g.css
* even better color
* better
* Last change for g.css
* Improvement for tomorrow
* Update classic.css
* add alt-colors class to upload preview
* Add alt-colors to user profile
* more vivid color for g
* Fix typo
* Remove browser outline for refine when clicked on
* remove browser outline
* Fix rules that didn't apply and category icon being way too small on user profile thanks to usage of percentage
* Remove show-xs class for search inputs
* Turn refine button back into position: absolute to pin at very bottom of refine
* Alternating colors for g's trusted, remake & aplus
* Update tomorrow.css
* attempt at fixing travis
* test (will have to rollback that change)
* rollback
* will have to rollback
* will have to rollback
* will have to rollback
* will have to rollback
* add AltColors variable to template test
* rollback
* rollback
* rollback
* rollback
I tried locally and I'm kept logged in. @ewhal check after update that you do have the same hash set in both nyaa and sukebei. If you do, just change the domain name (".pantsu.cat") in the functions getDomainName() to the subdomain. Because I don't see why it wouldn't work otherwise
* remove custom_flag.css
* remove ' that had nothing to do here
* replace sukebei variable to boolean
* fix ? operator & variable name
* attempt at fixing visual cues for anonymous torrents
* Update torrents.jet.html
* add missing ,
* useless code if user logged off so moving that
* add it back here and check if logged in
* should work almost properly now
* same here
* flag-other invisible
* Update kilo.js
* Update upload.jet.html
* should work very well now
* same here
* Delete categories.png
* Add files via upload
* Update main.css
* Update kilo.js
* Update upload.jet.html
* Update kilo.js
* Update torrents.jet.html
* proper behavior for trusted people
* different flag form id
* add id
* add language name in an span
* make that span invisible =)
* Update flags.jet.html
* Update upload.jet.html
* Update kilo.js
* whoever read this is a faggot
* Update upload.jet.html