1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2024-11-14 20:37:28 +00:00
Commit Graph

389 Commits

Author SHA1 Message Date
Kyle Anthony Williams
e94eb82325
Updated node-tap to patch up a prototype pollution vulnerability.
https://www.npmjs.com/advisories/1523
2020-11-09 02:02:23 +13:00
Plamen Peev
9a63d56eee
Trim Whitespace From Input Fields
When pasting text in the user or post fields,
some unwanted whitespace may occur, especially from mobile device.
Currently, if this whitespace is before the username or the post,
Bibliogram returns 404.
This patch prevents this by trimming the unwanted whitespace.
2020-11-09 02:00:37 +13:00
Cadence Ember
e5c0c7707c
Tweaks to submitted language files 2020-11-06 03:04:07 +13:00
Plamen Peev
47905b823a
Add Bulgarian Language Translation 2020-11-06 02:59:18 +13:00
Kyle Anthony Williams
cff003bde7
Repaired two high severity vulnerabilities and one low one.
There are also 49 prototype pollution vulnerabilities related to tap's use of lodash. You should be able to fix it by updating tap.
2020-11-04 14:24:29 +13:00
Kyle Anthony Williams
0d251779f2
Changed the journal mode of the SQLite DB to WAL.
https://github.com/JoshuaWise/better-sqlite3/issues/262#issuecomment-549872386

https://www.sqlite.org/wal.html

Just do it. It should near instanly make Bibliogram faster.
2020-11-04 14:24:29 +13:00
Cadence Ember
eabcfc01cf
Add code of conduct 2020-10-03 22:59:17 +13:00
Cadence Ember
c6ea5ae8e4
Add alias paths /tv/, /igtv/, /reel 2020-08-31 20:30:31 +12:00
bopol
9b902d1149
Add French language 2020-08-01 21:43:26 +12:00
Cadence Ember
3fccab179d
Add VPN IPv6 list 2020-08-01 02:10:25 +12:00
Cadence Ember
53e43ab033
Fix timeline quota reached pug filename 2020-07-31 03:43:01 +12:00
Cadence Ember
d4f9af44b0
Notify users if they were blocked due to proxy 2020-07-31 03:19:55 +12:00
Cadence Ember
f0a28d485f
Remove debugging info from getIdentifier 2020-07-31 03:01:54 +12:00
Cadence Ember
4fdf44c4ca
Use general known bots list file 2020-07-31 03:01:14 +12:00
Cadence Ember
271afec9db
Add VPN list and applied-privacy subnet list 2020-07-31 02:44:28 +12:00
Cadence Ember
db364721d8
Add Galician translation (thanks XoseM) 2020-07-30 19:52:08 +12:00
Cadence Ember
c7522f1198
Fix instance API 2020-07-30 00:12:19 +12:00
Cadence Ember
44c8e96a94
Cache enhancements:
- Use quota for /p/ requests
- Correctly detect owner.full_name to save unneeded requests out
- Unify quota reached pages
- Unify post presentation into function that fetches prerequisites
- Add getByID method to userRequestCache
2020-07-29 21:51:41 +12:00
Cadence Ember
736de3063a
Remove misplaced semi from Spanish translation 2020-07-29 19:09:40 +12:00
Cadence Ember
78cefb0776
Fix simultaneous accesses to inflight RequestCache 2020-07-29 15:32:04 +12:00
Cadence Ember
43c2d66b04
Add Spanish language (thanks tagomago) 2020-07-29 15:15:56 +12:00
Cadence Ember
e6211f17c2
Log even more when timelineentry not created 2020-07-29 01:08:12 +12:00
Cadence Ember
2b5899f430
Create page for when graphql is blocked 2020-07-29 00:53:29 +12:00
Cadence Ember
d22c728473
Add m.youtube.com to youtube redirect list 2020-07-29 00:52:31 +12:00
Cadence Ember
4c119c307b
When data not initialised, log more details 2020-07-29 00:10:27 +12:00
Mostafa Ahangarha
942b18ef21
Improved persian translation 2020-07-28 23:35:03 +12:00
TotalCaesar659
ae13002195
Add Russian translation (thanks TotalCaesar659) 2020-07-28 13:11:40 +12:00
Cadence Ember
08ef1a8f28
Improve right-to-left language support 2020-07-28 03:31:21 +12:00
Cadence Ember
9e589b5860
Add Persian language 2020-07-28 02:48:36 +12:00
Cadence Ember
f7c4ae19f4
Option to track quota for analysis 2020-07-23 01:20:06 +12:00
Cadence Ember
112d9cc90e
Add request quota system 2020-07-23 00:58:21 +12:00
Cadence Ember
2095be2742
Fixes in Italian translation 2020-07-23 00:39:57 +12:00
Cadence Ember
dfc6baa887
Add Italian language - thanks Saverio Morelli! 2020-07-22 23:45:15 +12:00
Cadence Ember
71abd1804d
Fix featured profiles header key 2020-07-22 00:51:55 +12:00
Cadence Ember
ed9729769e
Treat html_featured_profiles_disclaimer as HTML 2020-07-22 00:38:12 +12:00
Cadence Ember
5baae5167d
Add screenshot tests for user, post, and gallery 2020-07-20 19:15:58 +12:00
Cadence Ember
f25b2891ac
Add /test/screenshots/final to gitignore 2020-07-20 18:42:43 +12:00
Cadence Ember
1e7529f914
Delete test screenshots 2020-07-20 18:42:01 +12:00
Cadence Ember
067764e9df
Fix pug template call on homepage 2020-07-20 13:53:17 +12:00
Cadence Ember
1c382d6dc2
Extract compile function to another file 2020-07-20 13:52:56 +12:00
Cadence Ember
496d53f47e
Create initial language support
Create support for languages, then reformat user, home, and post pages
to use it, and create en and en-us language files.
2020-07-20 01:40:27 +12:00
Cadence Ember
1f76e43446
Add personal to gitignore 2020-07-19 21:07:02 +12:00
Cadence Ember
aa8a3c80c8
Add development mailing list link 2020-07-19 21:01:01 +12:00
Cadence Ember
99d6b9e944
Remove moving notice from master branch 2020-07-19 20:08:04 +12:00
Cadence Ember
89ea6c8107
Update pinski 2020-07-19 19:54:30 +12:00
Cadence Ember
8d5b37c234
Install personal repositories from sourcehut 2020-07-17 00:40:25 +12:00
Cadence Ember
aeb1947056
Link to new reserved URLs document 2020-07-17 00:19:37 +12:00
Cadence Ember
808d013e71
Link to new rate limit document 2020-07-17 00:14:11 +12:00
Cadence Ember
13ab4ebf3a
Use static badge for license 2020-07-17 00:00:24 +12:00
Cadence Ember
5ef9af5f08
Write new timeline loading blocked notice 2020-07-16 23:41:18 +12:00