Commit Graph

183 Commits

Author SHA1 Message Date
Bojidar Marinov
afc9fc8c18 Remove download hashes (#209)
* Remove download hashes, as they caused too much hassle without much security

* Make usage of git commits compulsory for non-moderators

That way, we can be sure that users would download the asset as it was accepted, at least when working with large repository providers.
Note that moderators still need to be able to input invalid hashes when using the "Custom" provider; and allowing a bit of flexibility would help in the long run.
2020-04-14 23:08:14 +03:00
Bojidar Marinov
998042c186 Do not consider light warnings as spam
Closes #208
2020-04-11 17:26:39 +03:00
Bojidar Marinov
17d0c2a3c6 Allow moderators to change hashes of assets
Should make it possible for issues like #207 to be fixed without manual DB intervention.
2020-04-03 10:58:17 +03:00
Hugo Locurcio
2dac9f2da0 Merge pull request #205 from t-karcher/patch-1
Create CONTRIBUTING.md
2020-03-12 10:07:46 +01:00
Thomas Karcher
07c9eadb4c Update CONTRIBUTING.md
Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-03-11 15:58:41 +01:00
Thomas Karcher
d06a764439 Update CONTRIBUTING.md
Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-03-11 15:58:24 +01:00
Thomas Karcher
baeb6eea2f Update CONTRIBUTING.md
Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-03-11 15:57:33 +01:00
Thomas Karcher
55b3a481cf Update CONTRIBUTING.md
Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-03-11 15:57:20 +01:00
Thomas Karcher
7da431940f Update CONTRIBUTING.md
Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-03-11 15:57:03 +01:00
Thomas Karcher
63009a7247 Update CONTRIBUTING.md
Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-03-11 15:56:50 +01:00
Thomas Karcher
1c8a41ac4e Update CONTRIBUTING.md
Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-03-11 15:56:34 +01:00
Thomas Karcher
868b2bb60d Update CONTRIBUTING.md
Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-03-11 15:56:08 +01:00
Thomas Karcher
4e39ca4b70 Create CONTRIBUTING.md
Fixes #54
2020-03-09 15:21:19 +01:00
Bojidar Marinov
8b3130afe4 Remove bogus PDO::PARAM_INT-s around category and category_type parameters 2020-02-20 15:58:21 +02:00
Bojidar Marinov
bae0305f3b Add codeberg to the list of known gogs/gitea instances
Closes #202
2020-02-19 11:21:11 +02:00
ryneandal
0aaefc1b48 Add change password link to footer
Resolves #139
2020-01-16 19:27:39 +02:00
Bojidar Marinov
4f4fb990c5 Add Content-Type header to rendered results
Fixes #198
2020-01-02 11:09:08 +02:00
Hugo Locurcio
044b2c7d04 Merge pull request #196 from Mithil467/patch
Update API.md
2019-10-23 18:46:27 +02:00
Mithil Poojary
709ea3f582 Update API.md 2019-10-23 21:54:28 +05:30
Bojidar Marinov
b90603c8f4 Merge pull request #193 from Calinou/increase-default-items-per-page
Display 20 items per page by default
2019-10-08 20:55:50 +03:00
Hugo Locurcio
85edf9bf9e Display 20 items per page by default
This makes it easier to browse large asset collections.

The Godot editor is able to handle this change seamlessly.
2019-10-08 19:34:40 +02:00
Bojidar Marinov
37f09eb09e Merge pull request #188 from Calinou/sort-reverse-date-only
Only reverse date fields by default when sorting
2019-09-02 16:44:58 +03:00
Hugo Locurcio
3fc1ac0fa4 Only reverse date fields by default when sorting
This fixes alphabetical sorting being reversed by default.
2019-09-02 15:20:17 +02:00
Bojidar Marinov
3d8ee35a1e Merge pull request #187 from merumelu/cookie-host
Replace occurences of $_SERVER['HTTP_HOST'] with Uri::getHost()
2019-08-13 22:01:59 +03:00
merumelu
1005d6e0cb Replace occurences of $_SERVER['HTTP_HOST'] with Uri::getHost()
The token cookie was set by using `$_SERVER['HTTP_HOST']`.
However, `$_SERVER['HTTP_HOST']` includes the port, while
the `Domain` part in the `Set-Cookie` header should not.
Using `$uri->getHost()` fixes this.

Other occurences where URL building happened were streamlined
to only use `Uri` methods as well.
2019-08-09 20:22:20 +02:00
Bojidar Marinov
3e9062e306 Update the list of known versions
Closes #181
2019-08-08 08:54:47 +03:00
Bojidar Marinov
e82845336a Set default support level to Community
Closes #106
2019-08-08 08:32:15 +03:00
Bojidar Marinov
076b55f03a Merge pull request #185 from merumelu/youtube-https
Use HTTPS for YouTube thumbnails
2019-08-08 08:10:38 +03:00
Bojidar Marinov
e77cf1f7f7 Merge pull request #186 from merumelu/select-required
Frontend: require a valid option for <select> elements
2019-08-08 08:02:16 +03:00
merumelu
9ad6009e32 Frontend: require a valid option for <select> elements
- harmonized spelling for placeholders and "URL"
2019-08-07 22:20:36 +02:00
merumelu
b116699784 Use HTTPS for YouTube thumbnails 2019-08-07 20:20:04 +02:00
Bojidar Marinov
ef0b6c04f3 Merge pull request #183 from Calinou/hide-rating
Remove references to unimplemented rating on the frontend
2019-08-06 16:20:14 +03:00
Hugo Locurcio
f694f069bb Remove references to unimplemented rating on the frontend
See #5.
2019-07-24 17:46:46 +02:00
Bojidar Marinov
8d03dc9bec Fix being unable to remove asset previews, fix SQL error when editing 2019-03-17 17:55:47 +02:00
Bojidar Marinov
a52acd053c Merge pull request #173 from MHillier98/master
Updated footer to automatically set the copyright year
2019-03-16 13:36:07 +02:00
Matthew Hillier
e81b225f6e Updated year output formatting 2019-03-16 19:13:14 +11:00
Matthew Hillier
b8f29c3fc0 Updated footer to automatically set the copyright year
The footer now sets the copyright year to the current year.

PHP snippet from: updateyourfooter.com
2019-03-16 17:32:53 +11:00
Rémi Verschelde
963865ba03 Merge pull request #171 from Calinou/asset-license-add-lgpl
Add the LGPL to the list of possible asset licenses
2019-03-06 11:23:34 +01:00
Hugo Locurcio
7f758c820b Add the LGPL to the list of possible asset licenses
This closes #170.
2019-03-06 00:04:10 +01:00
Bojidar Marinov
470d466cb0 Merge pull request #168 from brunosxs/refactoring-sql
refactored sqldump
2019-01-12 15:14:15 +02:00
BrunoSXS
1090a90345 refactored sqldump 2019-01-12 07:12:28 -02:00
Bojidar Marinov
43f97e77c4 Merge pull request #167 from Calinou/use-modern-font-stack
Use a modern font stack inspired by Bootstrap 4
2019-01-02 11:53:01 +02:00
Hugo Locurcio
2e59e31469 Use a modern font stack inspired by Bootstrap 4
See https://github.com/twbs/bootstrap/pull/19098 for more information.
2018-12-30 18:20:41 +01:00
Bojidar Marinov
f2e24e30f6 Merge pull request #163 from YeldhamDev/add_apache2_bsd3
Add the "Apache 2.0" and the "BSD 3-Clause" licenses
2018-11-23 13:44:38 +02:00
Michael Alexsander Silva Dias
25b725eb61 Add the "Apache 2.0" and the "BSD 3-Clause" licenses 2018-11-21 12:08:40 -02:00
Bojidar Marinov
12491f6ea5 Add initial API documentation
Closes #59
2018-09-19 14:12:17 +03:00
Bojidar Marinov
1672826e19 Make submission workflow more streamlined
Closes #128, closes #155, partly addresses #156, mostly closes #154
2018-08-21 22:34:32 +03:00
Bojidar Marinov
7fc29a5205 Merge pull request #153 from Calinou/add-cc-license-versions
Add more version options for CC licenses and clarify the versions used
2018-08-01 15:19:58 +03:00
Hugo Locurcio
16d804c456 Add more version options for CC licenses and clarify the versions used 2018-08-01 14:14:13 +02:00
Bojidar Marinov
e291b1fc45 Merge pull request #152 from YeldhamDev/cc_licenses
Add CC-BY and CC-BY-SA licenses
2018-08-01 11:12:03 +03:00