Giter Site home page Giter Site logo

ymcatwincities / openy Goto Github PK

View Code? Open in Web Editor NEW
49.0 25.0 111.0 471.31 MB

The Open Y platform. See README.md below

Home Page: https://openy.org

License: GNU General Public License v3.0

Makefile 7.28% CSS 3.57% JavaScript 2.87% PHP 80.45% Shell 4.20% Twig 1.63%
drupal drupal-8 distribution community ymca openy drupal9 openy-decoupled

openy's People

Contributors

aaronjchristian avatar alexandar87 avatar alexnetman avatar alexschedrov avatar andreymaximov avatar anpolimus avatar anprok avatar atiupa avatar dan-pol avatar danylevskyi avatar david-hernandez avatar dchubar-fj avatar ddrozdik avatar dimb avatar duozersk avatar fandm avatar ggolovenko avatar hamrant avatar ivan-berezhnov avatar jediandrey avatar kerby70 avatar kolesnikoff avatar podarok avatar retif avatar rolodmonkey avatar rotator avatar ryter avatar shuklina avatar victor-shelepen avatar ygerasimov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openy's Issues

Admin menu is hidden on mobile

On mobile smart phones, the admin menu is hidden in a portrait view. Please see screenshots below:

This can be reproduced on the sandbox (sandbox.openymca.org)

  1. login as admin
  2. resize the browser window to a mobile portrait view

image

image

openy_loc_camp.camp_service ServiceNotFoundException

If camp module disabled you can get next error:

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "openy_loc_camp.camp_service". in Drupal\Component\DependencyInjection\Container->get() (line 157 of /var/www/docroot/core/lib/Drupal/Component/DependencyInjection/Container.php).

It seems that code from openy/themes/openy_themes/openy_rose/openy_rose.theme not work:

 // Exit if not a node page, or if the 'openy_loc_camp.camp_service' is not available.
  if (!($node = \Drupal::request()->attributes->get('node')) || !($camp_service = \Drupal::service('openy_loc_camp.camp_service'))) {
    return;
  }

drupal.org issue: https://www.drupal.org/node/2871830

Move footer blocks from theme to module

On YGS project I have issue with enabling openy_rose theme from openy.

Performing ygs_master_update_8161                                    [ok]
Failed: 'block' entity with ID 'footermenucenter' already exists.    [error]

This blocks already exist on our project. It would be great to move this blocks configs to separate module (openy_menu_footer for example):

  • openy/config/optional/block.block.openy_rose_fmenu_center.yml
  • openy/config/optional/block.block.openy_rose_fmenu_left.yml
  • openy/config/optional/block.block.openy_rose_fmenu_right.yml

Also we can check other block configs, I think we can remove configs related to bartik and seven themes from openy/config/optional

Can not install drupal core on Drupal VM

vagrant@oy:/var/www/docroot$ composer create-project ymcatwincities/openy-project:8.1.x-dev oytest --no-interaction
Installing ymcatwincities/openy-project (8.1.x-dev 37f205ccec035d18b120ed93e843e9b163d71c9d)
  - Installing ymcatwincities/openy-project (8.1.x-dev 37f205c): Cloning 37f205ccec from cache
Created project in oytest
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 95 installs, 0 updates, 0 removals
  - Installing drupal-composer/drupal-scaffold (2.2.0): Loading from cache
  - Installing composer/installers (v1.2.0): Loading from cache
  - Installing cweagans/composer-patches (1.6.1): Loading from cache
