Page 1 of 1

[misc] maintenance

Posted: 19 Mar 2021, 19:07
by abma
the frontend of wasn't maintained for a way to long time: it contained a lot of security holes, bugs, etc. Thanks to raaar it now has a new and very lightweight frontend.

The old is still available at a new location and was made read only: it will be removed at some point.

Some work still needs to be done , but for now it should be working and allow map and game uploads again with hopefully less problems and bugs.

Re: [misc] maintenance

Posted: 22 Mar 2021, 14:31
by Silentwings
Could the new SF frontend display the authors/uploaders of content please? And have a page to see all content associated to a given author?

For some content the licenses want that the author is made clear - and our GDPR compliance requires that we can associate hosted content to its uploaders/authors. My bigger interest is that searching by author is the best way to discover good maps hidden within the archives.

I guess in the long run uploading should be tied to a lobby account via xmlrpc.

Re: [misc] maintenance

Posted: 22 Mar 2021, 17:30
by Beherith
I like it very much, thank you raaar for spicing it up. It would indeed be very nice to have the description and author tags, and I also like Silentwingses method of navigating an author (its how I search for gems too).

Re: [misc] maintenance

Posted: 22 Mar 2021, 19:51
by raaar
I'll try to do another PR with improvements soon.

Some fields that'd be useful to have and show would be
- description
- authors
- uploader name (may not be the author)
- thumbnail

As far as i know only the map results have images, i've put a fallback thumbnail for games and engine versions.

I think these fields are missing from the result data and may be missing from the DB itself atm
( ...

There's also the issue about rapid entries without the sdz being hidden on the api:

I could perhaps modify the result details view to get data from a buildbot link (scraping) and add in an sdz link for the latest few versions (I think it keeps the latest 3), but that'd require them to show in the results properly in the first place.

Re: [misc] maintenance

Posted: 05 Jun 2021, 08:36
by saturnV
There is no way to navigate the lists/search results? ("next page" etc)
Not done yet or bug?

Also filesize would be more readable in MB.

Re: [misc] maintenance

Posted: 05 Jun 2021, 14:10
by raaar
The server-side code would need to reply with all matches not just the top 10. Atm one can narrow down the search by adding more key words and using "*". Perhaps the client side code should replace spaces with "*".

I agree with the "size in MB" too.

PR "soon".

Re: [misc] maintenance

Posted: 08 Jun 2021, 23:03
by raaar
I've made a PR with a few changes.

Re: [misc] maintenance

Posted: 13 Jun 2021, 11:58
by Beherith seems to be down, for a couple of days now :'( Thanks for looking into it!