Commit Graph

59 Commits (5f723b210627f88160c0eee696d815f0b44a6ff5)

Author SHA1 Message Date
Holger Brunn 617a991b88
[ADD] migrate database_cleanup
[ADD] test purging modules

[ADD] test purging tables
2023-10-30 13:35:23 -04:00
Holger Brunn cf5785b385
[IMP] allow to select lines to purge in a tree view
[IMP] adaptto upstream changes
2023-10-30 13:35:23 -04:00
Holger Brunn 5b31147273
[ADD] allow to clean up menus 2023-10-30 13:35:23 -04:00
Matjaž Mozetič b4e1e4d781
Missing templates and translations added 2023-10-30 13:35:22 -04:00
Holger Brunn c1406ebed2
[IMP] hide unnecessary buttons in wizard
[IMP] order wizard lines by name

[IMP] deal with modules whose models can't be loaded

[IMP] double quotes for docstring

[FIX] use exists query instead of huge in list

[IMP] hide unnecessary buttons in wizard II

[IMP] readability

[FIX] cope with purging nonexisting models
2023-10-30 13:35:22 -04:00
Anthony Muschang e5e76d0e94
[CHG] Migration to 8.0
[CHG] database_cleanup: move description to README.rst
2023-10-30 13:35:22 -04:00
Stefan Rijnhart b8e24140f7
[FIX] Don't remove uid field from wkf_instance, which is written in
raw SQL query (but never read afterwards). Workaround for
    lp:1277899

[FIX] Preserve dangling workflow table which is in use

[RFR] Group models per table when detecting columns to purge
      to prevent problems with models sharing the same table

[ADD] Allow purging of dangling data entries

[FIX] Data purging now working

[IMP] Docstrings

[FIX] Label
[FIX] Catch attempt to unlink field from nonexisting model

[RFR] Flake8
2023-10-30 13:35:22 -04:00
Guewen Baconnier 801a5d41c9
remove relations when purging models
avoid ''NoneType' object has no attribute 'exists'' error when purging models
fix my change guewen.baconnier@camptocamp.com-20140203103254-v1mzu2uib047xb9h, wrong lines replaced...
2023-10-30 13:35:22 -04:00
Stefan Rijnhart cad5ae1275
[ADD] Database cleanup module 2023-10-30 13:35:21 -04:00