No patches supplied.
Gathering patches for dependencies. This might take a minute.
  - Installing zendframework/zend-stdlib (3.1.0): Loading from cache
  - Installing zendframework/zend-escaper (2.5.2): Loading from cache
  - Installing zendframework/zend-feed (2.8.0): Loading from cache
  - Installing psr/http-message (1.0.1): Loading from cache
  - Installing zendframework/zend-diactoros (1.3.10): Loading from cache
  - Installing twig/twig (v1.33.0): Loading from cache
  - Installing symfony/yaml (v2.8.18): Loading from cache
  - Installing symfony/polyfill-mbstring (v1.3.0): Loading from cache
  - Installing symfony/translation (v2.8.18): Loading from cache
  - Installing symfony/validator (v2.8.18): Loading from cache
  - Installing ircmaxell/password-compat (v1.0.4): Loading from cache
  - Installing symfony/polyfill-php55 (v1.3.0): Loading from cache
  - Installing symfony/serializer (v2.8.18): Loading from cache
  - Installing symfony/routing (v2.8.18): Loading from cache
  - Installing symfony/polyfill-php54 (v1.3.0): Loading from cache
  - Installing symfony/http-foundation (v2.8.18): Loading from cache
  - Installing symfony/process (v2.8.18): Loading from cache
  - Installing symfony/polyfill-iconv (v1.3.0): Loading from cache
  - Installing psr/log (1.0.2): Loading from cache
  - Installing symfony/debug (v2.8.18): Loading from cache
  - Installing symfony/event-dispatcher (v2.8.18): Loading from cache
  - Installing symfony/http-kernel (v2.8.18): Loading from cache
  - Installing symfony/dependency-injection (v2.8.18): Loading from cache
  - Installing symfony/console (v2.8.18): Loading from cache
  - Installing symfony/polyfill-apcu (v1.3.0): Loading from cache
  - Installing symfony/class-loader (v2.8.18): Loading from cache
  - Installing symfony-cmf/routing (1.4.0): Loading from cache
  - Installing stack/builder (v1.0.4): Loading from cache
  - Installing paragonie/random_compat (v2.0.10): Loading from cache
  - Installing masterminds/html5 (2.2.2): Loading from cache
  - Installing guzzlehttp/psr7 (1.4.2): Loading from cache
  - Installing guzzlehttp/promises (v1.3.1): Loading from cache
  - Installing guzzlehttp/guzzle (6.2.3): Loading from cache
  - Installing doctrine/lexer (v1.0.1): Loading from cache
  - Installing egulias/email-validator (1.2.14): Loading from cache
  - Installing easyrdf/easyrdf (0.9.1): Loading from cache
  - Installing doctrine/inflector (v1.1.0): Loading from cache
  - Installing doctrine/collections (v1.4.0): Loading from cache
  - Installing doctrine/cache (v1.6.1): Loading from cache
  - Installing doctrine/annotations (v1.2.7): Loading from cache
  - Installing doctrine/common (v2.5.3): Loading from cache
  - Installing composer/semver (1.4.2): Loading from cache
  - Installing asm89/stack-cors (1.0.0): Loading from cache
  - Installing symfony/psr-http-message-bridge (v0.2): Loading from cache
  - Installing drupal/core (8.2.7): Loading from cache    Failed to download drupal/core from dist: Could not delete docroot/core/.nfs000000000116150800000002: 
    Now trying to download from source
  - Installing drupal/core (8.2.7): 
                                                                
  [RuntimeException]                                            
  Could not delete docroot/core/.nfs000000000116150800000002:   
                                                                

create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]

Remove search bar

On mobile and tablet viewpoint, there is the search bar which we should remove completely. Please see screenshot below:

image

image

Make /user/register so that user registration disabled in default installs of Open Y

As a YMCA team member, when I install Open Y I want registration at /user/register to be disabled by default so that I don't have spam accounts appearing on my new Open Y site.

Done when: Using the Open Y install bash script results in an install of Open Y that has user registration disabled by default. A site administrator can always re-enable this feature in the future if desired.

add Camp content type to the Tour for content types

Go to [sitename]/node/add?tour=1
Click through the steps:
and see there is no tour step for camps

Proposed description:
"""
Here a user can add Camps. This content type is used for creation of the Camp primary pages similar to Branches. Camp teasers will also appear in Location finder page and you can associate blogs with your camp.
"""

This site can’t be reached occasional error.

As i developer using Mac im getting occasional problems opening a website.

It usually happens around 2 times per hour, and i need to refresh page until it starts working again. Downtime lasts anywhere between 1min and 10min.

Is anyone else experiencing same issues, is there any solution?

First i thought it happens when i do drush cr but its not actually correct, i did not found exact trigger for that yet.

screen shot 2017-04-26 at 13 14 06

Thanks
Alex

Fatal error on location page from unexpected phone-number

When I add a branch and specify some phone number there like "12345"
Save and publish
And go to /locations
You will see fatal error there:
InvalidArgumentException: The URI 'tel:12456' is invalid. You must use a valid URI scheme. in Drupal\Core\Url::fromUri() (line 280 of /var/www/demo/core/lib/Drupal/Core/Url.php).

Add textfield to the "Small Banner"

Currently, there is a block "Small banner" which provides the possibility to enter a title, select an image and color scheme.
I suggest adding an extra field for description, which will provide the possibility enter a few lines of text.
An example of such a banner:
openy 2017-05-16 15-08-02

This could be a checkbox which will be adding a field to the form when it enabled.

Cleanup location_finder

Check usage of openy/modules/custom/location_finder/js/location_finder.js and location_finder_element
it seems that it is not being used (instead we use openy/modules/custom/openy_map/js/map.js)

TODO delete this files if location_finder_element from this module not used:

  • openy/modules/custom/location_finder/js/location_finder.js
  • openy/modules/custom/location_finder/img
  • openy/modules/custom/location_finder/src/Element
  • openy/modules/custom/location_finder/src/LocationFinderDataWrapper.php
  • openy/modules/custom/location_finder/location_finder.services.yml
  • openy/modules/custom/location_finder/location_finder.module
  • openy/modules/custom/location_finder/templates

Initial install Accessibility issues for frontpage

