Skip to content

Latest commit

 

History

History
549 lines (454 loc) · 26.1 KB

CHANGELOG.md

File metadata and controls

549 lines (454 loc) · 26.1 KB

version 0.4.8 (2024-05-??)

  • paywall
  • celery
  • google oauth fixes
  • terms and conds improvements
  • api-keys
  • crm integration
  • mkdocs
  • ... TODO: describe each and find more

version 0.4.7 (2023-12-31)

  • Many improvements and fixes.
  • Email validation using a better python module.
  • Pixel track on NL templates to push events to GA4 + nldelivery_sync command migrated to use that info from GA4.
  • Also NL open email stats can be retrieved from GA4 events.
  • Memcached local repo app removed and a TODO commented to replace it by another app ASAP.
  • Documentation updates.
  • Allow to fail a first test in a test module.
  • Allow custom more items in dropdown menu using a custom template by settings.
  • Http forbidden custom template.
  • Support to include captcha also in signup page.
  • Fix layout bugs in edit profile.
  • An optional component in the home page to subscribe to Newsletter with one click.
  • Push notifications offer popup shown only if no NLs new header is present.
  • Better tools to deduplicate users.
  • Section detail view support to completely customize its context using functions defined in a python module by settings.
  • Important fixes in the send newsletter management command parent class.
  • Fix photo type and author on article's gallery photos.
  • Python module requirements updates.

version 0.4.6 (2023-10-20)

  • A new command super class to send newsletters, this was the first step on opensourcing the whole NL delivery that we pretend to publish in the next release.
  • Install doc updated.
  • New method in Article model.
  • Templates syntax style improved.
  • Unneeded refused count in NL stats model removed
  • Some settings variables names changed to a better name.
  • Unicode and syntax style improvements in some modules.
  • Max credits in signupwall unhardcoded keeping its default of 10 but now this value can be overrided in new setting.
  • Fixes in edit profile template.
  • Allow to override page desc in signup template.
  • wellcome template setting usage missing fixed
  • Some TODO's done.

version 0.4.5 (2023-10-03)

  • ReadOnlyModelAdmin class to use for some ModelAdmin.
  • allow logins and password changes with invalid email domains.
  • suqare version field length upd in photologue custom app.
  • better verbose name in Subscriber model.
  • Archived unused things, super calls simplifications. EditionAdmin fixes and TODO's.
  • Allow deletion in AudioStats modeladmin.
  • collector analysis "settings" updates.

version 0.4.4 (2023-09-29)

  • toggle pass js fixed.
  • Support for signupwall max credits configured by settings.
  • Better new style on login/registration/subscription forms
  • Truncate chars ammount for walled article given by settings.
  • Subscriber modelAdmin action to allow delete the user related whit constraints.
  • Support to whitelist domains on email domain validation that was also included now.
  • Allow to check on email validation against a bouncers email list.
  • Better position and css for article-extensions in Article admin.
  • Removed code already addressed by the new version of 'collapse.js' included (and used since we updated to Django4) in Django4.
  • dahsboard: report datetime column improved, css and js in admin for core.Article fixed and improved.
  • syntax code style improved in many modeules.
  • smtp exception handling improved in send_category_nl (wip).
  • photo rendering improved in cover article template.
  • fix latest activity value in dashboard app.
  • Handle CRM Exception in a better UserAdmin.
  • separate "From" header on notification and newsletter deliveries in two different settings.
  • core: martor custom script order fix.
  • dashboard: fix article counter for publication, remove custom hardcoded values and improve amother mngmnt command.
  • avoid error if more than one Google oauth assoc.
  • Support to receive also a featured section for the tag that renders a publication grid.

