Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "docker" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
# Enable version updates for Actions
- package-ecosystem: "github-actions"
# Look for `.github/workflows` in the `root` directory
directory: "/"
# Check for updates once a week
schedule:
interval: "weekly"
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ services:
- POSTGRES_DB=mailmandb
- POSTGRES_USER=mailman
- POSTGRES_PASSWORD=mailmanpass
image: postgres:9.6-alpine
image: postgres:11-alpine
volumes:
- /opt/mailman/database:/var/lib/postgresql/data
networks:
Expand All @@ -62,4 +62,4 @@ networks:
driver: default
config:
-
subnet: 172.19.199.0/24
subnet: 172.19.199.0/24
15 changes: 7 additions & 8 deletions postorius/mailman-web/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,18 @@
# You should have received a copy of the GNU General Public License along with
# Postorius. If not, see <http://www.gnu.org/licenses/>.


from django.conf.urls import include, url
from django.conf.urls import include
from django.contrib import admin
from django.urls import reverse_lazy
from django.urls import path, reverse_lazy
from django.views.generic import RedirectView

urlpatterns = [
url(r'^$', RedirectView.as_view(
path(r'^$', RedirectView.as_view(
url=reverse_lazy('list_index'),
permanent=True)),
url(r'^postorius/', include('postorius.urls')),
url(r'', include('django_mailman3.urls')),
url(r'^accounts/', include('allauth.urls')),
path(r'postorius/', include('postorius.urls')),
path(r'', include('django_mailman3.urls')),
path(r'accounts/', include('allauth.urls')),
# Django admin
url(r'^admin/', admin.site.urls),
path(r'^admin/', admin.site.urls),
]
5 changes: 3 additions & 2 deletions web/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ RUN --mount=type=cache,target=/root/.cache \
mysqlclient \
xapian-haystack \
django-auth-ldap \
python-memcached \
python-memcached \
tzdata \
diskcache \
django-utils-six \
&& python3 -m pip install -U 'Django<3.2' \
&& python3 -m pip install -U 'Django<4.3' \
&& python3 -m pip install -U \
git+https://gitlab.com/mailman/django-mailman3 \
&& apk del .build-deps \
Expand Down
17 changes: 8 additions & 9 deletions web/mailman-web/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,19 @@
# You should have received a copy of the GNU General Public License along with
# Postorius. If not, see <http://www.gnu.org/licenses/>.


from django.conf.urls import include, url
from django.conf.urls import include
from django.contrib import admin
from django.urls import reverse_lazy
from django.urls import path, reverse_lazy
from django.views.generic import RedirectView

urlpatterns = [
url(r'^$', RedirectView.as_view(
path(r'^$', RedirectView.as_view(
url=reverse_lazy('list_index'),
permanent=True)),
url(r'^postorius/', include('postorius.urls')),
url(r'^hyperkitty/', include('hyperkitty.urls')),
url(r'', include('django_mailman3.urls')),
url(r'^accounts/', include('allauth.urls')),
path(r'postorius/', include('postorius.urls')),
path(r'hyperkitty/', include('hyperkitty.urls')),
path(r'', include('django_mailman3.urls')),
path(r'accounts/', include('allauth.urls')),
# Django admin
url(r'^admin/', admin.site.urls),
path(r'^admin/', admin.site.urls),
]