Commit Graph

150 Commits

Author SHA1 Message Date
48034626f1 sftp works with keyring, bookmark and edit bookmark 2025-08-16 01:06:34 +02:00
cc48f874ac add trash icon to contexmenu remove bookmark 2025-08-15 08:49:46 +02:00
27f74e6a77 add update installer on custom_file_dialog 2025-08-14 13:14:02 +02:00
ba38ea4b87 - Added window on custom_file_dialog to query if there is
no other folder in the selected folder. So that the folder
   can still be entered

 - Fixes multi and dir mode in custom_file_dialog

 - Add "select" in MessageDialog on list for Button and add grab_set()
   after update_idletasks() to fix Error Traceback
2025-08-14 12:59:07 +02:00
ff1aede356 fix multiselect on icon view in mode="multi" 2025-08-14 00:44:02 +02:00
f565132074 feat(cfd): Implementiert Multi-Auswahl in der Icon-Ansicht 2025-08-14 00:39:35 +02:00
d548b545e3 add update url in cfd_app_config 2025-08-14 00:27:42 +02:00
66202310ec fix(cfd): Behebt UnboundLocalError beim UI-Aufbau 2025-08-14 00:11:58 +02:00
d79e4c9e01 refactor(cfd): Entkoppelt die Update-Konfiguration und bereinigt Imports 2025-08-14 00:06:34 +02:00
0ef94de077 feat(cfd): Integriert Gitea-Update-Prüfung für die Bibliothek 2025-08-13 23:48:37 +02:00
fbc3c8e051 feat(cfd): Implementiert 'dir' Modus und vervollständigt 'multi' Modus 2025-08-13 23:45:17 +02:00
1d05f5088f feat(cfd): Implementiert multi-select Modus für die Listenansicht 2025-08-13 23:41:22 +02:00
2c2163b936 refactor(cfd): Bereitet den Dialog für neue Modi (multi, dir) vor 2025-08-13 23:39:11 +02:00
16937faf91 feat(cfd): Zeigt DISABLE-Status bei ergebnisloser Suche an 2025-08-13 23:08:05 +02:00
24e8ed1dff fix(cfd): Verhindert das Verschwinden des Such-Icons bei Klick ohne Suchbegriff 2025-08-13 23:06:50 +02:00
c1fe8b62e1 fix(animated_icon): Behebt Fehler bei der Wiederherstellung des DISABLE-Status 2025-08-13 23:05:04 +02:00
c5626073c9 fix(menu_bar): Korrigiert den Tooltip für den Update-Button 2025-08-13 23:03:13 +02:00
0d3eff772e fixes and update on animated icon contexmanager gitea and menu_bar 2025-08-13 22:21:03 +02:00
864ad63bf8 new Gitea handling 2025-08-13 21:15:22 +02:00
eb893d197a Fix: Resolve TclError by managing animated icon clickability via bindings
- Replaced direct 'state' configuration on ttk.Frame (animated_icon_frame)
  with dynamic binding/unbinding of the '<Button-1>' event.
- This resolves the '_tkinter.TclError: unknown option "-state"' as ttk.Frame
  does not support the 'state' option.
- Ensures the animated icon is only clickable when an update is available,
  improving UI behavior and error handling.
2025-08-13 19:56:55 +02:00
b44c7b96d3 Fix: Improve update button and animation behavior in MenuBar
- Ensured the update toggle button remains active regardless of update status.
- Implemented state management for the animated update icon, making it clickable
  only when a new version is available.
- Corrected tooltip synchronization with the animated icon's state.
- Removed redundant update status check in the updater method, as UI state
  now controls interaction.
2025-08-13 19:52:51 +02:00
13f5f1f4fd Docs: Update MenuBar docstrings and remove unused comments
- Updated docstrings for __init__ and update_ui_for_update to reflect
  recent changes in arguments and logic, improving code documentation.
- Removed an unused commented-out line in the __init__ method signature.
2025-08-13 18:36:14 +02:00
fb794538d8 Refactor: Streamline MenuBar arguments and remove redundancy
- Replaced 'app_config' with 'app_version' to directly pass the application version,
  removing the need for 'app_config' as a whole.
- Reverted 'tooltips' argument and instead use 'msg_config' directly,
  aligning with existing project structure where 'Msg' class encapsulates
  both general strings (STR) and tooltips (TTIP).
- Updated all internal references to use 'self.app_version' and 'self.msg_config.TTIP'.
- This refactoring reduces argument redundancy and improves consistency with
  the project's configuration management.
2025-08-13 18:31:17 +02:00
3cf91ba58f Refactor: Externalize remaining MenuBar tooltips
- Replaced hardcoded tooltips for the log and about buttons with references
  to the 'tooltips' dictionary passed during MenuBar initialization.
