Commit graph

488 commits

Author SHA1 Message Date
Santiago L d7e8a411cd Import ContextDecorator from contextlib
Will be removed on Django 3.0
2024-01-26 13:36:02 +01:00
Santiago L 2c655f6b08 Cosmetics & filter by request.user missing views 2024-01-26 13:35:10 +01:00
Santiago L 4b89a04969 Fix number of addresses of a domain 2024-01-26 13:34:46 +01:00
Santiago L 790ac0074a Drop type annotations 2024-01-26 12:56:12 +01:00
Jorge Pastor 7ec7d18544 metrics reduce code 2024-01-25 20:22:04 +01:00
Jorge Pastor 4cfbf57428 metrics reduce code get top 10 resources 2024-01-25 19:34:54 +01:00
Santiago L 428644e421 Cosmetics: set full height to container 2024-01-25 14:40:59 +01:00
Santiago L 8fe15e370b Merge branch 'musician' of gitea.pangea.org:pangea/django-orchestra into musician 2024-01-25 14:40:11 +01:00
Santiago L 954ddafec3 Add missing imports (ValidationError & gettext_lazy) 2024-01-25 14:39:40 +01:00
Santiago L 4dc5de4016 Fix link to mailing list management tool 2024-01-25 14:30:20 +01:00
Santiago L 1a3a015d61 Render related address on mailbox list 2024-01-25 14:24:06 +01:00
Santiago L f140fe480e Fix MailboxDeleteView 2024-01-25 14:19:58 +01:00
Santiago L d4b44d58c8 Fix AddressDeleteView 2024-01-25 13:59:14 +01:00
Santiago L 216c4d9419 Add redirect URL for musician index 2024-01-25 13:36:10 +01:00
Jorge Pastor dc2927bc88 metrics lists and saas 2024-01-24 20:28:12 +01:00
Jorge Pastor 3d8fddfd9e metrics databases 2024-01-24 18:58:54 +01:00
Jorge Pastor 031a290390 metrics account and websites 2024-01-17 18:03:56 +00:00
Santiago L ddd80fbf0e Merge branch 'main' into musician 2024-01-17 07:53:53 +00:00
Jorge Pastor dcd525c79e activate/deactivate nextcloud users 2024-01-04 19:10:17 +01:00
Jorge Pastor b06f0d1cd6 activate/deactivate nextcloud users 2024-01-03 19:49:42 +01:00
Jorge Pastor 8eae8e624f quota nextcloud 2024-01-03 18:53:46 +01:00
Jorge Pastor e2dd8a90ae change str model resourcedata 2023-12-30 10:00:54 +01:00
Jorge Pastor b782269b12 filter servers on websites, show only webservers 2023-12-19 10:04:10 +01:00
Jorge Pastor f7a4fc749b filter servers on webalizer app, show only webservers 2023-12-15 10:46:30 +01:00
Jorge Pastor 1610c301cf filter servers on webalizer app, show only webservers 2023-12-15 10:44:58 +01:00
Jorge Pastor 2ca503a945 filter servers on databases, show only database servers 2023-12-15 09:58:44 +01:00
Jorge Pastor f067732802 moodle delete last slash in wwwroot conf 2023-12-09 11:43:45 +01:00
Jorge Pastor 30ed10d364 Moodle, forgotten Linia, of user who runs the installation 2023-12-08 17:58:27 +00:00
Jorge Pastor 91f47c5e0d force app moodle create public-root moodle 2023-12-07 21:49:56 +00:00
Jorge Pastor 814696d65e fix WordPressURLController rewrite option_value 2023-12-07 17:52:52 +01:00
Jorge Pastor c593385d5c prepare moodle to new servers 2023-11-30 16:36:41 +00:00
Santiago L d3b3547811 Validate domain records (on update & creation) 2023-11-29 15:03:12 +01:00
Santiago L be3ca0aecd Render top & subdomains (if any) 2023-11-29 14:31:43 +01:00
Santiago L a6be3e5b00 Allow add and update domain's record 2023-11-29 12:42:54 +01:00
Santiago L f26b2f0e87 Allow user to create a new record on a domain 2023-11-29 12:16:17 +01:00
Santiago L 7c85f219d8 Set USER_SUPPORT_EMAIL 2023-11-27 13:03:53 +01:00
Santiago L bae29f766f Fix DatabasesView 2023-11-27 13:03:47 +01:00
Santiago L d34b21448a Fix MailingListsView 2023-11-27 13:03:39 +01:00
Santiago L 338047a27b Fix address-update link 2023-11-27 13:03:34 +01:00
Santiago L a921e0f648 Refactor address & mailbox views 2023-11-27 13:03:25 +01:00
Santiago L a23dcf68fc Refactor Mailboxes list view 2023-11-27 13:03:20 +01:00
Santiago L aa0de32cd0 Refactor my-profile & fix set language 2023-11-27 13:03:14 +01:00
Santiago L 4112e9178a Refactor views related to billing 2023-11-27 13:03:10 +01:00
Santiago L f2aaf28422 Refactor DomainDetailView 2023-11-27 13:03:05 +01:00
Santiago L 720c4dd8a2 Start replacing API petitions with models queries 2023-11-27 13:02:47 +01:00
Santiago L f6b1cf56e3 Adapt user login (based on django.contrib.auth) 2023-11-27 13:02:42 +01:00
Santiago L e60ac8f24a Move musician as orchestra module
Copy of code in repository https://github.com/ribaguifi/django-musician
at commit d1a7ad911751e0bb5d68efa63696b1c6e2a0b47b

