* Add torrentFileExists function
* If torrent file doesn't exist, put torrent download button opacity at 50%
* ditto for listing
* Forgot an if
* attempt at fixing travis by adding function into test templates
* Attempt at fixing travis by having sex with my own mother
* fix wrong error message
* Add torrentFileExists as global function
* Update template_functions.go
* styling for new nav shit
* new nav html
* Update index_admin.jet.html
* remove top margin
* Add moderation link
* color changes
* tomorrow colors
* remove useless class
* remove further useless styling
* remove useless class
* Remove useless class again
* 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
* Fix search Status
Should fix#1428 ?s=2 and others. Reason: the sql query wasn't correct when filtering (status >= ? = ?)
* Fix adding tag form (nojs) + miscalleneous
* Fix#1423 by checking http method before finding the tags.
* Form is now like other tags form
* New Middleware LoggedInMiddleware to protect routes to logged user only
* Display of Non-Accepted tags in torrent view improved by translating tagtype values
* Update tag.jet.html
* 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
* Remove useless shit
* Fix refine button on IE
* Fix header being bigger than it should
* Fix various issues with header when logged as admin
* More cleanup & small fixes
* Remove useless inline styling
* Forgot a number
* Update main.css
* Remove useless <link>
* Add username search
Quite simple, you need to provide ?user=xxxx
* Add userID search + Changed name of input field
Now ?user=xxx can also search userID.
For that you need to prefix it with "#".
Example:
* ?user=akuma06 would search torrents based on username akuma06
* ?user=#123 would search torrents based on userID 123 (be aware that you have to encode the "#" in url format %23)
* Update search.jet.html (#1436)
* Update main.css (#1435)
* Add title for tag inputs
* Turn the cursor into a pointer when hovering search icon
* Remove space separating search input & refine button
* Remove now useless css rules
* Proper padding for header searchbox
Some text was hidden by the search icon because of too low padding
* Fix language list position on IE
* Fix placeholder display for firefox
2px smaller than regular text
* HTML changes to have tags in one div
* Add form-input class to tags inputs in upload
to have them look like regular inputs
* CSS changes to make tags inline
* Add changes to torrent edit
* Add changes to admin torrent edit
* attempt at fixing travis
* rollback admin edit in an attempt to fix travis
* Fix tags being visually broken in one very specific resolution
* fuck this shit
* Avoid language list being higher than 59px in refine
Otherwise that would break the visual for the future anidb & tag inputs on some very specific res
* CSS to make the new input look pretty & responsive
* HTML of the new inputs
* -1px
* add refine-date class
* set refine-date width in css
* !important width for refine date as to avoid responsive css to change it
* remove size for date inputs
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