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

29 commits

Auteur SHA1 Message Date
kipukun
424633631c More frontend shit (#731)
* Torrent Mass Edit Api (WIP)

* Torrents can be deleted in mass from frontend with api post request
* Torrents status can be edited from frontend with api post request
-- Look to function doc for more info on how to use it

It is a WIP so it might not work =D

* Finished Mass mod Api

As per suggestion of @yiiTT in #720, I added:
* Changing torrents category
* Deletion of reports with deletion of a torrent
* Changing owner of multiple torrents

Commit also add some new translation strings.

* Make some changes

* Reports can now be cleared for the torrents selected without having to
delete them
* Users with no admin rights can't delete reports

* Fix moveto to status

moveto deprecated in api

* Tested and works!

Changes:
* Updates only the colomns of torrent table
* Moved categories config in config/torrents.go

* Make sort arrows look a lot nicer

* Add search icon into search input

* Work on navbar, fix it on mobile view

* Hide mascot on mobile views

* Make torrent view work on mobile + minor improvements

* Add status and various things to view

* ACTUALLY FINISH VIEW PAGE

* Forgot this file in last commit

* wow user profile was easy

* Work on profile page

* remove language option

* SEO improvement

* forgot the fucking bracket

* make description more weeb

* add irony

* add better irony

* Update README.md

* Make sort arrows look a lot nicer

* Add search icon into search input

* Work on navbar, fix it on mobile view

* Hide mascot on mobile views

* Make torrent view work on mobile + minor improvements

* Add status and various things to view

* ACTUALLY FINISH VIEW PAGE

* wow user profile was easy

* Work on profile page

* remove language option

* SEO improvement

* forgot the fucking bracket

* make description more weeb

* add irony

* add better irony
2017-05-25 02:20:30 +02:00
kipukun
58631c6bd4 Optimized the site (#725)
* Try to optimize site

* lmao woops

* fucking woops again
2017-05-24 16:57:48 +10:00
kipukun
e9825a2683 Frontend rewrite (DONE) (#723)
* Remove Bootstrap and Jquery, and create basic nav

* More improvements to navbar, as well as work on _badgemenu

* Complete navbar HTML, obviously it still looks horrendous

* Change layout on torrent table, using grids.

* Remove Bootstrap and Jquery, and create basic nav

* More improvements to navbar, as well as work on _badgemenu

* Complete navbar HTML, obviously it still looks horrendous

* Change layout on torrent table, using grids.

* HOLY FUCK INDEX IS /DONE/

* DO UPLOAD PAGE, DELETE OLD SHITTY CSS

* Complete login page

* Remove Bootstrap and Jquery, and create basic nav

* More improvements to navbar, as well as work on _badgemenu

* Complete navbar HTML, obviously it still looks horrendous

* Change layout on torrent table, using grids.

* Remove Bootstrap and Jquery, and create basic nav

* More improvements to navbar, as well as work on _badgemenu

* Complete navbar HTML, obviously it still looks horrendous

* HOLY FUCK INDEX IS /DONE/

* DO UPLOAD PAGE, DELETE OLD SHITTY CSS

* Complete login page

* Begin work on profile page

* fucking git, man

* Damn, that looks sexy

* Complete login and register pages, include very minimal grid system, and delete all of view template

* Do view page!

* Finish view even more

* Fix dates and filesizes in torrent table

* Improve comment/captcha input

* Actually add magnet and torrent buttons

* Add open-iconic instead of fontawesome

* Improve user side-panel

* Rename Category_* to CategoryName

* Beginning to finish up

* Implement themes and add basic mobile support to front page

* Fix some slight color errors

* Fix captcha on dark

* magnet and torrent links on view
2017-05-24 14:20:51 +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
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
kipukun
94829f4f91 Remove useless JS code 2017-05-06 21:26:13 -04:00
akuma06
b4da1000b3 Added User Registration View
Moved public files in public folder
2017-05-07 00:10:40 +02:00
Renommé depuis js/main.js (Continuer la navigation)