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

8 commits

Auteur SHA1 Message Date
PantsuDev
a931b47bff beautify assets 2017-07-23 15:50:18 +10:00
PantsuDev
913028f529 Comply with JS styling recommendations 2017-07-16 14:43:09 +10:00
PantsuDev
77295492f3
Add libre-js support 2017-06-04 15:43:41 +10:00
akuma06
e62ebb05ba Mass edit mod api JS (done) (#868)
* Mass Edit MOD api JS (WIP)

In continuity with the mass edit mod api, this is the javascript use of
it.
##What does it do?
* Delete of multiple torrents on index/search
* Category change of multiple torrents
* Change of owner of multiple torrents
* Lock & delete of multiple torrents

##How?
* New toolbar only visible for mods
* Checkboxes added only for mods
* Selection and click on the button in toolbar
* Nothing is submitted, you have to review the changes in a modal window
listing them.
* Then the ajax queries are initialized one at a time with a progression
bar
* You can always at any moment delete entries from the queuing list

* Improved progress bar

* Deleting part almost done

Improved modal design
All dom interactions should be done
Prepared Query for only one callback
Improved Modal to keep a link to the active modal

* Finished =D

Added some translation string

* Forgot the refreshing of the page

Just an option that can be disabled by making refreshTimeout to 0
2017-06-02 12:51:44 +10:00
akuma06
b546e6b1d3 Forgot parameters to Get() 2017-05-31 12:39:38 +02:00
akuma06
133947df0a Updating xhr request
* Querying when request has failed
* Added a maximum consecutive query parameter to limit query when server
has shutdown
* By default I've put it to -1 (no maximum), it can be modified
* Stopping with an error when too many failed query
* Removing log message in torrents.js
2017-05-31 12:36:39 +02:00
akuma06
29056496d0 Removed console.log + added auto-update 2017-05-30 00:30:36 +02:00
akuma06
402fce9f02 Api Last Torrent + xhr automatic refresh
* Added a fiel torrentID in search param
* Search can be limited to torrentID > id provided
* Templates creation through simple JS object
* XHR management through simple JS object
* Torrents object that interface with Templates and Query to get new
torrent uploaded according to the search context
2017-05-30 00:28:21 +02:00