Commit Graph

275 Commits

Author SHA1 Message Date
Marcus Scholz 01f7dad37c Translated Model fields - primarily for backend. 2020-10-11 21:56:14 +02:00
Marcus Scholz 2bfdf5c172 Translated place deletion question with blrocktrans in a more natural way. 2020-10-11 21:55:38 +02:00
Marcus Scholz 15f6a30cd6 Streamlined translations ... again :P 2020-10-11 21:27:27 +02:00
Marcus Scholz dafe7eee34 Deleted mishap. 2020-10-11 09:47:34 +02:00
Marcus Scholz 7943537276 Translated an additional bunch of messages. 2020-10-11 07:50:15 +02:00
Marcus Scholz 62c1c84bb2 Minor code styling issue. 2020-10-11 07:49:50 +02:00
Marcus Scholz df36fd8ed0 Fixed the fixes' translation ;-) 2020-10-11 07:15:33 +02:00
Marcus Scholz 8713ed587d Small indentation fix. 2020-10-11 07:13:16 +02:00
Marcus Scholz 7271ea2cd9 Merge branch 'feature/localization' into develop 2020-10-11 07:09:59 +02:00
Marcus Scholz dff2e67991 Ops. Forgot one file. 2020-10-11 07:05:17 +02:00
Marcus Scholz 65880d1472 Renamed migration file with typo. 2020-10-11 07:04:32 +02:00
Marcus Scholz 326e34a4b8 Fixed i18n to invalidate decimal geocoords. 2020-10-11 06:55:12 +02:00
Marcus Scholz 3a213c87b5 Added a German Urbex codec. 2020-10-11 06:44:06 +02:00
Marcus Scholz 1b197b2e12 Added query for German language to FlatView. 2020-10-11 06:15:40 +02:00
Marcus Scholz 092378b24a Rename localized flat pages to include langcode. 2020-10-11 06:14:55 +02:00
Marcus Scholz 561c70668d Merge remote-tracking branch 'origin/develop' into develop 2020-10-11 02:46:16 +02:00
Marcus Scholz cb15789b95 Several typos. 2020-10-11 02:26:58 +02:00
Marcus Scholz dd07cbd57d Translated photoalbum model fields. 2020-10-11 02:23:51 +02:00
Marcus Scholz 52f9638d74 Translated model fields. 2020-10-11 02:07:14 +02:00
Marcus Scholz e52c3f4d4b Translated voucher messages, added filename help_text. 2020-10-11 01:39:38 +02:00
Marcus Scholz bac61d5cdc Translated permission_denied_message. 2020-10-11 01:12:52 +02:00
Marcus Scholz 2d6ee4aef5 Translated place update button. 2020-10-11 00:37:43 +02:00
Marcus Scholz 475a255851 Translated Submit and Create buttons. 2020-10-11 00:26:10 +02:00
Marcus Scholz f95c7973d7 Translated home_unauth texts. 2020-10-11 00:13:33 +02:00
Marcus Scholz aad31c2fa7 Changed and translated "Made by" in footer. 2020-10-10 23:49:30 +02:00
Marcus Scholz 3fa6170f0c Use shorter trans tag instead of translate. 2020-10-10 23:46:26 +02:00
Marcus Scholz f73b264a2a Added blocktranslate tags to unauth_home. 2020-10-10 23:43:59 +02:00
Marcus Scholz e91e8c8894 Translated some footer text. 2020-10-10 23:40:58 +02:00
Marcus Scholz eea01cd569 Translated Delete action via variable. 2020-10-10 23:40:21 +02:00
reverend 4e366d94c9 Fixing Error on sign up 2020-10-06 22:53:35 +02:00
Marcus Scholz da60d81e90 Addes help_texts and translations. 2020-10-06 17:01:29 +02:00
Marcus Scholz 2e73cb92d4 Fixed typo. Added those translations. 2020-10-05 20:31:13 +02:00
reverend 773390b09f Moved files so only the app is packed 2020-10-04 23:23:02 +02:00
reverend ac0121d96e removed old config 2020-10-04 23:22:53 +02:00
reverend ab3ecae54b Voucher is_valid property 2020-10-04 22:12:44 +02:00
reverend ae915681ac Testing is_expired 2020-10-04 22:12:24 +02:00
reverend cfbe54a4e5 Making expireable a abstract model 2020-10-04 22:11:37 +02:00
Marcus Scholz a976b59732 Hotfix. 2020-10-04 21:58:23 +02:00
Marcus Scholz d6006b17d9 Fuzzy prevented translations from working. Fixed. 2020-10-04 21:56:57 +02:00
Marcus Scholz c911f7958a Translated pagination. 2020-10-04 21:50:19 +02:00
Marcus Scholz f592aba75d Enabled available translations in settings.py. Honors Browser's preference. 2020-10-04 21:19:05 +02:00
Marcus Scholz 190eb5eef7 Makemessages and last translations. 2020-10-04 21:02:05 +02:00
Marcus Scholz 979900ab07 updated .gitignore, minor fix. 2020-10-04 19:00:18 +02:00
reverend 76b514e1e6 #40 Hotfix Error when signing up 2020-10-04 15:42:06 +02:00
Marcus Scholz b758d53a63 Fixed early load of i18n. 2020-10-03 15:22:11 +02:00
reverend dabec5185f Merge branch 'feature/localization' of mowoe.com:reverend/lostplaces-backend into feature/localization 2020-10-01 23:11:27 +02:00
reverend c189183e72 More translations 2020-10-01 23:11:25 +02:00
Marcus Scholz 60ad323e7a Added translation tags. 2020-10-01 23:05:34 +02:00
reverend 2d2e356f1c Merge branch 'feature/localization' of mowoe.com:reverend/lostplaces-backend into feature/localization 2020-10-01 22:59:05 +02:00
reverend 710663b490 Loading tag 2020-10-01 22:58:06 +02:00
Marcus Scholz 24c2ac8347 Added translation tags. 2020-10-01 22:56:44 +02:00
reverend e0a0fa29d2 Generated message file 2020-10-01 22:10:48 +02:00
reverend 53817e9dc4 Loading Middleware 2020-10-01 22:10:38 +02:00
reverend 556931d2b1 Defining Strings to be translated 2020-10-01 22:10:31 +02:00
reverend a2004bd789 #24 Ordering of places in list 2020-09-29 21:41:36 +02:00
Marcus Scholz e32b3f6595 Merge branch 'develop' of mowoe.com:reverend/lostplaces-backend into develop 2020-09-29 21:28:53 +02:00
Marcus Scholz 12f60bcfdf Added can_modify_place_asset template tag. 2020-09-29 20:40:46 +02:00
reverend b3b8ee3104 Styling fixes 2020-09-29 20:40:41 +02:00
reverend 9613f553e9 #19 OSM-Map Styling 2020-09-29 20:21:27 +02:00
Marcus Scholz 702ebd9137 Implanted submit/cancel partial into templates. 2020-09-28 22:12:39 +02:00
Marcus Scholz aa3922da50 Added custom button text variable. 2020-09-28 22:10:07 +02:00
Marcus Scholz d6c609d107 Added submit/cancel partial. Cancel redirects to referror or home. 2020-09-28 21:54:09 +02:00
Marcus Scholz 61566714a3 Merge branch 'develop' of mowoe.com:reverend/lostplaces-backend into develop 2020-09-28 21:00:20 +02:00
Marcus Scholz cfe3d222e6 Added a few last tags to DB. 2020-09-28 20:59:10 +02:00
Marcus Scholz e0d6d81907 Adapted testdata doc. 2020-09-28 20:51:41 +02:00
Marcus Scholz 5e8e865a99 New testdata. Changed geo coords. 2020-09-28 20:48:51 +02:00
Marcus Scholz 3061540396 Fuck me hard, git. 2020-09-28 20:40:09 +02:00
Marcus Scholz bb119e8636 Fresh and clean initial migration. 2020-09-28 20:30:41 +02:00
Marcus Scholz 14a98deff3 delete testdata. 2020-09-28 20:09:17 +02:00
Marcus Scholz 4919c90ae8 Completely new and fresh initial migration. 2020-09-28 20:05:30 +02:00
Marcus Scholz 5c47587189 Pruned ALL THE SHIT. 2020-09-28 20:05:01 +02:00
Marcus Scholz 3223637471 dirty-save 2020-09-28 19:21:09 +02:00
reverend 389e3eac43 Typos 2020-09-27 23:58:25 +02:00
reverend 302e8bb994 More Documentation 2020-09-27 23:56:45 +02:00
Marcus Scholz 992f8a7b37 Moved Delete and Alter after datamigration. 2020-09-27 21:01:11 +02:00
Marcus Scholz c8c3852323 Added basic (empty) 3-way migration. 2020-09-27 20:34:39 +02:00
Marcus Scholz 8d9ab8b088 Add migrations back into repo - preparation for release. 2020-09-27 20:33:56 +02:00
reverend 45185b9236 Recent css 2020-09-27 17:13:15 +02:00
reverend 5f33ec5824 Deletion of place images 2020-09-26 16:08:56 +02:00
reverend e217d3254e Small Teaak 2020-09-26 16:08:47 +02:00
reverend 263416a401 Abstraction for PlaceImageCreation (multiple images) 2020-09-26 16:08:37 +02:00
reverend b4bd86ed44 View for submitting additionale place images 2020-09-26 09:48:06 +02:00
reverend 277cac323e CSS for adding and deleting images 2020-09-26 09:47:34 +02:00
reverend 5f304b91f3 Squashed commit of the following:
commit 0d62e72d72922a84e41c9f2cc21977b794784d1c
Merge: 79fee63 85f2a81
Author: reverend <reverend@reverend2048.de>
Date:   Tue Sep 22 21:55:18 2020 +0200

    Merge branch 'develop' into refactor/models

