Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

Multisites v2 design #16

Closed
Guite opened this issue Jun 23, 2014 · 13 comments
Closed

Multisites v2 design #16

Guite opened this issue Jun 23, 2014 · 13 comments
Assignees
Milestone

Comments

@Guite
Copy link
Member

Guite commented Jun 23, 2014

Gabriel (@gfr) and me are going to do a new major version of Multisites.

  • based on ModuleStudio
  • based on Zikula 1.3 (going to be regenerated for 1.4 later of course)
  • considering a review of what can and should be improved
  • including existing GitHub issues

Today I created a first model just reflecting the current state of the module plus some minor additions, like some custom actions and ip address checks and an index for the site table. I think that the model will be subject of several iterations when we incorporate open tickets and wishes into the concept.

Controller:
multisites_v3_controller

Model:
multisites_v3_model

cc: @Drak @rallek @cmfcmf

@cmfcmf
Copy link
Contributor

cmfcmf commented Jun 23, 2014

I've never used multisites, so I can't really comment on it. But from what I understand, this seems it be a valuable update and a future prove concept. 👍

@shefik
Copy link
Member

shefik commented Jun 23, 2014

@Guite What checks occur via IP address that you mentioned? Would such checks restrict functionality if a site is on server cluster and load balancer that may have varied IP addresses?

@Guite
Copy link
Member Author

Guite commented Jun 23, 2014

@shefik the validator is contained in Symfony: http://symfony.com/doc/current/reference/constraints/Ip.html

@shefik
Copy link
Member

shefik commented Jun 24, 2014

@Guite Okay, so this is only just validating that the input is a real IP Address?

@Guite
Copy link
Member Author

Guite commented Jun 24, 2014

Yes.

@Guite Guite changed the title Multisites v3 Multisites v2 Sep 15, 2014
@Guite Guite modified the milestone: 2.0.0 Sep 15, 2014
@Guite Guite self-assigned this Sep 15, 2014
@Guite
Copy link
Member Author

Guite commented Sep 15, 2014

Here is an updated model version:

multisites_v2_2014-09-15

Most important changes include:

  • Restructured based on an early development version of MOST 0.7.0 (therefore only one diagram remains); thus entities have their own actions now.
  • Added project table for grouping sites by client or topic
  • Added a second var container containing only security-related settings
  • Added custom action for exporting a site into a new template
  • Added new field for a whitelist of languages per site (see Language whitelist per page #17)
  • Added settings container for disabling unrequired generator features (like rss and atom feeds or content types and blocks)
  • Added a new table for template parameters (variable information to be defined for each site)
  • Added two parameter fields to the site table (csv upload, array for manual form-based input)
  • Added custom action for reapplying templates to all assigned sites
  • Added cascade and edit settings to all new relationships

@Guite
Copy link
Member Author

Guite commented Sep 15, 2014

Todo: add upload fields on the site entity for uploading a custom logo as well as a favicon.

@cmfcmf
Copy link
Contributor

cmfcmf commented Sep 15, 2014

Probably refs zikula/core#966.

@Guite
Copy link
Member Author

Guite commented Oct 7, 2014

Next update reflecting the most current design iteration:

multisites_v2

Recent changes:

  • set version to 2.0.0
  • added two new upload fields to the site entity for storing logo and favicon images
  • changed folders field type in the template entity from string to array
  • added another array field named exludedTables to the template entity to allow skipping certain tables when reassigning a template to all sites based on it
  • removed unrequired access table

@Guite Guite changed the title Multisites v2 Multisites v2 design Oct 7, 2014
@Guite
Copy link
Member Author

Guite commented Oct 7, 2014

Design iterations are completed for v2, therefore this ticket can be closed.

@Guite Guite closed this as completed Oct 7, 2014
@Guite
Copy link
Member Author

Guite commented Oct 13, 2014

Minor model update:
model

  • removed one obsolete modvar
  • replaced parameters table by an array field

@matheo
Copy link

matheo commented Oct 13, 2014

Nice job 👍

@Guite
Copy link
Member Author

Guite commented Oct 17, 2014

Another model iteration:
model

  • Added some actions
  • Removed activationDate field in the site table (since we have createdDate provided by the standard fields extension already)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants