Commit Graph

495 Commits

Author SHA1 Message Date
798d548ee9 Made saved users be in the DB 2021-06-26 16:48:05 +10:00
848c2b61cd fixed login code 2021-06-26 16:47:28 +10:00
f9d505a1b8 tweaked workers/threads, not sure what is best, but this will do 2021-06-26 16:46:38 +10:00
886776f737 Made saved users be in the DB, not in dict in memory of workers in gunicorn - otherwise we had BUG-39, and also added input validation to username to stop ldap injection on login form 2021-06-26 16:46:26 +10:00
2357ee9a3d FIXED: bug-39 - multiple logins 2021-06-26 16:44:41 +10:00
371e2af64b added python ldap / login pages 2021-06-26 09:20:11 +10:00
d1ed80bd35 finished move file work, updated change path / settings and symlink issues, and added user management todo 2021-06-24 17:34:59 +10:00
add702a1e2 code for making a new folder and moving content to it 2021-06-24 17:34:06 +10:00
0a5e837236 support multiple paths in move DBox via new StoragePathNames() function, and pass that through to jinja 2021-06-24 17:33:42 +10:00
a412164ef7 moved styles to force folder naming correctly from base to files.html so that file_list.html didnt end up with crud. Also allowed move DBox to handle multiple storage paths and passes chosen (or only) storage path through to web front-end then to back-end job 2021-06-24 17:33:09 +10:00
173e1f0de7 whitespc 2021-06-24 17:32:48 +10:00
a45e07ef34 moved styles to force folder naming correctly from base to files.html so that file_list.html didnt end up with crud. Also allowed move DBox to handle multiple storage paths and passes chosen (or only) storage path through to web front-end then to back-end job 2021-06-24 17:31:47 +10:00
82f6b915de use bg-secondary for withdrawn jobs 2021-06-22 21:18:24 +10:00
6c3cdf79eb force the figcaption to break long words (even without spaces) 2021-06-22 21:06:24 +10:00
f4e8d5f9da fix BUG, that occurred when I switch to folder view with a broken path in the settings -- the init validation only kicks up a fuss if there are no valid import paths, but if one is broken - as in DEV, when I reference Cams dev area, it was causing a dir match for that path to be None - simple if to fix 2021-06-22 20:56:01 +10:00
83db6d492b fix bug I added when switching symlink create to init code, path_type was the id, not a string... use DB to get right val 2021-06-22 20:54:52 +10:00
5bca620006 only show error color on actual Fail, so New, etc. does not go red 2021-06-22 20:54:08 +10:00
b84c671690 use bootstrap to style job errors, not direct css 2021-06-22 20:02:23 +10:00
c8f82dbb6d move back to DEV settings, while we work on moving files for real 2021-06-22 19:51:11 +10:00
2543e6e935 fxied -BUG-35: when restarting paweb, symlinks not in static/, also moved longer-term piece into TODO 2021-06-22 19:50:54 +10:00
eb574e3c75 moved InitValidation checks to log to a Job to show errors in front-end, and moved the creation of the symlinks to the InitValidation so we can restart paweb docker container and it will recreate the symlinks in static without needing an import. Also added token highlighting of a failed job 2021-06-22 19:30:04 +10:00
9eb82bf1c3 added comment & TODO to recode SymlinkName one day 2021-06-22 18:42:03 +10:00
2d4f63212c added new TODOs while cleaning up / Bug-fixing 2021-06-22 18:34:14 +10:00
6a4d993440 fixed BUG-36: view details showing all entries -- its a bit crap as its only import dir, but its functional again 2021-06-22 18:32:10 +10:00
4dd5cd2f29 fixed BUG-36: view details showing all entries -- its a bit crap as its only import dir, but its functional again 2021-06-22 18:31:57 +10:00
f83228d244 BUG-37 fixed (fa-stack misalignment) 2021-06-22 18:13:30 +10:00
83c4bb5585 added some bugs 2021-06-22 18:13:12 +10:00
decbcaec9a file_{ip|sp|rbp} now use functions to view flat or folder, and consistently offer Oldest/Newest (per files) and A to Z, Z to A (dir and files)... folder view only does A to Z / Oldest as alpha sort for dirs (dirs dont currently contain date metadata, so unless I add it, it wont work and I dont really think its useful anyway)... BUT, its added to the TODO for another day 2021-06-22 18:01:15 +10:00
6da3b7f8a6 (hacked width in fa-stack css from font-awesome to force width:2em from 2.5em) to allow view by folder now has same width for back "button" 2021-06-21 18:26:49 +10:00
26cd851325 view by folder now has same width for back "button" (hacked width in fa-stack css from font-awesome to force width:2em from 2.5em) - also made figcation wrap to keep horizontal folder spacing - seems much neater 2021-06-21 18:26:18 +10:00
2762f58f98 added quickhack of buttons on bottom of page to make navigation easier 2021-06-19 23:28:43 +10:00
3f4ae567fb added section for iPad 2021-06-19 17:17:17 +10:00
18b9ae59be redid accounting for duplicates with more details around manual choices and fixed up the file counts that were based on subtractions, its all now accounted and includes removal of duplicates in rare case of files in import path and more than copy in storage path being double-counted 2021-06-19 17:16:47 +10:00
66455b9f43 putting more threads in, if a DB exec is slow, the whole things stops -- might have DB contention between viewing and importing? 2021-06-19 17:15:50 +10:00
f0fcd098e4 put correct folder-based entry retrieval for import and bin paths too AND fixed bug introduced with dup checking that did not sort based on new paths, only old rel_path 2021-06-19 17:14:53 +10:00
e29c0ae5af switched to prod settings 2021-06-18 01:05:39 +10:00
f275da33e0 if you go into a new dir (up or down), offset is put back to 0 2021-06-18 01:05:06 +10:00
d78aa0c076 file_sp now honours offset and how_many, and if you go into a new dir (up or down), offset is put back to 0 - this seems functional now, need to functionalise/replicate into files_ip and files_rbp 2021-06-18 01:04:41 +10:00
c61b2b4035 browsing by folders should now only load contents of cwd from DB, faster, also removes bugs of that content not being in first 50 entries 2021-06-18 00:41:30 +10:00
9e5e74bcdb making this look usable on ipad and okay on larger desktop browser 2021-06-18 00:40:40 +10:00
beb1ae6eb8 making this look usable on ipad and okay on larger desktop browser 2021-06-18 00:40:13 +10:00
288665ec42 set parent_dir each time, not remember last dir as parent... that was simply dumb 2021-06-17 19:54:34 +10:00
f8a9f056ed fix bug where back button goes missing if you go into an empty folder 2021-06-17 19:54:09 +10:00
43b39af61d stop causing SqlAlchemy to have an ambiguous join of entry dir links for files and directories in the class, by removing files from class Entry, and explicitly getting the list of files for a directory via sqlalchemy in RunFuncOnFilesInPath() and ProcessFilesInDir() 2021-06-16 23:29:25 +10:00
2b87f84695 added some notes on when I pip3 upgraded some packages 2021-06-16 23:27:42 +10:00
b679119cea recursively chown content in /static, as it now has favicon*, upstream/, etc. in there 2021-06-16 23:27:20 +10:00
fcb74df7bf use a .dockerignore to avoid copying over 500+MB of git and backups, along with not copying some dev only images/dirs. when "docker-compose ... build" is used 2021-06-16 23:26:41 +10:00
b09d19570f improved DBox images/html, improved look of MoveDBox, started plumbing for pa_job_manager to do actual moves, all the data is there, just havent performed the FS or DB move. cleaned up duplicated DEBUGS that are straight before AddLogForJob... tweaked TODO appropriately 2021-06-14 18:30:52 +10:00
dfa52ae1b7 not using this, need to redo logs 2021-06-14 16:57:28 +10:00
7c3c8977d6 refined right-click seln. If you have one or more highlights, dont mess with them. If you have none, then select the one you are over. Also finished TODO for view details menu option 2021-06-13 22:14:35 +10:00