django-cms-qe issueshttps://gitlab.nic.cz/websites/django-cms-qe/-/issues2023-08-29T12:50:16+02:00https://gitlab.nic.cz/websites/django-cms-qe/-/issues/113Add template tags into cms_qe2023-08-29T12:50:16+02:00Zdeněk Böhmzdenek.bohm@nic.czAdd template tags into cms_qeAdd template tags `split_by_delimiter` and `get_sequence_item`. Add tests for templatestags.Add template tags `split_by_delimiter` and `get_sequence_item`. Add tests for templatestags.Zdeněk Böhmzdenek.bohm@nic.czZdeněk Böhmzdenek.bohm@nic.czhttps://gitlab.nic.cz/websites/django-cms-qe/-/issues/112Replace MemcachedCache by PyMemcacheCache2023-08-29T12:47:28+02:00Zdeněk Böhmzdenek.bohm@nic.czReplace MemcachedCache by PyMemcacheCacheReplace MemcachedCache by PyMemcacheCache in cms_qe/settings/base/cache.py.
Add `DJANGOCMS_FRONTEND_TAG_CHOICES` and `DJANGOCMS_FRONTEND_GRID_CONTAINERS`.Replace MemcachedCache by PyMemcacheCache in cms_qe/settings/base/cache.py.
Add `DJANGOCMS_FRONTEND_TAG_CHOICES` and `DJANGOCMS_FRONTEND_GRID_CONTAINERS`.Zdeněk Böhmzdenek.bohm@nic.czZdeněk Böhmzdenek.bohm@nic.czhttps://gitlab.nic.cz/websites/django-cms-qe/-/issues/111Update version CMS2023-08-01T16:33:33+02:00Zdeněk Böhmzdenek.bohm@nic.czUpdate version CMSSubissue of #103.
Update version to `django-cms>=3.11`.
Add Whoosh backend with CharsetFilter #110.Subissue of #103.
Update version to `django-cms>=3.11`.
Add Whoosh backend with CharsetFilter #110.Zdeněk Böhmzdenek.bohm@nic.czZdeněk Böhmzdenek.bohm@nic.czhttps://gitlab.nic.cz/websites/django-cms-qe/-/issues/110Add Whoosh backend with CharsetFilter2023-08-01T14:02:11+02:00Zdeněk Böhmzdenek.bohm@nic.czAdd Whoosh backend with CharsetFilterSubissue of #103.
Add Whoosh backend with CharsetFilter(accent_map) for support query in ascii. Add HaystackHighlighter.Subissue of #103.
Add Whoosh backend with CharsetFilter(accent_map) for support query in ascii. Add HaystackHighlighter.Zdeněk Böhmzdenek.bohm@nic.czZdeněk Böhmzdenek.bohm@nic.czhttps://gitlab.nic.cz/websites/django-cms-qe/-/issues/109Fix link to youtu.be2023-06-13T16:03:37+02:00Zdeněk Böhmzdenek.bohm@nic.czFix link to youtu.beSubissue of #103.
Fix link to youtu.be.Subissue of #103.
Fix link to youtu.be.Zdeněk Böhmzdenek.bohm@nic.czZdeněk Böhmzdenek.bohm@nic.czhttps://gitlab.nic.cz/websites/django-cms-qe/-/issues/108Add support of .well-known/security.txt.2023-06-13T15:45:38+02:00Zdeněk Böhmzdenek.bohm@nic.czAdd support of .well-known/security.txt.Subissue of #103.
Add support of .well-known/security.txt.
The link to the `javascript-catalog` will be individual for each language version. Because otherwise the `js` translations won't work.Subissue of #103.
Add support of .well-known/security.txt.
The link to the `javascript-catalog` will be individual for each language version. Because otherwise the `js` translations won't work.Zdeněk Böhmzdenek.bohm@nic.czZdeněk Böhmzdenek.bohm@nic.czhttps://gitlab.nic.cz/websites/django-cms-qe/-/issues/107Fix status code of error pages when they are cached2023-06-13T15:06:15+02:00Zdeněk Böhmzdenek.bohm@nic.czFix status code of error pages when they are cachedSubissue of #103.
Fix status code of error pages when they are cached.Subissue of #103.
Fix status code of error pages when they are cached.Zdeněk Böhmzdenek.bohm@nic.czZdeněk Böhmzdenek.bohm@nic.czhttps://gitlab.nic.cz/websites/django-cms-qe/-/issues/106Upgrade versions to the latest Django and DjangoCMS2023-06-13T15:04:58+02:00Zdeněk Böhmzdenek.bohm@nic.czUpgrade versions to the latest Django and DjangoCMSSubissue of #103.
Upgrade versions to the latest Django and DjangoCMS (defined in djangocms-frontend).
- Upgrade code for Django 4.2.2: gettext, force_str, path, ROOT_URLCONF.
- Add `DEFAULT_AUTO_FIELD`.
- Remove Aldryn forms, news.
- ...Subissue of #103.
Upgrade versions to the latest Django and DjangoCMS (defined in djangocms-frontend).
- Upgrade code for Django 4.2.2: gettext, force_str, path, ROOT_URLCONF.
- Add `DEFAULT_AUTO_FIELD`.
- Remove Aldryn forms, news.
- Use djangocms-frontend instead of djangocms-bootstrap4.
- Fix `csp_content_src`.
- Remove obsolete `AXES_`... from settings.
- Remove model `Group` from `cms_qe_auth` due to Django checkers.
- Add migrations cms_qe_auth, cms_qe_menu, cms_qe_newsletter, cms_qe_table, cms_qe_video.
- Skip test_render `BreadcrumbPlugin` for ValueError: invalid literal for int() with base 10: 'menu/breadcrumb.html'.
- Use Django JSONField instead of jsonfield.
- Enable `cms_qe_auth` registration by `CMS_QE_AUTH_ENABLED` in settings.Zdeněk Böhmzdenek.bohm@nic.czZdeněk Böhmzdenek.bohm@nic.czhttps://gitlab.nic.cz/websites/django-cms-qe/-/issues/105End support for python version < 3.9.2023-06-07T15:08:11+02:00Zdeněk Böhmzdenek.bohm@nic.czEnd support for python version < 3.9.Subissue of #103.
* Add flake8, isort.
* Set python_requires to >=3.9 in setup.Subissue of #103.
* Add flake8, isort.
* Set python_requires to >=3.9 in setup.Zdeněk Böhmzdenek.bohm@nic.czZdeněk Böhmzdenek.bohm@nic.czhttps://gitlab.nic.cz/websites/django-cms-qe/-/issues/104Fix lint, mypy, tests; Enable explicit python version2023-06-08T08:40:45+02:00Zdeněk Böhmzdenek.bohm@nic.czFix lint, mypy, tests; Enable explicit python versionSubissue of #103.
- Enable run virtualenv in explicit folder name and explicit python version.
- Fix lint errors.
- Fix mypy errors.
- Fix tests. Command `make test` skips selenium tests.
- Use image: `ubuntu:22.04`Subissue of #103.
- Enable run virtualenv in explicit folder name and explicit python version.
- Fix lint errors.
- Fix mypy errors.
- Fix tests. Command `make test` skips selenium tests.
- Use image: `ubuntu:22.04`Zdeněk Böhmzdenek.bohm@nic.czZdeněk Böhmzdenek.bohm@nic.czhttps://gitlab.nic.cz/websites/django-cms-qe/-/issues/103Update cms version2023-08-29T13:01:54+02:00Zdeněk Böhmzdenek.bohm@nic.czUpdate cms versionImplement task https://gitlab.office.nic.cz/cz.nic/techdep/techdep/-/issues/276.
Update `cms` version to current `3.11.3`.
Subissues:
- #104 - Fix lint, mypy, tests; Enable explicit python version.
- #105 - End support for python vers...Implement task https://gitlab.office.nic.cz/cz.nic/techdep/techdep/-/issues/276.
Update `cms` version to current `3.11.3`.
Subissues:
- #104 - Fix lint, mypy, tests; Enable explicit python version.
- #105 - End support for python version < 3.9.
- #106 - Upgrade versions to the latest Django and DjangoCMS.
- #107 - Fix status code of error pages when they are cached.
- #108 - Add support of .well-known/security.txt.
- #109 - Fix link to youtu.be.
- #111 - Update version CMS
For old version:
- #110 - Add Whoosh backend with CharsetFilter.Zdeněk Böhmzdenek.bohm@nic.czZdeněk Böhmzdenek.bohm@nic.czhttps://gitlab.nic.cz/websites/django-cms-qe/-/issues/102Implement character folding in search engine and extended query2023-02-03T18:48:14+01:00Zdeněk Böhmzdenek.bohm@nic.czImplement character folding in search engine and extended queryImplement character folding into search engine. Extend search query with hidden wildcards.
* AnalyzerWhooshEngine - Engine with new implementation.
* AnalyzerWhooshSearchBackend - Analyzer for index content with [character-folding](ht...Implement character folding into search engine. Extend search query with hidden wildcards.
* AnalyzerWhooshEngine - Engine with new implementation.
* AnalyzerWhooshSearchBackend - Analyzer for index content with [character-folding](https://whoosh.readthedocs.io/en/latest/stemming.html#character-folding).
* HaystackHighlighter - higlight searched text.
* PostProcessQuery - special query for extending search.
* HaystackSearchQuerySet - Queryset with PostProcessQuery.
* HaystackSearchForm - form with special search queryset.
Related issues:
* [Techdep issue 230](https://gitlab.office.nic.cz/cz.nic/techdep/plan/-/issues/230)
* [Safer issue 19](https://gitlab.office.nic.cz/django-cms-webs/safer/-/issues/19)Zdeněk Böhmzdenek.bohm@nic.czZdeněk Böhmzdenek.bohm@nic.czhttps://gitlab.nic.cz/websites/django-cms-qe/-/issues/101Constance backend error2021-08-26T14:25:45+02:00Daniel HubacekConstance backend error `django.core.exceptions.ImproperlyConfigured: The CONSTANCE_DATABASE_CACHE_BACKEND setting refers to a subclass of Django's local-memory backend ('default'). Please set it to a backend that supports cross-process caching.`
Cc: @jjanous... `django.core.exceptions.ImproperlyConfigured: The CONSTANCE_DATABASE_CACHE_BACKEND setting refers to a subclass of Django's local-memory backend ('default'). Please set it to a backend that supports cross-process caching.`
Cc: @jjanousek @tpazderkaDaniel HubacekDaniel Hubacekhttps://gitlab.nic.cz/websites/django-cms-qe/-/issues/100Neexistující šablony v cms_qe_auth2021-08-17T14:55:48+02:00Daniel HubacekNeexistující šablony v cms_qe_authV [cms_qe_auth.urls](https://gitlab.nic.cz/websites/django-cms-qe/-/blob/master/cms_qe_auth/urls.py) se používají class-based views, ale parametry se předávají pomocí `kwargs`, ne přes argumenty metody `as_view`, takže ty proměnné se do ...V [cms_qe_auth.urls](https://gitlab.nic.cz/websites/django-cms-qe/-/blob/master/cms_qe_auth/urls.py) se používají class-based views, ale parametry se předávají pomocí `kwargs`, ne přes argumenty metody `as_view`, takže ty proměnné se do view nepropíšou a např. `LoginView` spadne na tom, že neexistuje šablona `registration/login.html`, což je výchozí hodnota `LoginView.template_name`.
Cc: @jjanousek @tpazderkaDaniel HubacekDaniel Hubacekhttps://gitlab.nic.cz/websites/django-cms-qe/-/issues/99Upgradovat Bootstrap2023-08-29T13:01:53+02:00Daniel HubacekUpgradovat BootstrapRepozitář stále ve svých [statických souborech](https://gitlab.nic.cz/websites/django-cms-qe/-/tree/master/cms_qe/boilerplates/bootstrap3/static/cms_qe) obsahuje starý Bootstrap 3. Používá se ještě někde? Nebo už se všude migrovalo/migru...Repozitář stále ve svých [statických souborech](https://gitlab.nic.cz/websites/django-cms-qe/-/tree/master/cms_qe/boilerplates/bootstrap3/static/cms_qe) obsahuje starý Bootstrap 3. Používá se ještě někde? Nebo už se všude migrovalo/migruje na čtvérku?https://gitlab.nic.cz/websites/django-cms-qe/-/issues/98Upgradovat verze balíků2021-07-01T11:27:20+02:00Daniel HubacekUpgradovat verze balíků* `django-filer` může být upgradován nad `2.0.0`, protože se již používá Django 2
* `django-simple-captcha` může být upgradován na `0.5.14`, kde se testuje `py38-django22`, což je (pravděpodobně) námi používaná konfigurace* `django-filer` může být upgradován nad `2.0.0`, protože se již používá Django 2
* `django-simple-captcha` může být upgradován na `0.5.14`, kde se testuje `py38-django22`, což je (pravděpodobně) námi používaná konfiguraceDaniel HubacekDaniel Hubacekhttps://gitlab.nic.cz/websites/django-cms-qe/-/issues/97Generate new migrations2021-04-22T16:26:34+02:00Daniel HubacekGenerate new migrations```
(venv) dhubacek@dhubacek-ntb:~/.../django-cms-qe (master u=)$ python manage.py makemigrations --dry-run
INFO [decorators.py:19] AXES: BEGIN LOG
INFO [decorators.py:20] AXES: Using django-axes 4.5.4
INFO [decorators.py:24] AXES: block...```
(venv) dhubacek@dhubacek-ntb:~/.../django-cms-qe (master u=)$ python manage.py makemigrations --dry-run
INFO [decorators.py:19] AXES: BEGIN LOG
INFO [decorators.py:20] AXES: Using django-axes 4.5.4
INFO [decorators.py:24] AXES: blocking by combination of username and IP.
Migrations for 'cms_qe_auth':
cms_qe_auth/migrations/0003_auto_20210420_1023.py
- Change managers on group
- Alter field last_name on user
```Daniel HubacekDaniel Hubacekhttps://gitlab.nic.cz/websites/django-cms-qe/-/issues/96Fix docs2021-02-05T16:13:15+01:00Tomas PazderkaFix docsDocs target is failing since it can now install newer Sphinx.Docs target is failing since it can now install newer Sphinx.https://gitlab.nic.cz/websites/django-cms-qe/-/issues/95Convert to tox and flake82021-02-05T15:14:31+01:00Tomas PazderkaConvert to tox and flake8https://gitlab.nic.cz/websites/django-cms-qe/-/issues/94Broken tests on master2020-10-20T14:07:52+02:00Tomas PazderkaBroken tests on masterTests on master are failing.Tests on master are failing.Tomas PazderkaTomas Pazderka