version 0.4.3 (2023-08-28)

  • Article collections feature.
  • Archived work to support a work-in-progress Superdesk integration.
  • Articles version management using django-reversion.
  • Migrations and Python requirements updated.
  • Fixes for Django Admin formset:added custom js event.
  • Better jQuery and many other static assets management.
  • Improvements on article rendering consistency according to the is_published method and the 'public' photo attribute.
  • Forbidden (403) new template for better used feedback when staff members are not logged-in or using a wrong user.
  • Install guide fix (branch name to fectn).
  • Avoid error in Adzone.admin when form data came with no files keys because a previous validation failed.
  • 'vivo' base template maedia queries improvements.
  • Article admin action to publish/unpublish.
  • Python code style improved.
  • Article model managers and methods simplifications and improvements.
  • Article detail AMP template improvements.
  • "with" template tag usage syntax updated.
  • Support for newsletters preview links in user profile.
  • Obsolete views and templates removed.
  • Sample settnigs updated.
  • Social auth new pipeline to check if the email is used by another user social auth association.

version 0.4.2 (2023-08-04)

  • User profile UX improvements.
  • core migrations updates, inculding Category and Publications new field to indicate if the newsletter is "new".
  • support for more than one alternative smtp server for newsletter delivery,
  • Avoid AttributeError when check if a request is AMP.
  • Respect image is_public attribute for inline articles images.
  • "with" template tag usage syntax updated.
  • homev3 and core tests fixes and updates to test AMP middleware.
  • "super" calls simplified in some modules.
  • "exclude" usage in forms changed unhardcoding fields that should be removed soon.
  • Custom ordering support for newswletters cards in user profile.
  • Pillow requirement added in requirements.txt.

version 0.4.1 (2023-07-10)

  • Django upgraded from 2.2 to 4.1.4.
  • The support for sections custom templates usage was improved.
  • randomgen template tag simplifications.
  • Unneeded "in-repo" apps removed.
  • Useful script to "clear" the paywall for anon users created.
  • GTM loaded in AMP only if configured.
  • Custom ForeignKeyRawIdWidget usage simplification.
  • Obsolete documentation and scripts archived.
  • SSL certificates generation scripts updated.
  • TODO's comments updated and added.
  • Dynamic imports using __import__ were migrated to pydoc's locate (easier) usage.
  • A process_tasks command wrapper was created to ignore databse lock exceptions.
  • Fix __str__ methods for some models.
  • Fix audio stats api usage in AMP.
  • Fix photo galleries template rendering in article detail.
  • Better login links in AMP.
  • Improvements rendering photos in category detail.
  • Improvements on newsletter browser previews.
  • Syntax code style improvements.
  • core.view.edition.rawpic_cover fix.
  • nldelivery_sync_stats management command improvements.
  • NewsletterDelivery model improvements.
  • subscribe_notice template fixes.
  • Obsolete settings removed.
  • OauthState objects better usage, removed in some scenarios to avoid dummy data creation.
  • Subscription, Login, Passwords forms improvements and fixed including extra validations.
  • "most read" API created to return user reading useful data.
  • subscribe_notice_closed view improvements to allow a "closed in session" status.
  • CSS improvements.

version 0.4.0 (2023-05-03)

  • The insecure and discouraged usage approach of SameSite=None on cookies that was active some time ago, to let the AMP pages work properly, was migrated to a better approach, using a new app just released by us which manages the relationships between the AMP reader ID and the Django user. Now the AMP pages will work again properly when the user is authenticated, but work is still needed to let the clicks on the fav and follow links work in AMP pages again; this will be addressed ASAP.
  • Fixed a duplicate csrf token loaded in login template.
  • AMP header template improved for better inheritance.
  • Many AMP page fixes of bugs introduced in previous release.
  • Subscribe notice moved to the bottom of the page and turn it render independent of other alerts that could be rendered at the same time. Also its close button action is now session-permanent and its content (moved to a template) can be overrided by settings.
  • CSS code and syntax improvements.
  • send_category_nl Management command fixed for django2.
  • sync_article_views Management command improvements.
  • Deprecated middleware removed.
  • cache middleware improvements using better "if" conditions.
  • Article cards templates improved specially taking care of settings that were ignored until now.
  • card_horizontal template not used, removed.
  • cache decorators changed from "staff" notion to "auth" because indeed was not working as expected for auth-but-non-staff users.
  • New management command to update NL delivery stats from the info parsed in the delivery log files.
  • Signupwall middleware improved when resolve path raises 404 error.
  • Emoji martor tool icon disabled because our markdown filter does not support it yet.
  • Settings module improved with comments and obsolote vars remotion.

version 0.3.9 (2023-04-18)

  • Django upgraded from 1.11 to 2.2.

version 0.3.8 (2023-03-31)

  • Support to upload article contents to IPFS (ipfs.io).
  • Improvements in the "is_subscriber" condition.
  • Subscribe CTA popup also for non-mobile not subscriber users.
  • Unicode and syntax improvements.
  • Some new TODO's detected and comments properly added.
  • Authors doc updated.

version 0.3.7 (2023-03-28)

  • Support to use a dropdown menu for the category menu items in the header menu.
  • Render tagrow multiline support.
  • Templates update supporting markdown on already markdown-allowed field.
  • Elasticsearch usage, Pagination, management commands, admin, syntax code, unicode, settings and doc improvements.
  • "most read" feature simplifications and improvements.
  • Admin index template extended from admin_shortcuts and its indentation improved.
  • 1-click newsletter subscription view.
  • Subscribe middle notice in article detail's body, extensibility support.
  • AMP extensibility support for amp-analytics requests and triggers.
  • Better csfr check in login view.
  • Allow to edit subscriber's name in subscription time.
  • Removed deprecated article.type ("RE") in article_admin.js.
  • New options supported by settings in update_category_home function.
  • Migration fixes.
  • Support to send publication newsletters using a task defined in settings. BreakingNews admin list view improved.
  • Notifications alerts improvements.
  • Rendering of live embed events notifications improvements.
  • Fixes for custom meta description usage in area's home.

version 0.3.6 (2022-11-23)

  • Allow custom html title and meta description in the detail pages of Publications, Categories and Sections.
  • Support to show pub name instead of nl name in edit profile view.

version 0.3.5 (2022-11-17)

  • New management command to update a section's category and automatically update all the articles involved to update properly their url_path field.
  • Better utf8 shebang, unicode and syntax code style in many Python modules.
  • A TODO comment added.
  • article_report management command updated.
  • Better "with" usage in some templates.
  • New template tag to truncate html using char-length.
  • Pagination improvements.
  • Custom text removed from faq/base.html template.
  • Category new_pill field used also in main menu.
  • Many CSS improvements.
  • Handle many SMTP errors marked with "TODO" in the past.
  • Handle a rare exception in subscribers_nl_iter.
  • Do not redirect if destination is the same url of this request (avoid loop), show draft only for staff users.
  • TODO in main urls conf. Added utm_source query param to url in push notif.
  • Read-only removed on telephone to allow fill it when for any reason is empty.

version 0.3.4 (2022-10-15)

  • Fix subscription_info field length in DeviceSubscribed model.
  • "str" methods improvements also in DeviceSubscribed model.

version 0.3.3 (2022-10-14)

  • Push notifications support for registered users, staff users can send push notifications related to an Article.
  • Dashboard app updates.

version 0.3.2 (2022-10-13)

  • Install guide updated giving more detail information, nginx conf samples files updated to reflect this new info.
  • Fixed the drag-and-drop feature in edition admin and category newsletter admin to reorder articles.
  • Fixed rest-framework default pagination setting, added also the token auth method there.
  • dashboard articles and article_views management commands fixed and updated, with also a new dashboard for subscribers only views.
  • Support to hide the first featured publication homepage component in overrided template.
  • Support for mongodb server not allowing notimeout-cursors.
  • CSS improvements.
  • Adzone template tag fix when no publication variable is present in context.
  • Support for a custom category NL subject using a callable object configured by settings.
  • core.models.update_category_home function support to update only categories given y param.
  • Support to disable the section link in article's cards.
  • Support to update only delivery objects inside the date range given in nldelivery_sync_stats dashboard app management command.
  • Unicode strings improvements in many python modules.

