53 Commits
Author SHA1 Message Date
Gwyneth Llewelyn cb3bb63b9f v0.9.1-alpha
With all goodies, ready to be tested 😀
2025-11-06 10:22:43 +00:00
Gwyneth Llewelyn 541235bb0c Preparing 0.9.2… 2025-10-29 01:35:32 +00:00
Gwyneth Llewelyn 75384e479a Refact (major): spawn magickinstead of library
By default, now, gOSWI spawns external processes for resizing, using whatever version of ImageMagick is on the path.
To get the old behaviour, compile with `go build -tags imagick`.
2025-10-27 15:50:32 +00:00
Gwyneth Llewelyn ee2c138b29 Fixed: several security issues related to XSS etc. 2025-10-25 11:49:28 +01:00
Gwyneth Llewelyn 1abdc2a78a Refact: logging now happens separately 2025-10-25 07:38:29 +01:00
Gwyneth Llewelyn 1428c5ded4 Doc: typo on a comment! 2025-02-17 17:36:46 +00:00
Gwyneth Llewelyn 3dfd929b1a Typo: ‘CGo’ is selled ‘Cgo’
Reference: https://go.dev/blog/cgo
2024-12-20 21:57:54 +00:00
Gwyneth Llewelyn ef367d715a Chore: GetImageBlob() now returns 2 variables
This is for consistency’s sake, it also returns an error code like the other functions.
2024-06-21 04:58:19 +01:00
Gwyneth Llewelyn 010c0156c3 Chore: eliminate deprecated io/ioutil calls! 2023-07-05 00:36:18 +01:00
Gwyneth Llewelyn 4fda9b6a28 Chore: format with go fmt
This is to get a better Go report card!
2023-05-16 09:32:08 +01:00
Gwyneth Llewelyn 1dceb43017 Trying to fix excessive debugging logs… 2021-11-11 16:09:08 +00:00
Gwyneth Llewelyn f4b982088b Writing more idiomatic Go 2021-10-31 19:31:14 +00:00
Gwyneth Llewelyn 983afec005 Extra check for nil is apparently redundant now. 2021-07-10 21:48:50 +00:00
Gwyneth Llewelyn 1b254a41cf Small adjustments to try to get this working (without success so far) 2021-01-20 01:14:13 +00:00
Gwyneth Llewelyn bed42718c8 Fixing some struct decoration, it was invalid according to rigid specs. 2021-01-17 22:03:17 +00:00
Gwyneth Llewelyn abc23462a0 Just switch 2 import lines, to keep them alphabetically sorted 2020-09-09 23:41:33 +00:00
Gwyneth Llewelyn 9882daa159 Sweeping through all the code and _trying_ to get the paths to the cache working… 2020-09-08 23:17:29 +00:00
Gwyneth Llewelyn 9c3cb67284 Major changes regarding PathToStaticFiles, which had a serious scoping error; also, filepath.Join() does not need extra “/“ since these will be added during sanitisation 2020-09-08 19:18:50 +00:00
Gwyneth Llewelyn 6518403557 Several workaround to only use sanitized HTML in messages as well as user-generated content fields on the profile. This will avoid people writing stupid things on their profile pages in OpenSim and hack the gOSWI server… 2020-08-15 15:14:50 +00:00
Gwyneth Llewelyn 60b43fb73e Added bluemonday to sanitize HTML on user-generated data. Note that much of this data can be written in-world, thus the double-sanitization! 2020-08-15 14:45:21 +00:00
Gwyneth Llewelyn 5ac17f97e0 Adding cache to Libravatars 2020-08-14 20:28:56 +00:00
Gwyneth Llewelyn 477f6e1a1a Many small changes to deal with offline IMs. The core now works! 2020-08-13 19:33:39 +00:00
Gwyneth Llewelyn d2e2316625 Getting avatars into messages 2020-08-11 22:53:11 +00:00
Gwyneth Llewelyn 0b26642df1 More tidying up on the profile form; 2 checkboxes aren’t still being 2020-08-10 22:58:28 +00:00
Gwyneth Llewelyn de8d4aa967 Fixed profile issues; now profiles can be safely saved. Image upload is NOT supported (and probably will never be) 2020-08-10 18:54:45 +00:00
Gwyneth Llewelyn 1ac2e33206 Starting to do bitfield manipulation (checkboxes -> database) 2020-08-10 16:36:15 +00:00
Gwyneth Llewelyn 7a923c3543 Working on POSTing the profile data 2020-08-08 00:05:12 +00:00
Gwyneth Llewelyn c6472a3030 First changes to support saving a changed profile. 2020-08-07 00:09:03 +00:00
Gwyneth Llewelyn d23709cc2b On the profile, adding checkboxes for the “Want To” options 2020-08-05 18:35:57 +00:00
Gwyneth Llewelyn 2e3388a35f Slight changes mostly on the README. 2020-08-03 23:50:23 +00:00
Gwyneth Llewelyn 5c202a0161 Implemented Retina support for the Profile; todo: Retina support for (Gr|Libr)avatars! 2020-07-29 12:04:27 +00:00
Gwyneth Llewelyn 24af82e7cc Trying to add a few more fields on the Profile page. 2020-07-28 22:06:04 +00:00
Gwyneth Llewelyn 5185565b34 Starting to put some things in the profile, allowing it to be changed; also, moved some things around on the menus. 2020-07-28 18:34:47 +00:00
Gwyneth Llewelyn 4537025143 Seems to work; the same was done for the SL profile image! 2020-07-27 23:32:31 +00:00
Gwyneth Llewelyn aed45da0c1 Basically, hacking things over and over again until (finally!) diskv started to write things where it should. Now — to the other images! Woohoo! 2020-07-27 11:22:03 +00:00
Gwyneth Llewelyn d15aef9743 Tweaked imageCacheTransform() 2020-07-27 10:40:27 +00:00
Gwyneth Llewelyn cfb9fed07f Something is still wrong with the KV-cache conversion function… 2020-07-27 00:14:53 +00:00
Gwyneth Llewelyn d590e84b5e Added a few debugging strings 2020-07-26 23:14:23 +00:00
Gwyneth Llewelyn 062a1d2d35 Fixed a wrong Printf to Println 2020-07-26 20:48:17 +00:00
Gwyneth Llewelyn 6927558d8f Using ImageMagick to convert from JPEG2000 to PNG; using diskv as the cache system for storing images. 2020-07-26 20:42:39 +00:00
Gwyneth Llewelyn a4fd9ef93d Fixed some glitches on the profile template 2020-07-22 22:31:53 +00:00
Gwyneth Llewelyn 676b2b5c7c First attempt to use a pseudo-package to deal with caching stuff 2020-07-22 22:25:20 +00:00
Gwyneth Llewelyn ee068345fc Putting all cache-related things in a new file 2020-07-21 00:10:54 +00:00
Gwyneth Llewelyn 21c852e33b Added a comma! 2020-07-19 23:35:04 +00:00
Gwyneth Llewelyn 61e4af4852 Fixed a scope issue that prevented the image URL to be correctly constructed (it was empty) 2020-07-19 23:34:50 +00:00
Gwyneth Llewelyn b6cd2fe35d Conversion from JPEG2000 to PNG seems to be working, but it’s a bit unpredictable 2020-07-19 20:08:24 +00:00
Gwyneth Llewelyn 6bc4aa4959 Attempts to get a JPEG2000 image from the OpenSimulator server and convert it to JPEG inside a cache. 2020-07-19 13:13:00 +00:00
Gwyneth Llewelyn f0ce59f3ee Forgot to send some config data to template (logo, etc.) 2020-07-11 21:09:55 +00:00
Gwyneth Llewelyn c724d77e89 First overall change to start supporting password reset quirks… 2020-07-06 01:30:18 +00:00
Gwyneth Llewelyn 99fde925cf Sends all data individually, column by column; but I’ve not done the changes on the template yet! 2020-07-06 00:11:53 +00:00