Commit graph

31 commits

Author SHA1 Message Date
d36699bd1f Update database
Correctly link user to their posts and groups
Change the table names to Group, Post and User
Remove unused Bans and Logs table, possibly will return later
2023-04-12 15:16:43 +00:00
e7cb14b67f Move Flask configs to new file 2023-04-10 15:43:42 +00:00
7c553e99b8 Switch to Flask-SQLAlchemy
Add FLask-Migrate for next step in the Migration 😉
2023-04-09 19:12:35 +00:00
f4ea1984b0 Fixing random crap Deepsource complained about 2023-04-08 19:46:03 +00:00
128464d43f Format code with Black 2023-04-07 12:35:30 +00:00
8357241487 Correct code I did done yesterday 2023-04-07 09:18:03 +00:00
f33842ead3 Move views/routes to seperate files 2023-04-06 16:22:56 +00:00
0d10de923d Move routes to their own folder 2023-03-12 15:52:23 +00:00
7ef4a1dd91 Random cleany 2023-03-12 14:52:24 +00:00
3ee287d6e3 Add ALT text to images
Correct static methods
Tidy up code
2023-03-11 22:14:03 +00:00
e192554a0b Add ownership checks to groups
Fix contrast checking
Add coloured highlights to images
Update top-of-page button icon
2023-03-10 17:38:24 +00:00
e3a0eaf60b Add basic Image Group functions
Make the Upload Pannel usable on mobile
Remove useless code as Django had built-in functions to read the config
Remove useless JS code
Cleanup tempaltes
2023-03-09 23:31:58 +00:00
b5bc0ec50c Switched to keeping time with UTC for easier timezones
Removed useless JS
2023-03-08 21:58:58 +00:00
99c1d81869 Fix errors in metadata parsing
Remove useless extra checks in metadata parser
Add Flask-Caching, need to test how helpfull this is
2023-03-08 09:01:20 +00:00
91278e2d11 I with push my head through a conrete wall
I hate Joins
2023-03-05 18:16:28 +00:00
0a27d79a82 Move most of the processing into the upload 2023-03-05 16:22:11 +00:00
de2d72e5de Submitted to PyLint 2023-03-04 21:08:42 +00:00
7ed3b455dd Submitted to PyLints needs :3 2023-03-04 13:45:26 +00:00
2e86bfa072 Switch to SQLAlchemy for database management
Add Favicon
2023-03-03 00:26:46 +00:00
512f6f623e Move user data to ~/.config/onlylegs location
Update location of default themes folder
2023-03-02 13:19:10 +00:00
828167f762 Added settings page
Added logging to a .log file
Fixed Images loosing colour and rotation on thumbnail generation
Added more info to README
2023-03-01 23:29:34 +00:00
f845f614df Add option to collapse metadata 2023-01-31 23:44:44 +00:00
c02d618844 Correct missing Exif data
Format missed information
2023-01-31 22:08:37 +00:00
da1579555b Formatted metadata
Add API for metadata
Load more images if page is resized
Adjusted animations
2023-01-31 17:32:22 +00:00
bb98701430 Unifying style of the gallery
Fixed HTML and Sass layout
Moved upload and login pages to popups
Added deletion confirmation
2023-01-25 15:13:56 +00:00
0414cda5d3 Fix image ICC profile getting lost on compression
Fix setup not holding all required modules
Add temporary theme to login and upload page
Other random bug fixes
2023-01-17 22:13:52 +00:00
7605e5ab40 Add Notification js system
Load full image on first click of full resolution button
Change background image
Change way images load into the view
Add Lazy Loading
2023-01-14 01:46:11 +00:00
a10a5a8793 Generate thumbnails on the fly with PIL
Removed the need of having 3 copies of an image
Fixes more Sass(y) stuff
2023-01-13 18:29:07 +00:00
2455d3f88c Fixed Flask not choosing new name for uploading
Moved uploading and removing files to APIs
Added max file upload to config from yml file
Jquery is now a file not a CDN
General Sass(y) fixes
2023-01-11 19:46:31 +00:00
44a6712b6e Image upload added
Added temporary fix to loading images on the home page
Fix api.py for requesting images
Minor tweaks to default theme
2023-01-10 18:12:55 +00:00
e395139656 Rename routes to gallery
Move methods to api.py
Remove old db manager as its unused
Remove old db tables as theres a new schema file
Rename onlylegsSass to sassy, unused for now
Update example.env to reflect new layout
2023-01-10 14:40:43 +00:00