deepsource-autofix[bot]
55c5fc482c
refactor: refactor unnecessary else
/ elif
when if
block has a return
statement
...
The use of `else` or `elif` becomes redundant and can be dropped if the last statement under the leading `if` / `elif` block is a `return` statement.
In the case of an `elif` after `return`, it can be written as a separate `if` block.
For `else` blocks after `return`, the statements can be shifted out of `else`. Please refer to the examples below for reference.
Refactoring the code this way can improve code-readability and make it easier to maintain.
2023-09-27 18:20:34 +00:00
fd08fbd0c8
Merge pull request #29 from Derpy-Leggies/unstable
...
Unstable
2023-09-27 14:00:31 +01:00
b4bc8c61ec
Allow for styling
2023-09-27 13:59:31 +01:00
317c875cf0
Functional settings menu plus sass stuff apparently?
2023-09-27 11:32:39 +01:00
1a59e413a9
Move colours to HSL, probably a mistake
2023-09-26 19:36:49 +01:00
9821db72c6
Yeet old runner script as it was useless
...
Clean up code and styling
2023-09-26 13:43:00 +01:00
deepsource-autofix[bot]
a0e381a34d
refactor: refactor if
expression
...
The `if` expression used here can be simplified to increase the code readability. Example:
2023-09-25 08:49:13 +00:00
8a4fe891ef
Add context menu script
2023-09-24 19:53:14 +01:00
54a98a8591
Clean up JS for Groups and Images page
...
Clean up group.py and image.py
2023-09-24 15:42:26 +01:00
bdecdaff7c
Fix broken runner.py
2023-09-24 10:48:03 +01:00
d19a33501a
🦞
2023-08-04 17:34:08 +00:00
4c7bf9706f
remove unnecessary sass
...
clean up metadata parser (kinda)
2023-07-03 08:49:01 +00:00
3c09fb494b
Rename layout to base and clean up HTML
2023-05-29 10:42:17 +00:00
d9714da918
AAAA
2023-05-29 10:41:53 +00:00
b30e336ae6
Clean up Styling
2023-05-29 10:41:08 +00:00
bc2ed9e2be
Cookie for tracking if info tab should be shown
2023-05-29 10:40:29 +00:00
e5b066a50c
Update Colour utils
2023-05-29 10:39:53 +00:00
ca91809a44
Update Grid and Square functions
2023-05-29 10:39:31 +00:00
1fade10c41
Create Macros
2023-05-29 10:34:25 +00:00
3e3598ae10
Working prototype for Lychee like image grid
2023-04-22 19:58:10 +00:00
85d4b47760
Fixy image tags
2023-04-22 15:13:15 +00:00
113391dc74
Black
2023-04-22 14:11:47 +00:00
13a0b21710
Add colour contrast filter
...
Make colours on images yoinkable
2023-04-22 14:11:25 +00:00
76cc8456d2
Add clipboard function
2023-04-22 13:48:06 +00:00
e9e3706172
Move JS to layout HTML for faster loading
...
Keep images square through JS and not a bug with ::after
2023-04-22 13:45:29 +00:00
ac2e73042e
Broken gradient on groups
2023-04-22 11:52:10 +00:00
77167b902d
Update version
2023-04-22 11:46:56 +00:00
2cf7bc9091
Use Picture element to automatically choose webp
...
Remove loadOnView function as has to be remade for new picture element
Remove broken way of checking for Webp support
2023-04-22 11:46:20 +00:00
16df5bc255
Optimise loading and reduce image size
2023-04-22 10:29:57 +00:00
df2b2091ec
Add User profile picture to image details
2023-04-22 09:39:27 +00:00
e8cde31458
Use info-tab as settings container
2023-04-22 09:03:05 +00:00
0e2fee8260
Betterer sizes
2023-04-22 09:02:25 +00:00
2af2a36b74
More info to Link previews
2023-04-22 09:02:05 +00:00
bb7b9fb2c3
Optimize banner
2023-04-22 08:50:19 +00:00
e3c25a5241
Pylinty
2023-04-21 17:49:08 +00:00
e69ac64855
Update upload location
2023-04-21 17:44:55 +00:00
dd0e009200
Run files through Black
2023-04-21 17:35:31 +00:00
60e7078e13
Move APIs to their own folder
2023-04-21 17:34:25 +00:00
789441e636
Add more info popup
...
Display profile picture at better resolution
2023-04-21 16:22:31 +00:00
26d65811f1
Add more resolution options
2023-04-21 16:21:47 +00:00
cd09b688c1
Make header of the info tab darker
2023-04-21 16:21:25 +00:00
4982914aa8
Add profile picture to nav bar
2023-04-21 16:20:40 +00:00
2673026880
Removed cached copies of profile images
2023-04-21 16:20:22 +00:00
9f09c40ee2
Incorrect checking of image location
2023-04-21 13:33:32 +00:00
54eecf0784
Shitty temporary settings page lol
2023-04-20 21:21:05 +00:00
a1d0ac9f90
Add options to profile
...
Upload profile picture
Change username
2023-04-20 20:47:04 +00:00
8334b5cf98
Change the nav icons back to filled
2023-04-20 20:46:22 +00:00
87a8254c73
Add support for different image directories
...
This changed the url for images, from file to media
2023-04-20 20:45:57 +00:00
8e54a3b4b6
Gwa Gwa
2023-04-20 19:21:33 +00:00
5310769bf8
rename DB columns again!!!!!
2023-04-20 19:21:28 +00:00