Commit Graph

1794 Commits

Author SHA1 Message Date
Samuel Hawksby-Robinson 48a34072bb Added ChatIdentity attachment to ContactCodeAdvert 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson 1f1e784d80 Added additional registry testing 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson 7b77ae9eab Fix CI register persistence bug 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson 5426fac0a3 Added CHAT_IDENTITY application meta type
also make generate
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson fe4b7c6d80 Added migrations for chat_identity_last_published register 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson af7117070f Added protocol register of ChatIdentity last published times per chat
This register is only used for publishing ChatIdentity to public chat
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson dcee7f8de7 Changed identity_images column name to name 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson fcbd9285f6 Implemented API for full CRD of IdentityImages 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson 2960fc49d4 Implemented GetImages and StoreImages in API 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson a7358fcd3f images package tidy up 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson 7ea153bae1 Added Identity Image Database delete 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson daa5ca1dbd Added GetIdentityImage by image name 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson aad761b24b Added IdentityImage Database store and get tests 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson df55822e29 Added StoreIdentityImages to Database 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson 01657b4665 Added IdentityImage JSON marshalling tests 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson 0a5ce9d489 make generate for changes to identity_images sql 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson 7beebaaf92 Added images/database functionality 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson 1b59d088d8 Integrated GetMimeType() 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson d8ee7076a6 Added primary key to identity_images table migration 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson a452972e79 Fix to identity_images migration sql 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson 5a4e23a0ea Fix protobuf ImageType change 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson e8d883edb6 bindata for profile_image migrations 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson 6eb4484eef bindata for profile_image migrations 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson c8450586fd Moved profile image handling into geth_backend 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson c176a7fca0 Added profile image db migrations 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson 2f92c7d076 Added profile image db migrations 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson 38043c2cb9 import fix 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson 6bab64cc9b Fix getImageMessageMIME() bug 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson 8ec0ec4341 Added TestEncodeToBestSize() 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson 3b7fbf94d3 Added SaveProfileImage endpoint
Also added EncodeToBestSize func
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson 9bc240fc71 Improved Resize() and added tests 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson a6df8adeba Renamed Decoding and Encoding funcs 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson 0d6e6699ec Split out encode code from decode, same for tests 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson 36105aaac0 Split out encode code from decode, same for tests 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson e635869dd5 Renamed file.go to decode.go 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson aec4e43470 Tidy up of unneeded code 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson bb1e232ffe Improved images.Crop() and implemented testing 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson 8ebfe9b1c9 Implemented improved image rendering and added test 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson b7cd88744c Implemented better images.Get() and added better tests 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson 7f8d3674d4 Removing superfluous image types
Additionally updating the protobufs that use ImageType
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson c6accd8ce3 make generate 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson a0ea922017 make vendor 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson f93d09c2b6 make vendor 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson d77f85b7df Added file decoding
reused protocol file type detection
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson f85553b6ca Added framework for image decoding 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson 17f0bac6ae Added basic code from https://github.com/status-im/image-resizer
Made some modifications to suit a general approach, more changes need to be applied
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson d7eac44c77 Updated comment on IdentityImage mapping 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson 5043c1d1af Updated ImageType to handle SVG and AVATAR image types 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson 6c4eea2a6b Moved ImageType enum to enums.proto 2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson f1f409c209 Added basic chat identity protobuf 2020-12-17 14:10:00 +01:00