NOTE: there are minor changes to adapt code
2023-11-27 13:02:29 +01:00
jorgepastorr 880991984f merge migrations 2023-11-26 11:31:07 +01:00
Jorge Pastor febc2783fd commet conflict lines in migrations systemusers 2023-11-26 09:52:03 +00:00
Jorge Pastor 7a6d4783d0 mailbox not change pass on single reload 2023-11-26 09:52:03 +00:00
Jorge Pastor f8b05b24e5 max length 32 databaseuser 2023-11-26 09:52:03 +00:00
Jorge Pastor 7a8c6c9b90 nextcloud size on cron 2023-11-26 09:52:03 +00:00
Jorge Pastor 2cd20465c9 fix resource agragation otion last value query 2023-11-26 09:52:03 +00:00
Jorge Pastor 44b2720b3e change update user password on mysql 2023-11-26 09:52:03 +00:00
jorgepastorr 5a6b972b51 fix last nyapa with target_server on SAS 2023-11-26 09:52:03 +00:00
jorgepastorr c94342141e nyapa hiden target server in SAS 2023-11-26 09:52:03 +00:00
jorgepastorr 49c63921b8 fix webappUser create user with groups dont exist 2023-11-26 09:52:03 +00:00
jorgepastorr 9bc88493e1 fix problem with sftpuser onnSAslist and webalizer 2023-11-26 09:52:03 +00:00
jorgepastorr d4eec5dd08 delete fields password in lists
edited 2023/11/24 by pedro
2023-11-26 09:52:03 +00:00
jorgepastorr a6ef81ad8f add filter servers on accounts and mailboxes to send messages 2023-11-26 09:52:03 +00:00
jorgepastorr 2666b47213 hidden sftpuser in webalizer form 2023-11-26 09:52:03 +00:00
jorgepastorr 0a76f76e79 hidden user,password in servers without webappusers 2023-11-26 09:52:03 +00:00
jorgepastorr db3ec91fc7 delete local bookworm 2023-11-26 09:52:03 +00:00
jorgepastorr d7ca59bdfa websites complete fusion 2023-11-26 09:52:03 +00:00
jorgepastorr 037c8f14e6 wordpress complete 2023-11-26 09:52:03 +00:00
jorgepastorr d69a53ad66 webapp php complete 2023-11-26 09:52:03 +00:00
jorgepastorr 230b9f24ca webapps static complete 2023-11-26 09:52:03 +00:00
jorgepastorr 028fbffe98 webapp static form
edited 2023/11/24 by pedro
2023-11-26 09:52:03 +00:00
jorgepastorr d76f211d99 webappusers in new servers
edited 2023/11/24 by pedro
2023-11-26 09:52:03 +00:00
jorgepastorr 4b02ba15c5 mainusers only in newservers 2023-11-26 09:52:03 +00:00
jorgepastorr 11e654131e systemusers in new servers 2023-11-26 09:52:02 +00:00
jorgepastorr ab5ba7fe28 main system users in new servers 2023-11-26 09:52:02 +00:00
Jorge Pastor 53fa5a02eb inicio 2023/07/09
edited 2023/11/24 by pedro
2023-11-26 09:52:02 +00:00
Santiago L 03666d8ed0 Filter related addresses by account 2021-10-14 13:03:08 +02:00
Santiago L e88e27a56e Make MailboxViewSet writable: create & update 2021-10-07 14:14:21 +02:00
Santiago L 008f49100f Fix display_mailboxes format (mark HTML as safe) 2021-09-24 13:54:34 +02:00
Santiago L b0f77ad591 Merge branch 'master' into dev/api-writable 2021-07-13 13:25:00 +02:00
Santiago L b37d9cc515 Remove unneeded custom 'delete_selected'
`has_delete_permission` already avoids deleting main system users
2021-07-08 14:48:51 +02:00
Santiago L 1faab905d6 Remove duplicated 'delete_selected' action of TicketAdmin
Fixes admin.E130 error
2021-07-08 13:58:37 +02:00
Santiago L de26baf75a Refactor TransactionProcessAdmin.delete_selected override
Override `delete_queryset` instead of overriding `delete_selected`
action. Fixes admin.E130 error.
Related ticket https://github.com/django/django/pull/10603
2021-07-08 13:49:24 +02:00
Santiago L 867d9afe65 Make /aoi/addresses/ endpoint writable 2021-06-18 11:11:50 +02:00
Santiago L e1d71fa620 Add support to create Address via API 2021-06-08 13:37:00 +02:00
Santiago L 81c67778e5 Fix RelatedDomainSerializer model
Regression introduced by 7d975637d5
partially fixed on 48ef1f21e3
2021-06-08 12:58:36 +02:00
Santiago L 9a3b6dcbc3 Add 'exclude' attribute to TransactionSerializer
Creating a ModelSerializer without either the 'fields' attribute or the
'exclude' attribute has been deprecated since 3.3.0
2021-06-08 10:23:04 +02:00
Santiago L 28c03ac6c8 Handle HTML safe rendering on accounts, bills & payments
Drop `allow_tags` attribute which has been removed on Django 2.0
2021-05-24 12:36:49 +02:00
Santiago L 9953124a95 Replace Context by dict
Since Django 1.10 template objects returned by get_template() and
select_template() no longer accept a Context in their render() method.
2021-05-24 11:19:30 +02:00
Santiago L 06c226d302 Handle HTML safe rendering on webapps & miscellaneous
Drop `allow_tags` attribute which has been removed on Django 2.0
2021-05-21 11:17:06 +02:00
Santiago L 4f695c2e6e Handle HTML safe rendering on orchestration, resources & history
Drop `allow_tags` attribute which has been removed on Django 2.0
2021-05-21 10:47:27 +02:00
Santiago L e6495a967b Handle HTML safe rendering on issues, plans & saas
Drop `allow_tags` attribute which has been removed on Django 2.0
2021-05-21 10:07:59 +02:00
Santiago L a2927f7616 Add required param renderer to MarkDownWidget 2021-05-20 14:02:10 +02:00
Santiago L f13fea5030 Fix display format on accounts, databases...
domains, mailboxes & mailer

