Wykres commitów

36 Commity (388889cca4fbe01922a45d793b45d57a299c88a7)

Autor SHA1 Wiadomość Data
Hartmut Holzgraefe 388889cca4 finally added myself to AUTHORS and (C) headers 2019-04-13 00:35:37 +02:00
Hartmut Holzgraefe 089f48dafd add country flags to frontend language selection menu 2018-12-23 13:28:34 +00:00
Hartmut Holzgraefe 928bb751d8 switch all glyphicons to font-awesome alternatives for bootstrap 4 2018-12-16 19:54:10 +00:00
Hartmut Holzgraefe 1b80e7476d re-enable donation block on index page, style improvements 2018-08-30 21:34:28 +00:00
Hartmut Holzgraefe 99e99eeffd make piwik tracking configurable 2018-08-30 21:04:03 +00:00
Hartmut Holzgraefe 2854d5de25 fix platform status styles 2018-08-30 21:01:02 +00:00
Hartmut Holzgraefe 4a24f60dd1 maintenance note made configurable 2018-08-30 19:26:15 +00:00
Hartmut Holzgraefe 08d44fb8df make contact information configurable 2018-08-30 18:50:12 +00:00
Hartmut Holzgraefe 0ce991f75a make PayPal donation id configurable, hide donation page if not set 2018-08-30 17:25:45 +00:00
Hartmut Holzgraefe a3e104ab7c support branding of the site, using a different brand name than "MapOSMatic"
(based on a patch by github user Nimn)
2018-08-30 08:25:30 +00:00
Hartmut Holzgraefe 07f0538721 allow for undefined frontpage RSS feed
(based on a patch by github user Nimn)
2018-08-30 08:02:29 +00:00
Hartmut Holzgraefe 62fe99edc5 Bootstrap version being used upgrade from v2.x to v3.x 2018-08-11 15:40:29 +00:00
Hartmut Holzgraefe bd7c84ec0d finally got language selection sorting right again 2018-03-25 21:15:39 +00:00
Hartmut Holzgraefe 97565af601 python3 porting modifications 2017-09-17 19:58:58 +00:00
Hartmut Holzgraefe 5239fc572b include extra waymarked trails database in status check 2017-04-05 19:15:01 +02:00
Hartmut Holzgraefe 1b81fca8cc reduce "old database" threshold to 30min now that we update every 15min 2016-11-15 09:35:59 +01:00
Hartmut Holzgraefe c642316ac3 we're currently only updating the database on this setup about once
per day, so the database status should stay green for 24h (1440min)
2016-08-23 01:07:45 +02:00
Hartmut Holzgraefe 063916250c made frontpage feed URL configurable 2016-05-07 16:17:17 +02:00
Hartmut Holzgraefe e9eff09cad use own github repository for rss feed 2016-04-03 02:03:25 +02:00
Maxime Petazzoni 9e9192611c Only close the DB cursor if necessary in context_processor
Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
2013-04-21 11:04:56 -07:00
Maxime Petazzoni 92606b6aec Don't display a random map on the home page
Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
2012-12-16 03:16:25 -08:00
Maxime Petazzoni 7cf0bcdc93 Complete website redesign
New website design based on Bootstrap. Complete revamp of the UI
interface and of the interface paradigms. Complete rewrite of the map
creation wizard, now simpler and with less steps.

Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
2012-12-16 02:59:58 -08:00
Maxime Petazzoni c80f63a282 Catch closed database connections in get_osm_database_last_update
Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
2012-12-10 09:46:00 -08:00
Maxime Petazzoni f3c8a7f7e5 Handle PostGIS connection errors
Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
2012-11-29 11:14:45 -08:00
Maxime Petazzoni eb5a262fcb Don't need to parse the date, it's already a datetime
Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
2012-11-29 09:58:40 -08:00
Maxime Petazzoni 1adebe9cfb Read the OSM database lag directly from the database
This allows us to know if the PostGIS database is up and gets us a lag
information that is not refreshed only every minute by a cronjob.

Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
2012-11-29 09:39:12 -08:00
Maxime Petazzoni 8720f361ef Cross-Django versions RSS feed compatibily
Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
2012-04-26 14:50:42 -07:00
Maxime Petazzoni 7b161d7712 Fix UTC offset in GIS database lag calculation
Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
2012-04-26 14:25:07 -07:00
Thomas Petazzoni a89c4cfa98 Read the GIS database lag from a local file
The GIS database lag information was directly read from the GIS
database for every web page rendered by the MapOSMatic web
server. This is very inefficient since this value changes very
slowly. Instead, read the value from a local file which gets updated
from time to time by a cronjob using a small shell script.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-04-18 22:19:44 +02:00
Thomas Petazzoni d3b2152561 Add small infrastructure to translate the Paypal stuff
We want the Paypal donation button to be translated, and the user to
be redirected to a page in his/her language when making a donation.

Unfortunately, Paypal does not seem to have translations for all the
languages we support, so we default to English when the language is
not available from Paypal.

This new mechanism requires translators to add a new entry in the
PAYPAL_LANGUAGES dictionary if Paypal provides a button and a site in
their language.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@enix.org>
2012-03-31 11:53:58 +02:00
Gael UTARD 071f3c1272 Disable piwik statistics in debug mode
Signed-off-by: Gael UTARD <gael.utard@kisis.fr>
2012-03-30 18:21:59 +02:00
Thomas Petazzoni 2c0ac29aa3 Show MapOSMatic GIS database lag with the official OSM database
This commit implements a new item on the right of the MapOSMatic
website, which gives users the current time delta between our GIS
database and the official OSM database.

In order to implement this, we created a small gisdb.py module which
factorizes the work of connecting to the GIS database, now used by
both the Nominatim code and our new code that fetches the last update
of the GIS database through the maposmatic_admin table.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@enix.org>
2012-03-25 22:13:21 +02:00
Gaël Utard 666daeb34a Simplify RequestContext management
(and fix typos)

Signed-off-by: Gaël Utard <gael.utard@laposte.net>
Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
2010-08-07 09:33:19 +02:00
Gaël Utard 27cf64b1ad Fix the slow RSS feed.
Remove the overhead of parsing blog entries when generating the rss
feed. This saves a lot of CPU.

Signed-off-by: Gaël Utard <gael.utard@laposte.net>
Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
2010-08-07 09:24:50 +02:00
Thomas Petazzoni ece978f547 Add a new right box with the latest blog entries
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-10-07 09:16:03 +02:00
Thomas Petazzoni cd043ef466 Add missing context_processors 2009-09-04 08:55:32 +02:00