]> git.ipfire.org Git - ipfire.org.git/blobdiff - Makefile.am
analytics: Add page about docs analytics
[ipfire.org.git] / Makefile.am
index 8b2766322302637f425aaad6b2517e3850f268a2..2df8b3a0598b31e9f5785a77d0df39ef419624a0 100644 (file)
@@ -49,10 +49,12 @@ CLEANFILES += \
 backend_PYTHON = \
        src/backend/__init__.py \
        src/backend/accounts.py \
+       src/backend/analytics.py \
        src/backend/asterisk.py \
        src/backend/base.py \
        src/backend/blog.py \
        src/backend/bugzilla.py \
+       src/backend/cache.py \
        src/backend/campaigns.py \
        src/backend/countries.py \
        src/backend/database.py \
@@ -61,7 +63,7 @@ backend_PYTHON = \
        src/backend/httpclient.py \
        src/backend/hwdata.py \
        src/backend/iuse.py \
-       src/backend/memcached.py \
+       src/backend/lists.py \
        src/backend/messages.py \
        src/backend/mirrors.py \
        src/backend/misc.py \
@@ -82,6 +84,7 @@ backenddir = $(pythondir)/ipfire
 
 web_PYTHON = \
        src/web/__init__.py \
+       src/web/analytics.py \
        src/web/auth.py \
        src/web/base.py \
        src/web/blog.py \
@@ -92,9 +95,9 @@ web_PYTHON = \
        src/web/fireinfo.py \
        src/web/handlers.py \
        src/web/iuse.py \
+       src/web/lists.py \
        src/web/location.py \
        src/web/nopaste.py \
-       src/web/people.py \
        src/web/ui_modules.py \
        src/web/users.py \
        src/web/voip.py
@@ -112,29 +115,40 @@ templates_DATA = \
 
 templatesdir = $(datadir)/templates
 
+templates_analytics_DATA = \
+       src/templates/analytics/docs.html \
+       src/templates/analytics/index.html
+
+templates_analyticsdir = $(templatesdir)/analytics
+
+templates_analytics_modules_DATA = \
+       src/templates/analytics/modules/summary.html
+
+templates_analytics_modulesdir = $(templates_analyticsdir)/modules
+
 templates_auth_DATA = \
        src/templates/auth/activate.html \
        src/templates/auth/activated.html \
+       src/templates/auth/join.html \
+       src/templates/auth/join-success.html \
        src/templates/auth/login.html \
        src/templates/auth/password-reset.html \
        src/templates/auth/password-reset-initiation.html \
-       src/templates/auth/password-reset-successful.html \
-       src/templates/auth/register.html \
-       src/templates/auth/register-success.html
+       src/templates/auth/password-reset-successful.html
 
 templates_authdir = $(templatesdir)/auth
 
 templates_auth_messages_DATA = \
        src/templates/auth/messages/donation-reminder.html \
        src/templates/auth/messages/donation-reminder.txt \
+       src/templates/auth/messages/join.html \
+       src/templates/auth/messages/join.txt \
        src/templates/auth/messages/password-reset.html \
        src/templates/auth/messages/password-reset.txt \
        src/templates/auth/messages/profile-setup.html \
        src/templates/auth/messages/profile-setup.txt \
        src/templates/auth/messages/profile-setup-2.html \
-       src/templates/auth/messages/profile-setup-2.txt \
-       src/templates/auth/messages/register.html \
-       src/templates/auth/messages/register.txt
+       src/templates/auth/messages/profile-setup-2.txt
 
 templates_auth_messagesdir = $(templates_authdir)/messages
 
@@ -145,14 +159,13 @@ templates_auth_modules_DATA = \
 templates_auth_modulesdir = $(templates_authdir)/modules
 
 templates_blog_DATA = \
-       src/templates/blog/compose.html \
        src/templates/blog/delete.html \
        src/templates/blog/drafts.html \
        src/templates/blog/feed.xml \
        src/templates/blog/index.html \
        src/templates/blog/post.html \
        src/templates/blog/publish.html \
-       src/templates/blog/tag.html \
+       src/templates/blog/write.html \
        src/templates/blog/year.html
 
 templates_blogdir = $(templatesdir)/blog
@@ -165,8 +178,7 @@ templates_blog_messagesdir = $(templates_blogdir)/messages
 
 templates_blog_modules_DATA = \
        src/templates/blog/modules/history-navigation.html \
-       src/templates/blog/modules/list.html \
-       src/templates/blog/modules/post.html
+       src/templates/blog/modules/list.html
 
 templates_blog_modulesdir = $(templates_blogdir)/modules
 
@@ -223,6 +235,7 @@ templates_docs_modules_DATA = \
 templates_docs_modulesdir = $(templates_docsdir)/modules
 
 templates_downloads_DATA = \
