summaryrefslogtreecommitdiff
path: root/addons/website_slides/data/slide_data.xml
AgeCommit message (Collapse)Author
2019-02-15[REF] website_slides: propose new shiny (incomplete) demo dataThibault Delavallée
Purpose of this commit is to rewrite slides demo data. More channels, more slides, more images, less Odoo oriented content. Everything is still not completely clean but at least it begins to look like something we could show to people. Thanks to @awa-odoo who gave some demo data. No thanks to @xmo-odoo who did not give demo data about the emu war. This commit is linked to task ID 1936153 and PR #30770. Co-Authored-By: Aurélien Warnon <awa@odoo.com> Co-Authored-By: Thibault Delavallee <tde@odoo.com>
2019-02-11[IMP] website_slides: add tags and tag groups on channelThibault Delavallée
Purpose is to be able to filter, search and categorize channels. Notably with eLearning in mind there will be more channels as a channel will also be used to hold lessons. For that purpose we add a model of tag linked to channels. Those tags are organized by groups in order to be able to display them using a menu or a small hierarchy of tags. Displaying a tag group as a specific navigation element is controlled by a specific field. Those models will be used to display a new and improved home page for channels / courses. This commit is linked to task ID 1936153 and PR #30985.
2019-02-07[IMP] website_slides: clean ACLs and refactor access optionsThibault Delavallée
Purpose of this commit is to clean access rights on slide models and give less access to public / portal / internal users. Website publishers and editors have rights to edit slides content and manage channels. Another purpose is to clean and refactor access options on channels and slides. Access to a given slide depends on the current user being a member of the slide channel. A channel can be either public (joined easily) or on invitation only (manual addition of members). Slide can be flagged as preview, meaning they are accessible without any concern about channel membership. It is used as teasing or free promotion of a channel. Publish flag is orthogonal. Non published slides are not visible to everyone except website content editor. It allows to work and improve slides without displaying them to members or public people. Technically a new model is added to model membership on channels. It is a decorated m2m between channels and partners; on this m2m the state of membership is added. In a near future additional information will be stored on this model, like completion of channel or certification information. Other technical changes implied by this commit * visibility is simplified to either public or invite; * can_see and can_see_full are removed, as well as concept of 'partial' display of slides; * group_ids related to private access is removed; * a computed / searchable field is added to be able to efficiently find and search active members of a channel; This commit is linked to task ID 1937411 and PR #30847.
2018-11-19[MOV] slides: Rename and split files according to their underlying modelsqmo-odoo
Purpose of this merge is to polish a bit this module before turning it into "courses" (see task #1902304 for more details on this) Contains * split python model into separate main files to ease models understanding; * split views into separate main files to ease views finding; * rename files according to guidelines; * merge templates in the same file to have all available at hand; * move assets in their own file in order to remove noise from templates; * Split javascript widgets into their own separate files No functional behavior change should occur with this commit. Only move has been performed. Note that we might lose part of the history as splitting files creates a new history for new files. Task: #1909281 Closes: #28679