version 0.3.1 (2022-09-12)

  • Settings support for a non-default quantity of articles needed, by category, to build the category home.
  • Support to skip use the category for the backlink in the overrided version of the section detail template.
  • Fix area newsletter preview when area home is redirected to an absolute url.
  • New manage_tags util function, useful to merge or update tags.
  • allow emails with any length supported by used django.
  • SQL script to fix some dabase column lengths if needed.
  • core migration fixes.
  • syntax code style, py3 and unicode fixes in many modules.
  • support for mongodb connection string, testing docs upd.
  • Removed more unneeded customizations such as static files and custom css.
  • Fixed article old url redirect when the url has a discontinued domain_slug.
  • py3 commands and scripts fixes, audio_stats command improved.
  • bind audio stats ajax event only if user is_subscriber.
  • uwsgi.ini sample updated, templatetag fix.

version 0.3.0 (2022-08-14)

  • Python 2.7 (or less) support dropped.
  • Code migrated to support Python 3.6 and 3.7.

version 0.2.9 (2022-08-13)

  • Latest release supporting Python 2.7
  • utm parameters to track subscribe links.
  • import fixes and code style.

version 0.2.8 (2022-08-06)

  • New publication image field added for the newsletter logo only.
  • Support for short format in Edition.date_published_verbose method.
  • Category Newsletter browser preview.
  • Subscription price template tag localization.
  • support for a 'direct path' temporal redirect in category redirect settings.
  • sections main publication support through settings.
  • some tests added and improved.
  • dump_articles command fixed and updated.
  • custom hardcoded label replaced.
  • dashboard data exclude support.
  • dashboard local month-filtered rank instead of global.
  • tag url redirect to slugified version.
  • encoding issues fixed.
  • syntax code and indent improvements.
  • noindex if root_url in robots fixed condition.
  • reqs and nginx sample conf fix.
  • fix related when no article photo is set.
  • return last article found in urlhistory if more than one table row match.
  • fix when next page in login has non-ascii chars.
  • fixed url tag in template when no publication.
  • many simplifications in article templates when render the article photo.
  • fix obtaining article's photo size.
  • other minor fixes related to settings and migrations.

version 0.2.7 (2022-06-27)

  • Removed some obsoleted template tags modules and one-time scripts.
  • All MongoDB databases were migrated to a simpler approach to collections in only one MongoDB database.
  • Dashboard audio stats feature improved.
  • Created a simple footer template to remove repeated code in many templates.
  • Sample nginx conf improved.
  • CSS and UX improved in many templates.
  • Crispy forms simplifications when defining child form classes.
  • Free subscription notion changed to a more suitable "Free account" notion.
  • Terms and Conditions check field added to all registration and subscription forms.
  • Syntax code style improved in many modules and templates.
  • Some pending de-customizations were detected and tagged with TODO comments.
  • Subscriber hashed id migrated to a Subscriber class method for simpler usage and remove repeated code.
  • Fixed bug in section detail view.
  • Support to hide the article's photo in article cards when the templates are overrided.
  • Support to override the article body content in the article detail view.
  • noindex meta tag added in the short url test template.
  • Satirical articles were ignored from the sitemaps.
  • Support to use google sign-in in development time.

version 0.2.6 (2022-05-15)

  • Dashboard app updates and new features.

version 0.2.5 (2022-05-13)

  • Fixes and improvements in the signup and subscription UX.
  • Home page performance improvements for authenticated users.
  • Test documentation fixes.
  • Many other minor fixes and improvements.

version 0.2.4 (2022-04-17)

  • Signupwall improvements and fixes.
  • Robots meta tag de-customization and improvements.
  • Offline support in send_category_nl command.
  • Better support to load GTM and GA.
  • Better default configuration.
  • UX and CSS improvements.
  • Requirements fix.
  • More flexibility to customize the breaking news module.
  • Custom users api view updates.