+       src/templates/downloads/cloud.html \
        src/templates/downloads/mirrors.html \
        src/templates/downloads/release.html \
        src/templates/downloads/thank-you.html
@@ -250,7 +263,6 @@ templates_fireinfo_modulesdir = $(templates_fireinfodir)/modules
 
 templates_location_DATA = \
        src/templates/location/base.html \
-       src/templates/location/blacklists.html \
        src/templates/location/download.html \
        src/templates/location/how-to-use.html \
        src/templates/location/index.html \
@@ -258,15 +270,21 @@ templates_location_DATA = \
 
 templates_locationdir = $(templatesdir)/location
 
+templates_lists_DATA = \
+       src/templates/lists/index.html
+
+templates_listsdir = $(templatesdir)/lists
+
 templates_messages_DATA = \
        src/templates/messages/base.html \
        src/templates/messages/base-promo.html \
+       src/templates/messages/fonts.css \
        src/templates/messages/main.css
 
 templates_messagesdir = $(templatesdir)/messages
 
 templates_modules_DATA = \
-       src/templates/modules/christmas-banner.html \
+       src/templates/modules/ipfire-logo.html \
        src/templates/modules/map.html \
        src/templates/modules/progress-bar.html
 
@@ -292,14 +310,6 @@ templates_nopaste_modules_DATA = \
 
 templates_nopaste_modulesdir = $(templates_nopastedir)/modules
 
-templates_people_DATA = \
-       src/templates/people/index.html \
-       src/templates/people/subscribed.html \
-       src/templates/people/unsubscribe.html \
-       src/templates/people/unsubscribed.html
-
-templates_peopledir = $(templatesdir)/people
-
 templates_people_messages_DATA = \
        src/templates/people/messages/new-account.txt
 
@@ -308,7 +318,8 @@ templates_people_messagesdir = $(templates_peopledir)/messages
 templates_static_DATA = \
        src/templates/static/about.html \
        src/templates/static/legal.html \
-       src/templates/static/help.html
+       src/templates/static/help.html \
+       src/templates/static/sitemap.html
 
 templates_staticdir = $(templatesdir)/static
 
@@ -318,7 +329,11 @@ templates_users_DATA = \
        src/templates/users/edit.html \
        src/templates/users/index.html \
        src/templates/users/passwd.html \
-       src/templates/users/show.html
+       src/templates/users/show.html \
+       src/templates/users/subscribe.html \
+       src/templates/users/subscribed.html \
+       src/templates/users/unsubscribe.html \
+       src/templates/users/unsubscribed.html
 
 templates_usersdir = $(templatesdir)/users
 
@@ -363,9 +378,11 @@ SASS_FILES = \
 
 EXTRA_DIST += \
        src/sass/listing.sass \
+       src/templates/messages/fonts.sass \
        src/templates/messages/main.sass
 
 CLEANFILES += \
+       src/templates/messages/fonts.css \
        src/templates/messages/main.css
 
 static_DATA = \
@@ -968,6 +985,28 @@ static_img_DATA = \
 
 static_imgdir = $(staticdir)/img
 
+# From https://www.pexels.com/photo/123-let-s-go-imaginary-text-704767/
+
+dist_static_img_auth_DATA = \
+       src/static/img/auth/join.jpg
+
+static_img_auth_DATA = \
+       src/static/img/auth/join@600.jpg
+
+CLEANFILES += \
+       src/static/img/auth/join@600.jpg
+
+static_img_authdir = $(static_imgdir)/auth
+
+static_img_downloadsdir = $(static_imgdir)/downloads
+
+dist_static_img_downloads_cloud_DATA = \
+       src/static/img/downloads/cloud/aws.svg \
+       src/static/img/downloads/cloud/exoscale.svg \
+       src/static/img/downloads/cloud/hetzner.svg
+
+static_img_downloads_clouddir = $(static_img_downloadsdir)/cloud
+
 static_images_tux_DATA = \
        src/static/img/tux/ipfire_tux_16x16.png \
        src/static/img/tux/ipfire_tux_20x20.png \
@@ -1091,6 +1130,11 @@ src/static/img/apple-touch-icon-%-precomposed.png: src/static/img/ipfire-tux.png
                -extent $(patsubst src/static/img/apple-touch-icon-%-precomposed.png,%,$@)x$(patsubst src/static/img/apple-touch-icon-%-precomposed.png,%,$@) \
                $< $@
 
+# Resizes images for being used in messages which are 600px wide
+%@600.jpg: %.jpg
+       $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
+       $(CONVERT) -units PixelsPerInch $< -resize 600x -strip -quality 85 $@
+
 # Video Stuff
 
 FFMPEG += \