commit 79fee631d7ac28509067ecdd74078f1a2f6e0be2
Author: reverend <reverend@reverend2048.de>
Date:   Tue Sep 22 21:54:32 2020 +0200

    Updating references for related name

commit 8e07e79df2de2601f2e2eadfdd37eb7c719c51b0
Author: reverend <reverend@reverend2048.de>
Date:   Tue Sep 22 21:53:31 2020 +0200

    Generating of related names fix

commit 5fd804f37a805ae4707e13c3d941bdde3660afea
Merge: 8cc1d3e 3b526c9
Author: reverend <reverend@reverend2048.de>
Date:   Tue Sep 22 21:01:48 2020 +0200

    Merge branch 'develop' into refactor/models

commit 8cc1d3e690211dba6451e86569f00078b23e0621
Author: reverend <reverend@reverend2048.de>
Date:   Tue Sep 22 20:21:08 2020 +0200

    Tests

commit 7c0591e5397f892b1f6fb80725a693c21f90468a
Author: reverend <reverend@reverend2048.de>
Date:   Fri Sep 18 23:53:39 2020 +0200

    Testing PlaceAsset

commit 2e7b49ad1a15173565c81e7eb8bb3f35b9f622a6
Author: reverend <reverend@reverend2048.de>
Date:   Fri Sep 18 22:25:08 2020 +0200

    Restructuring models