- This further enhances the flexibility and translatability of the MenuBar.
2025-08-13 17:44:35 +02:00
ab14b4ffa3 Fix: Resolve NameError for Optional in MenuBar
- Added 'Optional' to the import list from the 'typing' module in menu_bar.py
  to resolve a NameError when using Optional as a type hint.
2025-08-13 17:26:07 +02:00
6fe090e9e5 Refactor: Update MenuBar for new GiteaUpdater and flexible tooltips
- Updated MenuBar to use the new GiteaUpdater class for update checks.
- Modified __init__ to accept gitea_api_url and a dictionary of tooltips,
  making the MenuBar more project-independent and translatable.
- Refactored check_for_updates and update_ui_for_update to handle the
  new GiteaUpdater's return values (new version string or None) and
  new states (DISABLED, ERROR).
- Improved updater logic to prevent execution when no updates are available
  or an error occurred.
- Corrected about dialog icon parameter.
2025-08-13 17:18:28 +02:00
8b4068fdc7 add icons in kontex menüs 2025-08-13 01:24:55 +02:00
ba6ef7385a replace tooltip animation with exist tooltip, redundancy reduced, search optimized, add new icons copy and stair (for path folllow) 2025-08-13 01:05:57 +02:00
dc51bf6f2c Reduced redundancy, logviewer fulll removed , add log_window and menu_bar 2025-08-12 22:44:49 +02:00
80aebe3bab Struktur: Integriere CustomFileDialog und AnimatedIcon
Die
      Komponenten des CustomFileDialog wurden aus einem separaten Repository importiert
      und in ein eigenes Verzeichnis verschoben. Die Test-Datei 'mainwindow.py' wurde
      entfernt. 'animated_icon.py' wurde als gemeinsam genutzte Komponente im
      Stammverzeichnis platziert.
2025-08-10 13:31:53 +02:00
941ac4334b Merge remote-tracking branch 'customfiledialog-repo/main' into 4-06-2025 2025-08-10 13:29:26 +02:00
d124c24533 fix fstrings and syntax error 2025-08-10 12:25:10 +02:00
30c2c3b901 add type-hints on cfd_file_operations, cfd_app_config, animated_icon 2025-08-10 12:04:34 +02:00
5a41d6b1fd add doctring and typhint in custom_file_dialog and add type-hints on cfd_view_manager, cfd_ui_setup, cfd_settings_dialog, cfd_search_manager, cfd_navigation_manager 2025-08-10 11:57:43 +02:00
4e7ef8d348 add docstring in cfd_ui_setup, cfd_view_manager 2025-08-10 11:33:19 +02:00
14a50616a3 add dochstring in cfd_file_operations, cfd_navigation_manager, cfd_search_manager, cfd_settings_dialog and fix entryfield on create new folder and new document in iconview 2025-08-10 11:16:48 +02:00
246addc34b add docstrings in animated_icon and cfd_app_config.py 2025-08-10 10:38:45 +02:00
b18bf7fe85 translate strings place in cfd_app_config and replace unhide with new size 2025-08-10 01:26:57 +02:00
b8d46fb547 Refactor: Decompose CustomFileDialog class
The `CustomFileDialog` class had become too large and complex, making it difficult to maintain.

This change refactors the monolithic class into several specialized manager classes, each responsible for a specific area of concern:

- `SettingsDialog`: Moved to its own file, `cfd_settings_dialog.py`.
- `FileOperationsManager`: Handles file/folder creation, deletion, and renaming.
- `SearchManager`: Encapsulates all search-related logic.
- `NavigationManager`: Manages directory navigation and history.
- `ViewManager`: Controls the rendering of file and folder views.

The main `CustomFileDialog` class has been streamlined and now acts as an orchestrator for these managers. This improves readability, separation of concerns, and the overall maintainability of the code.
2025-08-09 11:51:58 +02:00
d392e1e608 add blink animation 2025-08-09 10:39:59 +02:00
f06d1b6652 fix all search problems 2025-08-09 10:16:51 +02:00
f47f18d48c commit 83 2025-08-09 02:13:13 +02:00
497978ef95 commit 82 2025-08-09 01:50:41 +02:00
7956d4e393 commit 81 2025-08-09 01:36:30 +02:00
cb6c513622 commit 80 2025-08-09 01:22:50 +02:00
2f504658a3 commit 79 2025-08-09 00:40:45 +02:00
cef383ca74 commit 78 2025-08-09 00:32:57 +02:00
287ebfd1d0 commit 77 2025-08-09 00:23:25 +02:00
11bcf5cc7a commit 76 search works 2025-08-09 00:00:08 +02:00
9e495cc73c commit 75 2025-08-08 22:39:36 +02:00