Drop `allow_tags` attribute which has been removed on Django 2.0
2021-05-20 13:58:16 +02:00
Santiago L f0683660ae Fix display format on bills, orders & services
Drop `allow_tags` attribute which has been removed on Django 2.0
2021-05-17 14:15:12 +02:00
Santiago L b24ddf7546 Handle empty ping response 2021-05-17 13:22:08 +02:00
Santiago L 3b4bb51925 Fix display format on SaaS & Sever admin list
mark_safe generated HTML
2021-05-17 13:20:18 +02:00
Santiago L a6c5aa32df Fix Mailbox creation.
Direct assignment to the reverse side of a many-to-many set is
prohibited. Use addresses.set() instead.
2021-05-17 12:54:16 +02:00
Santiago L 13b4ac5eee Add required param renderer to ReadOnlyPasswordHashWidget 2021-05-13 14:42:05 +02:00
Santiago L 8dc792b851 Fix render() of PaddingCheckboxSelectMultiple widget 2021-05-13 12:37:17 +02:00
Santiago L 7183174f4c Handle empty address on Server.clean() 2021-05-13 10:57:48 +02:00
Santiago L 48ef1f21e3 Navigate through FK field to related model
Fix regression introduced by 7d975637d5
when there is a misunderstanding while replacing deprecated rel.to
2021-05-12 14:38:17 +02:00
Santiago L aebbd424fc Fix admin list_display with HTML content 2021-05-12 14:16:28 +02:00