version 0.2.3 (2022-03-17)

  • The "Most readed" articles feature was refactored and improved.
  • Fixed an error in Publication's admin when the logo image is missing from filesystem.
  • Many syntax code style improvements.
  • Improvements on subscription forms validations and generated email messages.
  • The "materialize" Python module is not required and was removed from requirements and installed apps.
  • UX and CSS improvements.

version 0.2.2 (2022-03-05)

  • Support for custom area newsletters content independent from area's home.
  • UX Improvements in the admin of area homes and a related "TODO" added.

version 0.2.1 (2022-03-02)

  • Restricted publications feature (articles content are completely locked to non-subscribers).
  • Additional access: A restricted -or any- article can behave as a regular one, if a publication is selected in this new article field.
  • Article detail template was fixed (closing tags were missing in some situations) and was reindented properly.
  • Signupwall middleware fixed keeping or spending credits in a more accurately way.
  • Article slug field changed to read-only widget because edits on it are ignored.
  • Article admin change form was reorganized better.
  • Elastic search results sort and phrase match support.
  • Area newsletters sync support with utopia-crm.
  • UX and CSS improvements.
  • Publications menu improvements.
  • Publication's headline attribute usage support when rendering the publication's name in many templates.
  • Improvements in context variables usage through template tags.
  • Allow more flexibility to hide dates in article cards.
  • A custom not used setting removed from a context processor.
  • Not used imports removed in some modules, more flexibility in notifications template preview view with an important "TODO" added.
  • Section in article cards are taken in a better way, giving a better publication precedence.
  • Many syntax code style improvements.

version 0.2.0 (2022-02-01)

  • Inner sections support for category detail view.
  • Custom section detail templates support by settings.
  • Gruped tags new app allows grouping tags for customizations.
  • CSS updates and not ascii char error fixed.
  • More customization flexibility support on rendering dates in article cards.

version 0.1.9 (2022-01-27)

  • Elasticsearch support in search app.
  • Many important improvements in core.models.update_category_home function.
  • Allow more flexibility when using some of the custom child templates that can be configured by settings.
  • Templates and template tags used to render home 'row' components were improved with minor fixes, todo's and features.
  • Remove position holes after saving a CategoryHome using the admin.
  • Performance improvement for audio stats in dashboard app.
  • General improvements: de-customizations, syntax code style, UX, some method features using optional args.

version 0.1.8 (2022-01-08)

  • Fix one context variable value assignation between template tags rendering.
  • Uniqueness added on (home, position) columns in categoryhomearticle relation.

version 0.1.7 (2022-01-03)

  • Tests documentation improvements.
  • Edition headers feature.
  • Improvements to display the published date in article cards.
  • Support to hide the photographer in article cards.
  • Many improvements, fixes and de-customizations in UX, migrations, modules and templates.
  • Performance improvements in some raw SQL sentences.
  • UX support to "read-later" articles from the article card.

version 0.1.6 (2021-12-03)

  • Cleaned custom values and unused fields in some migrations and models.
  • Performance improvements with new database indexes and raw sql optimization.
  • "defensoria" custom deprecated template tag removed.
  • django-debug-toolbar usage support.

version 0.1.5 (2021-12-02)

  • Fixes in the installation guide.
  • pip dependencies updates.
  • Cleaned custom values and unused fields in some migrations and models.
  • Improved syntax code style in many modules and templates.
  • not-maintained / duplicated features commented / removed in comunidad app.
  • Custom unneeded shell scripts removed.
  • Ad impressions and clicks logs registered in mongodb for better mysql performance.
  • "with" template tag usage syntax updated.
  • Better way to partitioning the receipts in the send_category_nl management command.
  • Some JavaScript loading optimizations, loaded in the pages that require them.
  • Support for new blocks like category sections and articles by tag.
  • Improvements in dashboard app.
  • Support for a better customization of the mobile footer navbar.

version 0.1.4 (2021-10-20)

  • Support for custom subject in category newsletters.

version 0.1.3 (2021-10-09)

  • Development domain changed to yoogle.com
  • defer js in base template

version 0.1.2 (2021-10-05)

  • Support to disable (default) the "promo code" field for new subscriptions.
  • Fixes and improvements in the Article admin change form.