ERROR|WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.A.NoContent|a||Anchor element found with a valid href attribute, but no link content has been supplied.|<a class="navbar-toggle visible-xs visible-sm" data-toggle="collapse" data-target=".sidebar-left" href="#">...</a>
ERROR|WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.InputSearch.Name|input||This search input element does not have a name available to an accessibility API. Valid names are: element content.|<input type="search" name="query" class="search-input" placeholder="Search"></input>
ERROR|WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail|a||This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of 3.83:1. Recommendation: change background to #007cbd.|<a href="/build8/user/login" data-drupal-link-system-path="user/login">...</a>
ERROR|WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail|a||This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of 3.83:1. Recommendation: change background to #007cbd.|<a href="/build8/openy">...</a>
ERROR|WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail|a||This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of 3.83:1. Recommendation: change background to #007cbd.|<a class="dropdown-toggle" data-toggle="dropdown" href="/build8/openy">...</a>
ERROR|WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail|a||This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of 3.83:1. Recommendation: change background to #007cbd.|<a href="/build8/locations">...</a>
ERROR|WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail|a||This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of 3.83:1. Recommendation: change background to #007cbd.|<a href="/build8/about-ymca">...</a>
ERROR|WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail|a||This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of 3.83:1. Recommendation: change background to #007cbd.|<a href="/build8/give">...</a>
ERROR|WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail|a||This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of 3.83:1. Recommendation: change background to #007cbd.|<a href="/build8/accelerator">...</a>
ERROR|WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail|a||This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of 3.83:1. Recommendation: change background to #007cbd.|<a href="/build8/blog">...</a>
ERROR|WCAG2AA.Principle4.Guideline4_1.4_1_1.F77|div|#block-openy-rose-branding|Duplicate id attribute value "block-openy-rose-branding" found on the web page.|<div id="block-openy-rose-branding">...</div>
ERROR|WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.A.EmptyNoId|a||Anchor element found with no link content and no name and/or ID attribute.|<a class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-left">...</a>
ERROR|WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.InputSearch.Name|input||This search input element does not have a name available to an accessibility API. Valid names are: element content.|<input type="search" name="query" class="search-input" placeholder="Search"></input>
ERROR|WCAG2AA.Principle4.Guideline4_1.4_1_1.F77|nav|#block-openy-rose-user-menu|Duplicate id attribute value "block-openy-rose-user-menu" found on the web page.|<nav role="navigation" aria-labelledby="block-openy-rose-user-menu-menu" id="block-openy-rose-user-menu">...</nav>
ERROR|WCAG2AA.Principle4.Guideline4_1.4_1_1.F77|h2|#block-openy-rose-user-menu-menu|Duplicate id attribute value "block-openy-rose-user-menu-menu" found on the web page.|<h2 class="visually-hidden" id="block-openy-rose-user-menu-menu">...</h2>
ERROR|WCAG2AA.Principle4.Guideline4_1.4_1_1.F77|nav|#block-openy-rose-main-menu|Duplicate id attribute value "block-openy-rose-main-menu" found on the web page.|<nav role="navigation" aria-labelledby="block-openy-rose-main-menu-menu" id="block-openy-rose-main-menu">...</nav>
ERROR|WCAG2AA.Principle4.Guideline4_1.4_1_1.F77|h2|#block-openy-rose-main-menu-menu|Duplicate id attribute value "block-openy-rose-main-menu-menu" found on the web page.|<h2 class="visually-hidden" id="block-openy-rose-main-menu-menu">...</h2>
ERROR|WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail|p||This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of 3.13:1. Recommendation: change background to #008575.|<p>...</p>
ERROR|WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail|i||This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of 3.13:1. Recommendation: change background to #008575.|<i>...</i>
ERROR|WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail|a||This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of 2.53:1. Recommendation: change background to #007faf.|<a href="/build8/user/login?destination=admin/structure/menu%3Ftour%3D1">...</a>
ERROR|WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail|a||This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of 2.53:1. Recommendation: change background to #007faf.|<a class="button blue" href="/build8/openy?page=1" title="Go to next page" rel="next">...</a>

Clean OpenY profile install https://github.com/propeoplemd/yd/pull/3#issuecomment-284369986

Demo content for Classes

Currently we have Programs (i.e. Swimming), Categories (i.e. Drop-In Swimming) but no Classes, Lessons nor Activities.

Let's add those to demo content as well so it will be easier to show the content structure around lessons and classes.

Can't install using composer command

When I try to run

composer create-project ymcatwincities/openy-project MY_PROJECT --no-interaction

I get error

[InvalidArgumentException]                                                  
Could not find package ymcatwincities/openy-project with stability stable.

I am happy to write documentation if you provide instructions how to install the site.

Groupex Calendar paragraph issues

further improvements to be more usable.
Given I have specified id:3 for Twin Cities.

  1. By default I can see too much entries. That are loading pretty long time.
    I think that we should allow to see only one location at once. And only one day by default. We need to came up with wise limitations.
  2. For empty results I still can see the grid without any explanations

image

  1. Duplicated '.ics'
    image

Note: On mobile it's looking fine - responsive tables are used.
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.