Commit graph

141 commits

Author SHA1 Message Date
Michał f540c234f3 Remove theme manager in favour of webassets 2023-04-03 00:58:22 +00:00
Michał c89df1613d Yeet old fonts 2023-04-03 00:43:27 +00:00
Michał 654ab0eba3 Move JS into pre and post loading folders 2023-04-03 00:43:21 +00:00
Michał 266e959605 Add a manifest file for themes
This may be removed later
2023-04-03 00:42:42 +00:00
Michał 4dfaa17c44 More Deepsource shit, AAAAAAAAAAAAA 2023-04-02 23:24:36 +00:00
Michał 36a7f83db6 Follow DeepSource reccommendations
Nolonger binding to the address, by default it is always localhost
2023-04-02 23:20:34 +00:00
Michał 6f759bb678 Yeet JQuery in favor of vanilla JS 2023-04-02 22:07:14 +00:00
Michał c7e38dfcfb Change navbar colour in image groups 2023-04-02 21:15:51 +00:00
Michał 45c5a0f682 Crashing on empty groups 2023-04-02 21:15:24 +00:00
Michał 91ea307b66 Update version 2023-04-02 17:40:45 +00:00
Michał c0f95e134c 💀 2023-04-02 17:10:05 +00:00
Michał 94ea3a1f30 Missed PyLint errors 2023-04-02 17:00:32 +00:00
Michał 7b97b8e0ef DeepSource Fixing Antipatterns 2023-04-02 16:50:52 +00:00
Michał 1152856f2a Clean up Database queries 2023-04-02 16:36:05 +00:00
Michał 454d1f89c8 Make text more readable
Slightly speed up the metadata parsing
2023-04-02 13:51:01 +00:00
deepsource-autofix[bot] 1a541bc288
refactor: Remove unnecessary call to .bind()
The bind() method is used to create functions with specific `this` values and, optionally, binds arguments to specific values. When used to specify the value of `this`, it's important that the function actually uses `this` in its function body.
2023-04-01 18:26:09 +00:00
Michał 42375af3c3 Daddy PyLint is not happy 2023-04-01 17:40:42 +00:00
Michał ff1af6b888 goofy ah 2023-04-01 16:59:46 +00:00
Michał 95e5f3938f Clean up theme compiler and thumbnail generation
Fix signup not clearning blanks - Thanks to Fennec
2023-04-01 16:59:17 +00:00
Michał 0e24004c0b Make image groupings prettier
Fix image view from a group not showing the groups its in
Make drag target bigger for upload tab
Tags are now correctly overflowing
2023-04-01 16:16:07 +00:00
Michał cf65b8d309 Drag down to dissmiss upload on mobile 2023-03-30 19:53:48 +00:00
Michał c2e42e7179 Clean up JavaScript code and make it more reliable
Update version
2023-03-30 15:51:06 +00:00
Michał 95a116ef50 Fix console getting spammed with errors
Page actually jumps down once you exit image view
2023-03-27 07:15:18 +00:00
Michał 3331edf24d Remove Thumbnails table
Daddy PyLint not happy with me
2023-03-26 23:34:03 +00:00
Michał db20ce7919 Update version :3 2023-03-26 21:29:29 +00:00
Michał de79f5bc54 Add image cache generation 2023-03-26 20:58:17 +00:00
Michał 2b795e520f Move contrast checking into Python
Change banner size dependent on group content
Tidy up inline JS for some files
Correct spelling
2023-03-26 01:04:13 +00:00
Michał cdb3836dab Fix new styling errors
Fix error page
Update Notification styling
2023-03-25 20:24:38 +00:00
Michał 824c849eaa Update version 2023-03-25 19:49:13 +00:00
Michał b862c74bbe Switch to CSS vars for variables 2023-03-25 16:33:12 +00:00
Michał 5dab4fb53d Action label, start 2023-03-25 16:33:12 +00:00
Michał c46f16131b Woops, maybe it was broken afterall 2023-03-25 16:33:12 +00:00
Michał ef27955414 Smelly smelly styling 2023-03-23 22:22:52 +00:00
Michał 4e7301b9de Switch to Manrope font
Fix inconsistent buttons
Removed default header background
Added info button with version and ❤️
Random fixes
2023-03-23 15:47:35 +00:00
Michał 69d264739b Choose or drop image for upload
Fix up some JS
Update Icons
2023-03-23 12:54:00 +00:00
Michał 733a443835 PyLint wasnt done with me 2023-03-20 17:57:47 +00:00
Michał b426a6f6c4 Bendover for PyLint 2023-03-20 17:19:42 +00:00
Michał e784ca3011 LocalHost by default in Debug mode
Image resolutions are now requested as width x height
Readded logout button to the settings page
2023-03-20 17:04:05 +00:00
Michał a6c06ae39c Pop-ups are dark and dont require close button
Change style of block buttons
2023-03-15 17:03:24 +00:00
Michał f9aeb0955d SVG favicons
Image and colour preview for links
2023-03-15 16:19:42 +00:00
Michał 3008a55899 Moved some scripts to a utils folder
Renamed upload route to file as its more approprete
Fixed random CSS issues that occur on older browsers or Safari
2023-03-14 22:07:17 +00:00
Michał 9cfb8befd2 Internal Screaming 2023-03-12 18:53:57 +00:00
Michał b208b872d7 Make buttons more consistent
Rename JumpUp button to top-of-page
2023-03-12 18:19:43 +00:00
Michał 0d10de923d Move routes to their own folder 2023-03-12 15:52:23 +00:00
Michał 7ef4a1dd91 Random cleany 2023-03-12 14:52:24 +00:00
Michał dea3cca4a6 Remove Verbose option temporarilly
Gunicorn is really not happy with anything I try and parse through it
2023-03-12 13:12:38 +00:00
Michał 2eec988815 Move prechecks to run file
Add Verbose option
Cleanup run file
2023-03-12 12:29:29 +00:00
Michał 800ba38241 oopsie, typo in setup file 2023-03-12 00:04:58 +00:00
Michał e5848eecf5 Fix files not being created on clean installation 2023-03-11 23:56:48 +00:00
Michał 09c8f3be63 Add run file 2023-03-11 23:16:27 +00:00
Michał 3ee287d6e3 Add ALT text to images
Correct static methods
Tidy up code
2023-03-11 22:14:03 +00:00
Michał 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
Michał feadaba8a1 Clean up Pop-Up JS
Fix missing Width and Height data stopping images from loading
2023-03-10 15:55:34 +00:00
Michał b0a9271265 Make Metadata Parser readable with ChatGPT 💀
Remove useless code for fullscreening image
2023-03-10 12:32:23 +00:00
Michał e6d289ed64 Bundle JS into a compact format
Run file checks on startup
Fix visual bugs in Sass
2023-03-10 11:10:43 +00:00
Michał 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
Michał 35c5951318 Switch to duel-tone icons 2023-03-09 12:33:22 +00:00
Michał c5f6b0ecf7 Added Next and Previous buttons to image view
Merged JS files
Removed Scene Type from metadata mapping
Added arrow to tool-tips
2023-03-09 12:22:25 +00:00
Michał b5bc0ec50c Switched to keeping time with UTC for easier timezones
Removed useless JS
2023-03-08 21:58:58 +00:00
Michał 56c82513ba Fixing inconsistent sass files
Removed useless styling
Fixed date
2023-03-08 13:36:35 +00:00
Michał 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
Michał 91278e2d11 I with push my head through a conrete wall
I hate Joins
2023-03-05 18:16:28 +00:00
Michał 0a27d79a82 Move most of the processing into the upload 2023-03-05 16:22:11 +00:00
Michał de2d72e5de Submitted to PyLint 2023-03-04 21:08:42 +00:00
Michał 7ed3b455dd Submitted to PyLints needs :3 2023-03-04 13:45:26 +00:00
Michał 0cc9552f47 Fix gallery grid 2023-03-03 01:08:36 +00:00
Michał 375e70cb08 Update version 2023-03-03 00:27:31 +00:00
Michał 2e86bfa072 Switch to SQLAlchemy for database management
Add Favicon
2023-03-03 00:26:46 +00:00
Michał 9e87c74c96 Attempt to make some sort of setup file 2023-03-02 17:00:54 +00:00
Michał 512f6f623e Move user data to ~/.config/onlylegs location
Update location of default themes folder
2023-03-02 13:19:10 +00:00
Michał 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
Michał a9b13f1e39 Fix jumpUp button
Switch to reffere instead of src url
Once again, I am changing animations
2023-02-01 00:57:36 +00:00
Michał f845f614df Add option to collapse metadata 2023-01-31 23:44:44 +00:00
Michał c02d618844 Correct missing Exif data
Format missed information
2023-01-31 22:08:37 +00:00
Michał da1579555b Formatted metadata
Add API for metadata
Load more images if page is resized
Adjusted animations
2023-01-31 17:32:22 +00:00
Michał 651fd8aa49 Load image source on scroll
Set time tags to local time
2023-01-26 16:55:42 +00:00
Michał 792cbd1884 Move main JS into its own file
Fix Sass animations
When home button clicked from image view, it'll scroll down automagically
2023-01-26 14:43:08 +00:00
Michał 34d6dca2a9 Add Download button
Forgotten to update version 💀
2023-01-25 16:46:13 +00:00
Michał 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
Michał 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
Michał 4efd9a04ee Fix up style of Notifications
Move Notification Sass to its own file
2023-01-14 10:08:33 +00:00
Michał 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
Michał 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
Michał 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
Michał 5db8fa52e8 Yaml config files
Fixed some Sass issues
No image... image
Squished some bugs involving uploading broken files
2023-01-11 15:25:35 +00:00
Michał 978086f512 Added Image deletion
Added buttons for image functions
Moved Image functions to their own file
Added PFP row in users table
Moved Groups back to the root templates folder
2023-01-11 10:53:01 +00:00
Michał 8c25779882 Add EXIF data displaying
Add info to setup and manifest(o)
Change background scroll effect
2023-01-10 22:17:41 +00:00
Michał 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
Michał 367bb2bcc5 Reimplemented sass compiling
Fixed path issues for env and saving images
2023-01-10 15:41:39 +00:00
Michał 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
Michał a499e6c840 Update to reccommended file structure
Use reccommended database structure
Switch to SQLite and update scheme along with it
2023-01-10 12:39:29 +00:00