version 0.1.1 (2021-10-02)

  • Progressive Web Apps (PWA) support.
  • "Keep reading" feature dropped.
  • Many author customizations removed.
  • UX improvements.
  • Syntax formatting improvements and fixes on many modules and templates.
  • Unneeded secure_static context processor removed.
  • settings and test_settings modules improved eliminating not needed lines.
  • Fixed edition PDF download view.
  • Fixed Category.latest_articles method when the category has no home.
  • Support for a non-subscriber version in the category newsletter preview feature.
  • Support for direct path redirect in section redirect feature.
  • Improvements in dashboard views.
  • Support for custom templating in publications home pages.
  • Support for custom headers in the to_response decorator.
  • Unneeded formtools pip dependency removed.
  • Support for a custom css for the print version.

version 0.1.0 (2021-08-21)

  • Django support upgraded to version 1.11 (dropped support for Django 1.5).
  • Install guide upgraded, improved and tested.
  • django-robots upgraded and removed from repo.
  • typi submodule removed.
  • Log usage and errror handling improved in send_category_nl command.
  • Custom things like settings and some views were removed.
  • Syntax formatting improvements and fixes on many modules.
  • UX and CSS improvements in many templates.

version 0.0.9 (2021-06-15)

  • Support to exclude categories with order, from the top menu.

version 0.0.8 (2021-06-15)

  • Removed a custom attribute and method from Subscriber model.
  • Renamed "costumer_id" (typo) attribute from Subscriber model to "contact_id".
  • Changed urls and md5 imports to avoid deprecation warnings.
  • Syntax formatting improvements on many modules.
  • A deprecated-custom urls module was removed.
  • Improvements on "Subscriptions" section of user profile template.
  • Fixed a templatetag error when a publication does not exist.

version 0.0.7 (2021-06-01)

  • "home" app removed, categories' homes now are managed by new models in core.
  • Generalizations for fields used by publications newsletters.
  • Code style formatting improved on many modules.
  • UX and CSS improvements in many templates.
  • Generalizations for menu items for latest articles in sections, now can be defined in settings.
  • Article detail view cache activated / deactivated automatically when signupwall is disabled / enabled.

version 0.0.6 (2021-04-20)

  • Unneded custom templates removed.
  • Syntax improvements and de-customizations in many templates.
  • More flexible subscription info in thedaily.Subscription model.
  • User disabled flow changed and improved using a more friendly strategy.

version 0.0.5 (2021-03-26)

  • Dropped jquery_lazyload and using native browser load-lazy support.
  • Signup support for emails upto 75 chars long (WARNING: after signup behaviour is not tested yet, may need work).
  • Removed legacy customizations in ad_tag template.
  • Removed share links customizations in article detail template, twitter share now uses a new Publication field.
  • UX Improvements and fixes in many templates.

version 0.0.4 (2021-03-03)

  • Improvements and fixes on Category newsletters feature.
  • Fixes and de-customizations for "help" and "contact" links in many templates.
  • Fixes in article embed images template.

version 0.0.3 (2021-02-17)

  • tagging_autocomplete_taggit app moved to pip dependency and fixed in admin.
  • Fixes to "lista de lectura" feature.
  • Many improvements on article templates including also a "share" button to copy the article URL.

version 0.0.2 (2021-01-28)

  • Removed not used "inplace edit" app and related code.
  • Removed not used debug app.
  • Removed custom "Elegí informarte" app.
  • jQuery upgraded to latest version.
  • actstream, favit, ratings and updown apps moved from repo to pip dependencies.
  • debug_toolbar app moved to "dev" pip dependecy.
  • Removed many not used templates.
  • Removed many not used tables and fields from "core" app.
  • "Lista de lectura" feature. The usage of this feature is explained in https://ayuda.ladiaria.com.uy/que-es-la-lista-de-lectura/ (Spanish; la diaria's website uses utopia-cms).

version 0.0.1 (2021-01-28)

  • Initial version with the basic features.