Commit Graph

14 Commits

Author SHA1 Message Date
xbdm cfe1ed31bc Missing CSRF middleware https://github.com/Metastem/wikiless/security/code-scanning/1 [FIXED] 2023-08-02 14:07:33 -04:00
xbdm 7f713bef86 Fix XSS Protection 2023-07-26 10:42:29 -04:00
orenom 521eedeaf1 fix redis ignoring configs (fixes #41). now redis_url is used instead of redis_host and redis_port 2022-01-13 19:39:34 +01:00
Ming Di Leom 443bca6b43 refactor: async/await
- feat(deps): add 'got'
  * support redirect, retry on error and promise
- feat(deps): upgrade redis to v4
  * promise-based
- style: remove unnecessary 'else return'
2021-12-22 07:56:30 +00:00
orenom 55537a44d0 add cache control feature - wikiless can now empty the cached media files automatically 2021-12-17 18:06:04 +01:00
Ming Di Leom 0657e7cd3b style: lint
- use const if possible
- skip false conditions
- check falsy empty string
- remove whitespace
2021-12-14 12:18:30 +00:00
orenom 174ce6af5d Merge pull request 'Use fullchain.pem instead of chain.pem' (#17) from cadence/Wikiless:full-chain into main
Reviewed-on: https://codeberg.org/orenom/Wikiless/pulls/17
2021-10-04 20:27:14 +02:00
Cadence Ember 454275a91a Fix spelling of referrer in referrer-policy header 2021-10-04 23:20:55 +13:00
Cadence Ember 3197236339 Use fullchain.pem instead of chain.pem 2021-10-04 23:07:17 +13:00
josiah c319b83807 added http_addr to config.js.template to bind wikiless to specific ip address 2021-06-12 19:57:26 -05:00
orenom cc2e290f6d remove port from the startup log 2021-05-28 18:51:17 +02:00
orenom deb0f20915 remove the custom port logic from PR #2, let's use config.domain instead 2021-05-27 19:58:32 +02:00
mgarciaisaia 1f222fe0b1 Fix: missing custom port on re-written links
When a link was rewritten and the site is running in a custom
(ie, not protocol standard - http/80, https/443) port, the links
became invalid.

We now include them only when necessary.
2021-05-27 01:02:49 -03:00
orenom b6965a3bdc first commit 2021-05-05 17:22:33 +02:00