v1.7.0
Added
- API support for Octane acceleration
- announce + scrape API
- Torrent search support Elasticsearch
- Attendance support for replenishment
- Badge wearing #49
- Tag support customize more attributes
- Upload/Edit description support preview #46
Fixed
- Torrent list hover prompt not working #55
Changed
- Exam progress box data continues to change after appraisal reach
1.7 The focus was on writing a new announce + scrape api. For one thing, NP's original announce.php was organized in a confusing way and was very difficult to maintain. Second, according to statistics, more than 80% of the traffic of PT station comes from annunce + scrape, so there is basically no pressure to deal with these two interfaces, so we decided to introduce Laravel's Octane extension package for acceleration. Due to the long-resident memory, some of the underlying design of 1.6 was refactored. It is highly recommended to configure Octane acceleration after upgrading to 1.7!
Another focus was the introduction of Elasticsearch (hereafter referred to as ES). The search is not a high percentage of Web traffic (about 10%), so if the search does not put pressure on the database (not much slow query), there is no need to go on ES. rough estimate of more than 10w torrents will be considered.
Many users are happy to sign in, after all, it is the lowest cost way to get bonus. OCD can't accept broken sign-ups, but it's inevitable due to maintenance and other reasons, so we added the function to make up sign-ups, users can make up any day within the last 30 days. The replacement signups are calculated based on the normal signups on that day. Replacement cards can be issued by the administrator or purchased by the user at the cost of bonus power.
Different people have different preferences for labels, some prefer larger inner margins, some prefer rounded corners, so they are open for users to set their own. In 1.7, you can set the background color, font color, font size, inner margin, outer margin, and rounded corner size of the labels by yourself.
The alert box of the previous assessment, the data is no longer updated after reaching the standard, out of the pursuit of ritual until after the end. Users were confused to see the data unchanged, so it was modified to continue updating data.
The hover prompt for the torrent list is off by default, and general users do not turn it on. It was not working before, now fixed.
Preview feature added to the description when uploading/editing.