* Update mapping to be similar to TorrentJSON
* Implement ES search for TorrentParam
* Add seeders/leechers/completed to es index
* Fix filter, use analyzer
* Use ES for the search route
* Add upload_id filtering with ES
* Create/update ES index on torrent upload/update
* Delete from ES index on Delete
* Use ES everywhere, fallback to postgres query
Use Elasticsearch to search the index whenever a call to searchByQuery
is made. Big cleanup needed, but _it werks_.
* Only fetch ids from ES, nothing else
* Use ColumnUpdate instead of Save
* Add FIXME/info to search
* Template needs []TorrentJSON not []Torrent
* Making the code Golint friendly
* No exported variables when not needed
* Same for functions
* Simplifying Templates variables with a form basic template variable
and a modelList basic template variable
* Adapted templates to new template variables
* use of .Models instead of model list
* use of .Form instead of modelform
* Small fix
* Small fix 2
Forgot $.Form
* Reverting templateDir as a var
* 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
* 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
* Forgot this file in last commit
* Less useless queries
The use of Save makes it that users are created and updates also all the
associatiated models. Better to just update the colomns needed (less
useless queries)
* Some Updates
* Added a new status of 5 for locking torrents
* Modifying the list torrents view for using it in deleted torrents view
* Added function to get deleted torrents
* Torrents (and reports) can be definitely deleted
* Some new translation string
* Fixing
* fix 2
* Added upload check for locked torrents
If a user owns a torrent, has deleted it and try to repload it. As long
as it has not been locked, he can.
* Fixing wrong condition in isdeleted
* Finished
* Info messages on success when deletes or lock
* Fixed double deleted_at is Null
* Added Link to view of deleted torrents
* Added new translation string
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.
It only toggled the "hidden" attributes of the childs, however if
you closed a subfolder, then closed the parent folder, all childs of the
parent would be toggled, leaving the subfolder that we closed open.
Now the state is stored on the data-filelist-open attribute, and the
hidden state is set based on it.
* Update README.md
Added a link to the db dump and IRC channels.
* Minor fix
* Update README.md
* disabling email links
* Killed github autolinking
* Update README.md
* Removed database link
* Add tree-view file list
* Add TotalSize field to folders
* Remove bootstrap/jquery related code
* Add icons to filelist, some CSS formatting
Moved a few styles from the format string for the tree view, to CSS
(where possible). Make icons look consistent under all themes.
* Make filelist hideable again, show it when JS is disabled
* 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
* 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
* Added support of UGC without div tag for torrents
* Added support of basic html tags for comments (a, img, b, em, u)
Fixed:
* Bug with r *request becoming a nul pointer when loading from contextin
messages.go