Commit Graph

502 Commits

Author SHA1 Message Date
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
Santiago L 5389f425ce mark_safe display_websites & display_addresses 2021-05-12 13:55:47 +02:00
Santiago L 58be94bde2 Upgrade orchestra middlewares
Refactor to changes introduced on Django 1.10
https://docs.djangoproject.com/en/2.1/topics/http/middleware/#upgrading-pre-django-1-10-style-middleware
2021-05-11 14:00:41 +02:00
Santiago L f7627926cb Replace detail_route with action decorator
DRF 3.10.0 deprecates the detail_route decorator in favor of action
2021-05-06 13:08:21 +02:00
Santiago L d5fce3b6e2 Replace string_concat() with format_lazy()
On Django 1.11 django.utils.translation.string_concat() is
deprecated in favor of django.utils.text.format_lazy()
and it has been removed on Django 2.1
2021-05-06 12:07:17 +02:00
Santiago L 0338b927cf query.order_by is a tuple, update value to compare 2021-04-22 14:51:03 +02:00
Santiago L 97f1c7ef2b Replace field.rel.to with field.remote_field.model
Field.rel and Field.remote_field.to are removed in Django 2.x
2021-04-22 14:44:47 +02:00
Santiago L 7fa7106d72 Update migrations to include mandatory on_delete
Django 2.0
2021-04-22 14:18:01 +02:00
Santiago L a8b17da992 Squash migrations 2021-04-22 13:29:09 +02:00
Santiago L c689a6e44c Fix Message.author on_cascade because cannot be null. 2021-04-22 10:52:33 +02:00
Santiago L 7d975637d5 Replace ForeignKey.field.rel.to --> field.model
rel.to dropped on Django 2.0
2021-04-22 10:44:09 +02:00
Santiago L d863598d81 Define on_delete argument for ForeignKey and OneToOneField
Required since Django 2.0
2021-04-22 10:28:00 +02:00
Santiago L eadc06d4c5 django.core.urlresolvers moved to django.urls
Django 2.0
2021-04-21 14:27:18 +02:00
Santiago L 2b06652a5b Handle edge cases of last day of the month of billing period. 2021-03-31 12:11:53 +02:00
Santiago L dc722ec17a Set env variable to skip REST_API tests. 2021-03-31 10:39:47 +02:00
Cayo Puigdefabregas fa8a895299 fixing test traffic monitors is a list 2021-03-30 15:21:50 +02:00
Cayo Puigdefabregas 091120d3c2 fixing test_traffic get_total 2021-03-30 15:21:23 +02:00
Cayo Puigdefabregas c952d782cd fixing mailbox test 2021-03-30 15:21:00 +02:00
Cayo Puigdefabregas 226327cacf fixing job test 2021-03-30 15:20:37 +02:00
Cayo Puigdefabregas 6f043cd272 fixing ftp test 2021-03-30 15:20:25 +02:00
Cayo Puigdefabregas 0633df114e fixing DomainBillingTest 2021-03-30 15:19:39 +02:00
Cayo Puigdefabregas a53b71bab1 fixed choices 2021-03-30 15:19:19 +02:00
Santiago L acac7727c2 Fix services tests 2021-03-30 14:27:21 +02:00
Cayo Puigdefabregas 48ef6d63bc Fixed bug in python backend 2021-03-30 14:25:10 +02:00
Santiago L 08a76a8de4 Ignore Account.is_staff kwarg (auth.AbstractBaseUser) 2021-03-30 13:56:04 +02:00
Santiago L 14fbd98e33 Refactor PHP tests dropping legacy controller (backend) 2021-03-30 13:35:00 +02:00
Santiago L 58395147c9 Replace PasswdVirtualUserBackend with RoundcubeIdentityController 2021-03-30 13:13:26 +02:00
Santiago L c505f9a3c6 Replace SystemUserBackend with UNIXUserController 2021-03-30 13:11:41 +02:00
Santiago L f4c0a7413c Generate missing migrations. 2021-03-30 12:52:12 +02:00
Santiago L 9d2d0befc4 Rename `async`--> `run_async`
On Python3.5 async becames a reserved keyword.
2021-03-30 12:51:12 +02:00
Santiago L e6e434f525
Merge pull request #2 from ribaguifi/pangea-production-src
Pangea production source
2021-01-13 16:43:49 +01:00
Santiago L 43d8c9471b Latest Pangea source code deployed to production. 2021-01-13 16:41:36 +01:00
Marc Aymerich ea9c398de4 Disabled database hostname validator to allow for % host 2017-07-07 09:30:35 +00:00
Marc Aymerich 6fadf0c631 PHP support for sockets (vs TCP) improved 2017-07-05 17:52:37 +00:00
Marc Aymerich a1f73d883a Added support for multiple webservers 2017-07-05 13:55:13 +00:00
Marc Aymerich Gubern 49c84f13a8 Fixed createsuperuser init command 2017-06-16 15:33:41 +02:00
Marc Aymerich 0c1b4c7f4a Added nextcloud support 2017-06-09 08:28:44 +00:00
Marc Aymerich 25fbc6a088 switched container engine to lxc 2017-06-09 08:26:40 +00:00
Marc Aymerich 35c7265bff Fixed send email template 2017-04-03 17:06:06 +00:00
root b9ba692a42 Added support for disabling ssl verification on gitlab backend 2017-03-02 18:46:03 +00:00
root 55737cf247 Added missing import 2017-01-12 21:41:25 +00:00
Marc Aymerich f6125f6bbb Fixed rechare computation of prepaid orders with metric 2016-11-29 21:11:24 +00:00
root 9ff6491e4f Use update wrapper on admin_field decorator 2016-11-21 19:35:17 +00:00
Marc Aymerich e033fe3865 Rename _.meta.virtual_fields to privat_fields 2016-11-15 09:05:16 +00:00
Marc Aymerich 1c870de0f6 Rename openvztraffic monitor to proxmoxopenvztraffic 2016-11-14 09:24:41 +00:00
Marc Aymerich e339e0fb56 Make sure miscellaneous identifiers are all lowercase 2016-10-28 10:31:11 +00:00
Marc Aymerich b179b5f2d3 Updated cycles template tag for dj 1.10.x compatibility 2016-10-25 09:50:50 +00:00
root a737ed68e7 fixed missing colon 2016-10-25 09:34:33 +00:00
Marc Aymerich 5786cff38c Upgade to dj 1.10 2016-10-22 07:23:45 +00:00
Marc Aymerich 47cf15a000 Upgrade to django 1.10.x: Replace deprecated model._meta methods 2016-10-11 10:21:48 +00:00
Marc Aymerich ec53d357f6 Upgraded to django 1.10.x 2016-10-11 12:01:56 +02:00
Marc Aymerich c10e8dd793 Improved wordpressmu backend resiliance 2016-10-11 09:12:25 +00:00
Marc Aymerich 0b30e0e9dd Improved owncloud quota monitor backend resiliance to connection errors 2016-10-03 09:04:56 +00:00
Marc Aymerich 5a8dfba893 Fixed delete related services from account, don't display unrelated objects that aren't services 2016-10-03 08:59:47 +00:00
Marc Aymerich 020ba1c7c4 Fixed domain record form validation with SRV records 2016-09-05 12:42:46 +00:00
Marc Aymerich dd9621cc63 Improved domain validation 2016-09-02 14:50:43 +00:00
Marc Aymerich 53541b16a1 Check deletion in directives formset cross-validation with contents for unique locations 2016-07-21 11:28:43 +00:00
Marc Aymerich aa5935ba34 Added orchestration logging 2016-07-19 22:45:04 +00:00
Marc Aymerich df99f8d745 Added advance orchestration functionality 2016-07-15 12:44:38 +00:00
Marc Aymerich 6ca38f092b Update 2016-07-15 08:41:38 +00:00
Marc Aymerich 43b6fe1719 Fix transaction proccess rejection 2016-06-30 09:46:43 +00:00
Marc Aymerich d96afe41fa Random fixes 2016-06-17 10:00:04 +00:00
Marc Aymerich 0e850d6e2d Added SaaS readme file 2016-05-27 10:29:00 +00:00
Marc Aymerich e092597ba5 Added SaaS readme file 2016-05-27 10:25:39 +00:00
Marc Aymerich cf0ed9d056 Added SaaS readme file 2016-05-27 10:23:06 +00:00
Marc Aymerich 59cadbcd7e Added SaaS readme file 2016-05-27 10:22:28 +00:00
Marc Aymerich 414d80c22a Added SaaS readme file 2016-05-27 10:20:32 +00:00
Marc Aymerich 3a449897f7 Added SaaS readme file 2016-05-27 10:19:37 +00:00
Marc Aymerich edd4a1163c Added SaaS readme file 2016-05-27 10:13:23 +00:00
Marc Aymerich f4ab4c0f88 Added SaaS readme file 2016-05-27 10:06:55 +00:00
Marc Aymerich dc5c64f186 Added SaaS readme file 2016-05-27 10:05:32 +00:00
Marc Aymerich 00ad3cfe98 Added SaaS readme file 2016-05-27 10:01:01 +00:00
Marc Aymerich 86baf749ac Added SaaS readme file 2016-05-27 09:59:19 +00:00
Marc Aymerich 97355ccda0 Added SaaS readme file 2016-05-27 09:54:46 +00:00
Marc Aymerich 76c8610d30 Random fixes 2016-05-26 08:15:34 +00:00
Marc Aymerich 1265881fbf Random fixes 2016-05-20 08:29:25 +00:00
Marc Aymerich 2490ff83c8 Random fixes 2016-05-18 14:08:12 +00:00
Marc Aymerich a0dbf96c8a Added warning message when changing account type and detailListFilter for webapps 2016-05-13 10:07:04 +00:00
Marc Aymerich 8a44b99377 Added forwards on mailboxes.display_addresses 2016-05-13 08:42:58 +00:00
Marc Aymerich 3e1d9f7d22 Added support for raw hash password edditing 2016-05-11 12:56:10 +00:00
Marc Aymerich e804a1d102 Added support for reissue rejected transactions 2016-05-09 12:02:10 +00:00
Marc Aymerich 415ddc2315 Fixed bugs on miscellaneous admin UI 2016-05-07 20:09:05 +00:00
Marc Aymerich fed13217dc Improved misc admin interface 2016-05-07 10:32:51 +00:00
Marc Aymerich 202d1fd632 Impreved admin cross-reference between mailboxes and address 2016-05-05 11:58:35 +00:00
Marc Aymerich 51ac729ce1 Show forwards on mailboxes change view 2016-05-04 13:00:03 +00:00
Marc Aymerich 5a62b9be85 DJ1.9 upgrade: Changes icons from gif to svg 2016-05-03 12:14:59 +00:00
Marc Aymerich bee56d833d Added missing transactions 2016-04-30 15:21:19 +00:00