|
|
3c8f72cfd6
|
added undelete route/function
|
2021-06-10 17:42:52 +10:00 |
|
|
|
b63d349c9f
|
update for next steps
|
2021-06-09 21:42:40 +10:00 |
|
|
|
3bf97df7fe
|
added instructions for upstream contents
|
2021-06-09 21:41:01 +10:00 |
|
|
|
6a0141504d
|
added JobDeleteFiles plumbing / tested... removed test code for Undel, and added in CheckDups call for Undel - that is untested though, so debug to that effect still in this commit
|
2021-06-09 21:34:59 +10:00 |
|
|
|
7bbea21981
|
switched over to smarter context menu, hooked up delete button to ajax call, but not context menu yet - nor undelete. Made contextmenu detect path of object and del/undel appropriately, which also fixes a few quirks/bugs with no data in DB and trying to find the path of the first/non-existant entry
|
2021-06-09 21:34:16 +10:00 |
|
|
|
9676738bdc
|
made dialog be 75-100% to better fit content, added upstream-d URLs for jquery contextMenu
|
2021-06-09 21:32:53 +10:00 |
|
|
|
3688319ebd
|
put route in for delete files - from GUI (button only for now, will also be context menu soon)
|
2021-06-09 21:32:18 +10:00 |
|
|
|
824aae3f94
|
clicking on the bg removes selection/highlights
|
2021-06-09 18:06:57 +10:00 |
|
|
|
8e4b5fe09b
|
minor formatting fix to make dbox work better
|
2021-06-09 17:57:58 +10:00 |
|
|
|
823eeeb18e
|
updated partial progress on undelete
|
2021-06-08 21:17:52 +10:00 |
|
|
|
97a21cadab
|
created/tested an Undelete function and associated classes, it works but nothing calls it yet
|
2021-06-08 21:17:38 +10:00 |
|
|
|
060cf8acd2
|
put beginnings of undelete in context menu -> does nothing as yet, nor does delete for that matter. tweaked the alert displaying folder we are in to better show path icon and location, added a disabled back button in folder view so actual folders dont jumped around when you go into the first folder and a back button used to appear. Peak into first entry to see if we are viewing a Bin path and if so, then we could use undel.... In hindsight this is a hack that needs to be thought through per file (when I search it will break), but its a start for now and shows the right context menu when viewing a specific path.
|
2021-06-08 21:16:49 +10:00 |
|
|
|
651e1250a4
|
added DEL_FILE
|
2021-06-08 21:13:41 +10:00 |
|
|
|
b315503832
|
fixed subtle BUG, from when I changed over form EntryDirLink to PathDirLink, I was still joining Entry AND Path for Dir Links, by hand joining these tables, I get lost, so not surprised it gives ambigous results -- manifested in lost Dirs in the f/e after delete/undelete. Also cleaned up debugs
|
2021-06-08 21:13:18 +10:00 |
|
|
|
11386f57a4
|
thumbs should not land in image dirs, they are both linux/windows meant to land in cache/home dirs, so ignoring this todo
|
2021-06-07 17:51:39 +10:00 |
|
|
|
66268ad6bb
|
use explicit set of dir_obj for path, as ORM cant easily work out which dir is the right one for a path
|
2021-06-07 17:46:45 +10:00 |
|
|
|
43f60cba93
|
default for grouping should be None not Day when searching (only time there is no grouping value set) AND this matches defaults now set in files.py ViewingOptions function
|
2021-06-06 17:34:45 +10:00 |
|
|
|
baab4569d2
|
finished showing path location on search TODO, also dont want to do the route consolidation suggestion after more thought
|
2021-06-06 17:25:30 +10:00 |
|
|
|
6d854628ae
|
removed unnecessary css/js -> copied form pybook and not used, also made all upstream/internet resources local. NOTE: static/upstream is not in git, can just be downloaded from internet if needed again anyway
|
2021-06-06 17:24:55 +10:00 |
|
|
|
46fc90ddeb
|
if via folders or grouping is none we create the row of images. if we are searching, added mini icon in bottom-left to show where the image is from (import/storage/bin)
|
2021-06-06 17:23:23 +10:00 |
|
|
|
e20faac23b
|
added new func LocationIcon so html can ieve the icon based on objects type of path
|
2021-06-06 17:22:25 +10:00 |
|
|
|
ecefb59458
|
added icons for paths into a dict ICON, and func to retrieve the icon based on objects type of path
|
2021-06-06 17:21:45 +10:00 |
|
|
|
3cf27e9366
|
path now shows type in object
|
2021-06-06 17:21:08 +10:00 |
|
|
|
b27391003f
|
fix bug where view import via folder did not have a cwd set, also fixed new bug where toggling from flat to folders with a grouping set would bug out, force grouping=None when folders chosen
|
2021-06-06 17:20:18 +10:00 |
|
|
|
943742df67
|
update next BUG num
|
2021-06-06 17:19:26 +10:00 |
|
|
|
7e2494884e
|
can now toggle between folder or flat view, its a bit ugly, but it works
|
2021-06-06 14:09:11 +10:00 |
|
|
|
b6156dad34
|
Merge branch 'master' of 192.168.0.2:photoassistant
|
2021-06-06 12:23:11 +10:00 |
|
|
|
98c4dc1049
|
updated TODO
|
2021-06-06 12:23:09 +10:00 |
|
Damien De Paoli
|
9a9dc01c5a
|
added code to check paths exist on startup
|
2021-05-28 16:37:26 +10:00 |
|
|
|
4ed76961a8
|
Now have an AddPath (which calls AddDir if needed). This also fixes a bug where re-scanning, caused duplicate database entries. Also cleaned up comments, prints
|
2021-05-27 18:34:08 +10:00 |
|
|
|
a9c24d6f13
|
minor update
|
2021-05-27 18:25:25 +10:00 |
|
|
|
c94daf86f6
|
updated sql to not retrieve duplicates that involve the recycle bin
|
2021-05-27 18:25:10 +10:00 |
|
|
|
b54c00eafe
|
updated comment
|
2021-05-27 18:24:45 +10:00 |
|
|
|
9b926938e4
|
added viewing recycle bin via folders, added comments, cleaned up TODO to note this is done
|
2021-05-26 18:32:52 +10:00 |
|
|
|
8dc98dd368
|
first-pass of deleting a file moving to the bin instead, not in right spot on FS/ path&rel_path, and no visualisation yet
|
2021-05-24 07:42:08 +10:00 |
|
|
|
74943f6112
|
Merge branch 'master' of 192.168.0.2:photoassistant
|
2021-05-22 17:48:39 +10:00 |
|
|
|
3898d1a943
|
remove unused path_prefix from DIR, its not in PATH
|
2021-05-22 17:48:34 +10:00 |
|
Damien De Paoli
|
e04fc4c068
|
mostly a TODO update, but start of recycle bin in DB work (PATH, etc.) is now created when we do a force rebuild from the GUI
|
2021-05-22 17:24:48 +10:00 |
|
|
|
5e03650ed5
|
first cut of paths actually working with folder viewing - for now defaulting on for both Storage only
|
2021-05-01 18:16:45 +10:00 |
|
|
|
b6b98ae5ca
|
added path type via new path.py to avoid more circular imports
|
2021-04-17 17:48:24 +10:00 |
|
|
|
4b0c64e9d8
|
updated TODO based on last file.py change for static/Storage usage
|
2021-04-17 17:47:47 +10:00 |
|
|
|
724d9b9a2e
|
debugs / comments
|
2021-04-17 17:46:37 +10:00 |
|
|
|
3237e3bf8f
|
fixed up dup code to work with paths, added path_types throughout and updated TODO to be clear on what next
|
2021-04-17 17:43:42 +10:00 |
|
|
|
477aa4e5b8
|
removed debug, fixed search to always be flat view and search paths with new rel_path field
|
2021-04-13 15:45:59 +10:00 |
|
|
|
35d1b32bba
|
remove debugs
|
2021-04-12 00:16:06 +10:00 |
|
|
|
70458228b3
|
just remembered the bug with group by and folders mode
|
2021-04-12 00:15:21 +10:00 |
|
|
|
56bb054384
|
lots more thoughts on recycle bin needs
|
2021-04-12 00:13:15 +10:00 |
|
|
|
ca7391e21b
|
fixed hard-coded static/storage, now use in_path.path_prefix
|
2021-04-12 00:06:26 +10:00 |
|
|
|
095b7c8333
|
Path in the DB is complete, still have hacks around displaying folders (hardcoded path name)
|
2021-04-11 15:35:01 +10:00 |
|
|
|
4a55e98f5b
|
first pass at removing explicit use of path_prefix, the remaining code either uses it to search so needs new path_dir_link table, or is AddDir which I need to think about
|
2021-04-10 11:48:56 +10:00 |
|