Commit Graph

  • f80b805a71 Merge branch 'feat/switch-to-uv' into 'master' master Roger Gonzalez 2025-03-28 16:07:32 -03:00
  • 684e0e84bc feat: readd python and fix default CLEANMEDIA_OPTS Christian Groschupp 2025-03-28 14:21:13 +01:00
  • 4c02b57672 docs: replace poetry by uv Christian Groschupp 2025-03-28 10:27:07 +01:00
  • 11d3079dbd feat: update dockerfile Christian Groschupp 2025-03-28 10:04:17 +01:00
  • 87276d9432 feat: switch to uv Christian Groschupp 2025-03-27 12:34:34 +01:00
  • 93654d84e4
    Prevent Poetry from installing packages globally Roger Gonzalez 2025-03-27 20:30:08 -03:00
  • 52fb1dc3de
    Add Docker installation and usage instructions Roger Gonzalez 2024-12-05 17:07:49 -03:00
  • dd69741c0a
    Replace dcron with supercronic for improved scheduling Roger Gonzalez 2024-12-05 17:03:24 -03:00
  • 10a1331e22
    Add scheduled task support to Dockerfile via cron Roger Gonzalez 2024-12-05 16:00:57 -03:00
  • 43db10c59e
    Update Docker tag to include version in .gitlab-ci.yml Roger Gonzalez 2024-12-04 17:34:44 -03:00
  • b81e295807
    Maybe deploying to Gitlab Roger Gonzalez 2024-12-04 17:30:05 -03:00
  • 611d11292a
    Add deploy stage to GitLab CI for DockerHub integration Roger Gonzalez 2024-12-04 16:34:09 -03:00
  • ca78223d8e
    Add Docker support with .dockerignore and Dockerfile Roger Gonzalez 2024-12-04 16:28:34 -03:00
  • 194ae55cbd
    Add logo to README and include new logo.png file Roger Gonzalez 2024-12-04 16:10:01 -03:00
  • 830ce6690d
    Add Codecov badge to README.md for coverage status Roger Gonzalez 2024-12-04 16:00:30 -03:00
  • 1214158b4a
    Update README.md to enhance installation and usage guide Roger Gonzalez 2024-12-04 15:59:14 -03:00
  • 65d09ee787
    Increased test coverage Roger Gonzalez 2024-12-04 15:55:11 -03:00
  • 9e791e184d
    Refactored the cleanmedia script Roger Gonzalez 2024-12-04 15:39:35 -03:00
  • c9dd733989
    Refactor to improve clarity Roger Gonzalez 2024-12-04 15:05:11 -03:00
  • 71a4299f83
    Add testing stage with coverage reporting to CI setup Roger Gonzalez 2024-12-04 14:45:14 -03:00
  • 67725d44a1
    Add tests for MediaRepository and File classes Roger Gonzalez 2024-12-04 14:40:08 -03:00
  • e089fb224c
    Remove unnecessary comments from cleanmedia.py Roger Gonzalez 2024-12-04 14:39:46 -03:00
  • 27bb320d14
    Refactor MediaRepository method calls to use 'self' Roger Gonzalez 2024-12-04 14:36:19 -03:00
  • 4ebedc05f5
    Add a comprehensive .gitignore for Python projects Roger Gonzalez 2024-12-04 14:27:19 -03:00
  • 13ad36a807
    Add pytest and pytest-mock to testing suite configuration Roger Gonzalez 2024-12-04 14:26:11 -03:00
  • 08aa96fce1
    Added types-psycopg and pyyaml to dependencies Roger Gonzalez 2024-12-04 11:59:14 -03:00
  • 7106991a04
    Enable specific LSP plugins in Emacs dir-locals Roger Gonzalez 2024-12-04 11:45:23 -03:00
  • d177812270
    Update CI to use poetry for dependency management Roger Gonzalez 2024-12-04 11:42:48 -03:00
  • a203ce904e
    Added pyproject.toml and updated dev experience Roger Gonzalez 2024-12-04 11:42:22 -03:00
  • 7a4d497353 Optimize Sanity Check SQL Sebastian Spaeth 2024-03-12 18:02:44 +01:00
  • 0a03429abf Maintainership notice Sebastian Spaeth 2024-02-01 06:23:36 +00:00
  • 4ddec53928 Merge branch 'deluser' into 'main' v0.3 Sebastian Spaeth 2023-12-13 12:45:06 +00:00
  • d6fd2f97e3 Add deletion of local user media Sebastian Spaeth 2023-12-13 13:18:16 +01:00
  • b3d857e245 Delete stray debug leftover Sebastian Spaeth 2023-12-11 15:03:15 +01:00
  • 320af39f35 only log when we actually find a corresponding media Sebastian Spaeth 2023-12-11 14:40:04 +01:00
  • 3b8751c6de hotfix: Print all arguments in logging string Sebastian Spaeth 2023-12-11 14:36:47 +01:00
  • f3ef851c74 Merge branch 'singlemedia' into 'main' Sebastian Spaeth 2023-12-11 13:34:29 +00:00
  • 5dd80a77b0 add deletion of single media Sebastian Spaeth 2023-12-11 13:37:47 +01:00
  • 2886c1d06b add deletion of single media refactor Sebastian Spaeth 2023-12-11 13:37:47 +01:00
  • 6dc86c9ac1 Merge branch 'refactor' into 'main' Sebastian Spaeth 2023-12-11 12:32:55 +00:00
  • f297f20394 refactor main function Sebastian Spaeth 2023-12-11 12:32:55 +00:00
  • 2ebf1a1e05 refactor Sebastian Spaeth 2023-12-11 13:00:43 +01:00
  • 3e12ef1b1a More robustness against flawed config files v0.2 Sebastian Spaeth 2023-12-04 08:55:30 +01:00
  • cf1eb36aa6 Merge branch 'neetzsche/fix-media-api-config' into 'main' Sebastian Spaeth 2023-12-04 07:38:37 +00:00
  • 9f36cfc8b3 Fix getting connection_string from media_api We were looking for [media_api][connection_string] and not for [media_api][database][connection_string] Credits to https://gitlab.com/NEETzsche NEETzsche 2023-12-04 07:38:37 +00:00
  • a35d3ad5fb Merge branch 'neetzsche/filter-blank-avatar-urls' into 'main' Sebastian Spaeth 2023-12-04 07:32:32 +00:00
  • 0ceefedceb Filter blank avatar urls credit to https://gitlab.com/NEETzsche NEETzsche 2023-12-04 07:32:32 +00:00
  • 2f2eee20d6 Add --quiet mode Sebastian Spaeth 2023-11-15 10:13:49 +01:00
  • 7b62b49df4 README: Update readme v0.1 Sebastian Spaeth 2023-09-18 14:01:38 +02:00
  • c1ee679f9e Merge branch 'save_avatars' into 'main' Sebastian Spaeth 2023-09-18 11:53:15 +00:00
  • b26435d4cc cleanmedia: break up long line Sebastian Spaeth 2023-09-18 13:52:13 +02:00
  • 055d9b4202 cleanmedia: Allow to also delete local media files Sebastian Spaeth 2023-09-18 10:03:56 +02:00
  • 1cb7dad3c2 Merge branch 'mypy' into 'main' Sebastian Spaeth 2023-09-18 11:45:15 +00:00
  • b01eb97a47 CI: flake8 the file Sebastian Spaeth 2023-09-18 13:44:09 +02:00
  • 9eea97f1e1 CI: Make mypy happy Sebastian Spaeth 2023-09-18 13:39:13 +02:00
  • 7d6dc981e3 CI: Fix cleanmedia:107: error: Name "psycopg2.extensions.connection" is not defined [name-defined] Sebastian Spaeth 2023-09-18 13:35:41 +02:00
  • 3e063e92d4 CI: Add mypy check Sebastian Spaeth 2023-09-18 13:28:44 +02:00
  • edae37dc06 CI: Don't keep artifacts around Sebastian Spaeth 2023-09-18 13:13:46 +02:00
  • 7c60a9037c flake8: This is it. Green! Sebastian Spaeth 2023-09-18 13:11:12 +02:00
  • 329981fe49 flake8: Is this the end? Sebastian Spaeth 2023-09-18 13:10:08 +02:00
  • 65dff450c3 CI: Make flake8 less grumpy Sebastian Spaeth 2023-09-18 13:06:12 +02:00
  • 0fcf538a93 flake8: make pylinter a little more happy Sebastian Spaeth 2023-09-18 12:59:27 +02:00
  • 4cd9bc6136 Merge branch 'CI' into 'main' Sebastian Spaeth 2023-09-18 10:56:02 +00:00
  • d222eba15a CI: add one Sebastian Spaeth 2023-09-18 12:19:18 +02:00
  • ad184116fc cleanmedia: fix whitespace Sebastian Spaeth 2023-09-18 09:27:59 +02:00
  • 13b7ffcc5e Add requirements Sebastian Spaeth 2023-05-17 12:17:16 +00:00
  • 4984a5d1a4 Update README Sebastian Spaeth 2023-04-20 09:55:54 +02:00
  • 55652662ca Fix deleted file calculation Sebastian Spaeth 2023-04-20 09:53:41 +02:00
  • e4a190749f Merge branch 'master' of gitlab.com:sspaeth/cleanmedia Sebastian Spaeth 2023-04-20 09:46:28 +02:00
  • 1f3bc1e0c9 Add sanity check for thumbnails Sebastian Spaeth 2023-04-20 09:45:20 +02:00
  • 405c207f8c Clean up code comments a little Sebastian Spaeth 2023-04-19 18:29:50 +02:00
  • 1df1a8e74c use correct class for typing hints Sebastian Spaeth 2023-04-19 18:25:02 +02:00
  • 94a643d636 mypy: Make the typing checks pass without error Sebastian Spaeth 2023-04-19 18:19:50 +02:00
  • 52484e7351 remove todo list from source code Sebastian Spaeth 2023-04-19 17:52:37 +02:00
  • 4fad9fcb0d allow postgresql:// connection string Sebastian Spaeth 2023-02-02 07:42:16 +01:00
  • 6f99a37944 Add scary warranty disclaimer Sebastian Spaeth 2023-01-12 14:59:54 +01:00
  • 7b6ecf25ac reintroduce correct failure handling Sebastian Spaeth 2023-01-12 14:53:32 +01:00
  • 3914546c92 simplify file counting Sebastian Spaeth 2023-01-12 14:49:39 +01:00
  • d23e16cbee Count deleted files Sebastian Spaeth 2023-01-12 14:47:20 +01:00
  • 4887745611 expand Readme somewhat Sebastian Spaeth 2022-11-30 10:33:24 +01:00
  • 430809c49b Update README Sebastian Spaeth 2022-11-28 15:37:11 +01:00
  • e79563ea6a add license, make retention time configurable Sebastian Spaeth 2022-11-28 15:13:36 +01:00
  • 0e035d47e9 Even nicer output on dryrun Sebastian Spaeth 2022-11-08 19:00:35 +01:00
  • 36d392e9b1 Better output on dryrun, make clear what we would delete now Sebastian Spaeth 2022-11-08 18:55:23 +01:00
  • a00ffc258f Demote log to debug Sebastian Spaeth 2022-11-08 18:51:59 +01:00
  • f96b05f245 Use a cached property for fullpath Sebastian Spaeth 2022-11-08 18:44:31 +01:00
  • e66eb649d7 Move read_config down to the other global function(s) Sebastian Spaeth 2022-11-08 18:30:49 +01:00
  • c8588634b3 Clean up and document a little Sebastian Spaeth 2022-11-08 18:27:40 +01:00
  • 2497e71c3b Need to commit our changes Sebastian Spaeth 2022-11-08 17:59:43 +01:00
  • 7065a5437e Properly delete files Sebastian Spaeth 2022-11-08 17:53:47 +01:00
  • be6da99c1c Delete db entries too Sebastian Spaeth 2022-11-08 17:39:21 +01:00
  • 8410389d6a Initial commit Sebastian Spaeth 2022-11-08 17:18:32 +01:00