commit eb7d03b08b326f9115e70d0fd9ed5d0fc229a362
Author: reverend <reverend@reverend2048.de>
Date:   Fri Sep 18 22:01:54 2020 +0200

    Abstract class Expireable

commit 2b51e741bb5734c5a578beeadef7819fe58b2223
Author: reverend <reverend@reverend2048.de>
Date:   Fri Sep 18 21:54:07 2020 +0200

    Abstract Model for PlaceAsset (i.e. Photoalbums)
2020-09-22 21:56:51 +02:00
Marcus Scholz 85f2a81ebb Merge branch 'develop' of mowoe.com:reverend/lostplaces-backend into develop 2020-09-22 20:49:00 +02:00
Marcus Scholz 8de23a3f3b Test if linked place matches. 2020-09-22 20:48:56 +02:00
reverend 3b526c9c6f Merge branch 'develop' of mowoe.com:reverend/lostplaces-backend into develop 2020-09-22 20:10:06 +02:00
reverend 516e7a04ad More documentation 2020-09-22 20:10:03 +02:00
Marcus Scholz 84f13ced80 Obsoleted file with info now in Readme.md 2020-09-22 19:43:32 +02:00
Marcus Scholz dcd92f7d2a Imported from frontend with changed file / fontnames. 2020-09-22 19:41:28 +02:00
Marcus Scholz 2a944eeefe Updated fonts. 2020-09-22 19:41:04 +02:00
Marcus Scholz dd58c76aba Fix #13 by allowing map zoom only on focus. 2020-09-22 18:13:42 +02:00
Marcus Scholz 106ef6dac8 Updated OpenLayers to 6.4.3 - incl. source hint. 2020-09-22 13:07:30 +02:00
Marcus Scholz 2bc99c78c2 Translated headings to English. 2020-09-22 12:51:08 +02:00
Marcus Scholz 0185c13a95 New testdata dump with 11 places. 2020-09-21 21:37:45 +02:00
Marcus Scholz 9632040ade Typos and missing docstrings. 2020-09-21 21:37:28 +02:00
Marcus Scholz 85a34b20f9 Added additional tests for album links. 2020-09-20 02:19:05 +02:00
Marcus Scholz f5853f7777 Added python docstrings. 2020-09-19 22:50:07 +02:00
Marcus Scholz eb7fe88d59 Renamed PlaceImageCreateForm to PlaceImageForm. 2020-09-18 23:50:25 +02:00
reverend 2a3ee3de8d #9 Using morge 404 2020-09-18 23:32:52 +02:00
Marcus Scholz 00ab65d648 Added working tests. 2020-09-18 23:02:59 +02:00
Marcus Scholz 79854f3fa1 Basic fist tests for PhotoAlbum model. 2020-09-18 22:39:18 +02:00
Marcus Scholz 618a152f23 Switched to timezone-aware now() function. 2020-09-18 22:04:19 +02:00
Marcus Scholz ce91a19068 Merge commit '17b531e181e691055797ec95a030c399f4dbcb8f' into develop 2020-09-18 21:26:55 +02:00
Marcus Scholz 17b531e181 Removed __str__ repr of Voucher and PlaceImage. 2020-09-18 21:26:05 +02:00
Marcus Scholz 222c97d63c Added voucher validity boolean icon display. 2020-09-18 21:19:31 +02:00
Marcus Scholz 6a1229a4ba Added valid column to VouchersAdmin. 2020-09-18 21:03:05 +02:00
Marcus Scholz 2bff4db1d7 Added Voucher expiration check in form using model property. 2020-09-18 21:02:45 +02:00
Marcus Scholz a3b123a207 Added valid property to VoucherModel. 2020-09-18 21:02:07 +02:00
Marcus Scholz e698f3b224 Added VouchersAdmin and PlaceImagesAdmin. 2020-09-18 20:40:58 +02:00
Marcus Scholz c66baaa765 Simplified PlaceImage __str__ repr. 2020-09-18 20:37:54 +02:00
reverend 815be3126e Issue #16 Tag Suggestion 2020-09-18 20:35:01 +02:00
Marcus Scholz 715e953182 Changed __str__ repr of Vouchers. 2020-09-18 20:30:25 +02:00
Marcus Scholz 86915f6ec5 Added list display of Places and PhotoAlbums admin pages. 2020-09-18 20:21:30 +02:00
Marcus Scholz 30b42de86f Delete PlaceImage files including thumbnails on deletion. 2020-09-18 13:40:54 +02:00
Marcus Scholz 21217b067f Add comments and relocate thumbnails, set quality. 2020-09-18 10:47:41 +02:00
Marcus Scholz 9b160d2df0 Sharpen thumbnails. 2020-09-18 10:47:16 +02:00
Marcus Scholz 74a9ee4f39 Resize original images, name files with placename in filename, sharpen. 2020-09-18 10:47:00 +02:00
Marcus Scholz b0e775d299 Removed session data from testdata dump. 2020-09-17 22:21:25 +02:00
Marcus Scholz d6b82f1556 Fixed missing "latest locations" on Home when logged in. 2020-09-17 22:02:37 +02:00
Marcus Scholz 3f642daf89 Added first sample testdata + doc doc hints. 2020-09-17 21:27:19 +02:00
Marcus Scholz 858cfe1d3c minor settings 2020-09-17 17:06:44 +02:00
Marcus Scholz 943d647a47 Added basic setup.cfg with source dir for coverage. 2020-09-17 16:14:47 +02:00
reverend d96cf9470a Developer Documentatino for models 2020-09-15 21:07:53 +02:00
reverend 547179b0ca Squashed commit of the following:
commit 97b044cafb7f17f23b3b1beedcf70af209a60ddc
Author: reverend <reverend@reverend2048.de>
Date:   Mon Sep 14 17:25:40 2020 +0200

    Updating gitignore

commit 4891d80486e1f95db8ae66385c7c97426a3ca1a4
Author: reverend <reverend@reverend2048.de>
Date:   Mon Sep 14 17:25:20 2020 +0200

    Updating Readme

commit f05c43abbdc7eb30896ad6d10fe80fd6483338d9
Author: reverend <reverend@reverend2048.de>
Date:   Mon Sep 14 17:23:30 2020 +0200

    Renaming Module

commit fd5ad2ee9f8cbacd565da45b257928192ffc651c
Author: reverend <reverend@reverend2048.de>
Date:   Mon Sep 14 17:23:16 2020 +0200

    Renaming module references

commit 828a0dd5dd73723b84b77908497903ed26b6966b
Author: reverend <reverend@reverend2048.de>
Date:   Mon Sep 14 17:21:20 2020 +0200

    Renaming Project
2020-09-14 17:26:17 +02:00