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

ISAICP-5707 - Hack to improve search bar visibility on search pages. #2003

Open
wants to merge 1,290 commits into
base: EPIC-5767
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1290 commits
Select commit Hold shift + click to select a range
51a0244
ISAICP-5568: Fix a config diff.
claudiu-cristea May 15, 2020
99dfb93
Merge pull request #2078 from ec-europa/ISAICP-5568-clone
claudiu-cristea May 15, 2020
218a942
Merge remote-tracking branch 'origin/develop' into ISAICP-5964
claudiu-cristea May 15, 2020
a86cc0f
Merge branch 'EPIC-5614' into ISAICP-5876
idimopoulos May 18, 2020
2a1d63f
ISAICP-5876: Export updated config.
pfrenssen May 18, 2020
73792d5
ISAICP-5876: Remove exception with limited usefulness.
pfrenssen May 18, 2020
6b4365e
ISAICP-5876: Update documentation.
pfrenssen May 18, 2020
6d455ec
ISAICP-5593: 'path-to-community-content' is not really needed.
idimopoulos May 18, 2020
17815bd
ISAICP-5593: Provide a token that fetches the short id if available, …
idimopoulos May 18, 2020
a56bf52
Merge remote-tracking branch 'origin/develop' into ISAICP-5914
pfrenssen May 18, 2020
725a90c
ISAICP-5914: Stop looping once a match is found.
pfrenssen May 18, 2020
891cae4
ISAICP-5914: Update documentation.
pfrenssen May 18, 2020
8997cd3
Merge pull request #2125 from ec-europa/ISAICP-5914
pfrenssen May 18, 2020
1aa7dbb
ISAICP-5845: Add 'Advanced search' link to the header.
papegaill May 18, 2020
4e29ba3
ISAICP-5974: Latest release of Simple Sitemap fixes a notice that occ…
pfrenssen May 18, 2020
21c7a02
ISAICP-5964: Use more spcific label for permanent deletion.
claudiu-cristea May 18, 2020
72eb4bf
ISAICP-5964: Enforce usage of UserInterface::getDisplayName().
claudiu-cristea May 18, 2020
809cd6e
ISAICP-5974: Matomo starts returning empty responses after 20 failed …
pfrenssen May 18, 2020
5c32873
ISAICP-5974: If an object is returned which has an unexpected data st…
pfrenssen May 18, 2020
7bdaf19
ISAICP-5974: Account for hypothetical cases where wrong data is retur…
pfrenssen May 18, 2020
2d62038
ISAICP-5974: Handle untrusted data.
pfrenssen May 18, 2020
d7200ea
ISAICP-5964: Add a user status access checker.
claudiu-cristea May 18, 2020
bbf22e1
ISAICP-5964: Apply the new access checker on the user cancel conform …
claudiu-cristea May 18, 2020
e8d4d0f
ISAICP-5964: Swap the user entity class.
claudiu-cristea May 18, 2020
586b9b3
ISAICP-5964: Update the user entity storage.
claudiu-cristea May 18, 2020
14087d3
ISAICP-5964: Improve user admin UI status columns and status filter.
claudiu-cristea May 18, 2020
1902cd7
ISAICP-5964: Don't allow deletion of cancelled users.
claudiu-cristea May 18, 2020
b8e0755
ISAICP-5964: Prevent editing a cancelled user account.
claudiu-cristea May 18, 2020
6df23b0
ISAICP-5964: Add 3rd party reaction on user account cancellation.
claudiu-cristea May 18, 2020
06e77e3
ISAICP-5964: Improve cancellation methos wording.
claudiu-cristea May 18, 2020
0fcd6b8
ISAICP-5964: Use the new user entity ::cancel() method.
claudiu-cristea May 18, 2020
811cddf
ISAICP-5964: Drop the anonymizer service.
claudiu-cristea May 18, 2020
f5e1144
ISAICP-5964: Adapt the existing site test.
claudiu-cristea May 18, 2020
c3d8daf
ISAICP-5964: Adapt the Behat tests.
claudiu-cristea May 18, 2020
d28e2fc
ISAICP-5593: Re-design the url patterns.
idimopoulos May 18, 2020
90316a1
ISAICP-5593: Replace the old token test with the one for the short-id.
idimopoulos May 18, 2020
623f0dc
ISAICP-5593: Fix the parent collection to allow to descend deeper int…
idimopoulos May 18, 2020
ff7ad51
ISAICP-5593: Update the tests to assert the proper URLs.
idimopoulos May 18, 2020
82d00ad
ISAICP-5593: PHPCs complains about unused variables :/.
idimopoulos May 18, 2020
745dc77
ISAICP-5593: Moving leftovers.
idimopoulos May 19, 2020
b374da4
ISAICP-5964: Disable unused views.
claudiu-cristea May 19, 2020
2cd7c40
ISAICP-5964: Remove duplicated step definition.
claudiu-cristea May 19, 2020
af7793b
ISAICP-5964: Use the correct view filter handler in members_overview …
claudiu-cristea May 19, 2020
69405bd
ISAICP-5964: Rename the user admin view display.
claudiu-cristea May 19, 2020
b020081
ISAICP-5964: Fix typo.
claudiu-cristea May 19, 2020
fb265f5
ISAICP-5964: Test that a cancelled user cannot be removed from the ad…
claudiu-cristea May 19, 2020
8c43a7b
ISAICP-5964: Revert a status check.
claudiu-cristea May 19, 2020
ce0a6cc
ISAICP-5964: Properly rename the step definition method.
claudiu-cristea May 19, 2020
b863622
ISAICP-5964: Tests that a cancelled account cannot be cancelled anymore.
claudiu-cristea May 19, 2020
ad38449
ISAICP-5964: Delete disabled views.
claudiu-cristea May 19, 2020
b979ad2
ISAICP-5964: Revert the cancellation method change.
claudiu-cristea May 19, 2020
5ed1338
ISAICP-5845: Use existing join-search block instead of creating a new…
papegaill May 19, 2020
74d4e97
ISAICP-5964: Don't send status change email when the user is cancelled.
claudiu-cristea May 19, 2020
5b461f2
ISAICP-5964: The /node route has been removed together with the unuse…
claudiu-cristea May 19, 2020
0d3cb40
Merge remote-tracking branch 'origin/develop' into ISAICP-5825
pfrenssen May 19, 2020
88b46d5
Merge pull request #2113 from ec-europa/ISAICP-5825
pfrenssen May 19, 2020
14dd2a7
Merge remote-tracking branch 'origin/develop' into ISAICP-5964
idimopoulos May 19, 2020
233d976
Fix update functions sniff namespace.
claudiu-cristea May 19, 2020
f9b545d
ISAICP-6003: Expand test coverage to include also community content.
claudiu-cristea May 19, 2020
8109573
Merge pull request #2130 from ec-europa/namespace
pfrenssen May 19, 2020
64e111c
ISAICP-6003: Add also a solution test-case.
claudiu-cristea May 19, 2020
44c02c1
ISAICP-6003: The fix.
claudiu-cristea May 19, 2020
83cbef0
ISAICP-6003: Document the test.
claudiu-cristea May 19, 2020
5752623
ISAICP-6003: Try to tidy a little the joinup_community_content.commun…
claudiu-cristea May 19, 2020
ae4c7fc
ISAICP-6003: Add a release test-case.
claudiu-cristea May 20, 2020
4da8ca0
Merge branch 'develop' into ISAICP-5876
pfrenssen May 20, 2020
1541689
ISAICP-6003: Add a TODO in the community content worflow definition.
claudiu-cristea May 20, 2020
a546fbe
ISAICP-6003: More joinup_community_content.community_content_workflow…
claudiu-cristea May 20, 2020
fe33699
Merge pull request #2119 from ec-europa/ISAICP-5964
claudiu-cristea May 20, 2020
7192ee5
Merge remote-tracking branch 'origin/develop' into ISAICP-5974
claudiu-cristea May 20, 2020
bfc27ca
Merge pull request #2128 from ec-europa/ISAICP-5974
claudiu-cristea May 20, 2020
cbfba16
ISAICP-6016: Clean up properties that had their phing targets removed.
idimopoulos May 21, 2020
b73bb99
ISAICP-6016: Ensure that developmment mail settings are cleaned up be…
idimopoulos May 21, 2020
a9ab726
ISAICP-6016: Update the commands needed to setup solr.
idimopoulos May 21, 2020
c776227
ISAICP-6016: Update the readme file example of local properties to in…
idimopoulos May 21, 2020
579bf77
ISAICP-6016: Use a better supported bash comparison operator.
idimopoulos May 21, 2020
f52098b
Merge pull request #2095 from ec-europa/ISAICP-5876
claudiu-cristea May 21, 2020
f40ffab
ISAICP-6018: Fix the query to update the initial timestamp.
idimopoulos May 21, 2020
e8a13c8
Merge pull request #2133 from ec-europa/ISAICP-6018
claudiu-cristea May 21, 2020
14b9038
Merge pull request #2132 from ec-europa/ISAICP-6016
claudiu-cristea May 21, 2020
b38de88
Merge remote-tracking branch 'origin/develop' into EPIC-5614
claudiu-cristea May 21, 2020
9f9f8e0
ISAICP-5982: Remove the node.custom_page.body field instance.
claudiu-cristea May 21, 2020
63c5120
ISAICP-5982: Migrate also the body revisions. Run after 0106001.
claudiu-cristea May 21, 2020
5b1c37b
ISAICP-6019: Fix SA-CORE-2020-002, 003.
claudiu-cristea May 22, 2020
f275f03
ISAICP: Add 'drupal/json_field' onboard.
claudiu-cristea May 22, 2020
6b1deb0
ISAICP-5979: Move the 'webtools_snippet' formatter from 'oe_webtools_…
claudiu-cristea May 22, 2020
3fe5a7c
ISAICP-5979: Update composer.lock.
claudiu-cristea May 22, 2020
e3073d6
ISAICP-5979: Enable the 'json_field' module.
claudiu-cristea May 22, 2020
3e8a7cd
ISAICP-5979: Add a new 'story_map' paragraph type.
claudiu-cristea May 22, 2020
9650836
ISAICP-5979: Add a 'field_json' to the 'story_map' paragraph type.
claudiu-cristea May 22, 2020
fe58c91
ISAICP-5979: Allowd the new paragraph type in custom pages.
claudiu-cristea May 22, 2020
8e49265
ISAICP-5979: Limit editing the story map field to moderators.
claudiu-cristea May 22, 2020
d05f892
Merge remote-tracking branch 'origin/develop' into ISAICP-6003
idimopoulos May 25, 2020
318be36
Merge pull request #2137 from ec-europa/ISAICP-6019
idimopoulos May 25, 2020
e1d0226
Merge remote-tracking branch 'origin/master' into ISAICP-5593
idimopoulos May 25, 2020
b64a264
Merge remote-tracking branch 'origin/develop' into ISAICP-5593
idimopoulos May 25, 2020
2eed630
ISAICP-5593: Update the scripts to re-set all aliases.
idimopoulos May 25, 2020
048b65b
ISAICP-6003: Fix QA remarks.
claudiu-cristea May 25, 2020
963fc6b
Merge branch 'ISAICP-6003' of github.com:ec-europa/joinup-dev into IS…
claudiu-cristea May 25, 2020
2dddbc3
Merge remote-tracking branch 'origin/master' into develop
claudiu-cristea May 25, 2020
d314369
Merge remote-tracking branch 'origin/master' into develop
claudiu-cristea May 25, 2020
e15a5da
Merge pull request #2131 from ec-europa/ISAICP-6003
claudiu-cristea May 25, 2020
0779442
Merge remote-tracking branch 'origin/develop' into EPIC-5614
claudiu-cristea May 25, 2020
d0d5bf1
Merge remote-tracking branch 'origin/EPIC-5614' into ISAICP-5979
claudiu-cristea May 25, 2020
6bfe555
Merge branch 'EPIC-5614' into ISAICP-5982
pfrenssen May 25, 2020
f8c5ddd
ISAICP-5979: Use the main paragraphs widget.
claudiu-cristea May 25, 2020
b3bbb58
ISAICP-5979: Permissions for 'simple_paragraph' type.
claudiu-cristea May 25, 2020
872bb15
ISAICP-5979: Do not show unpublished paragraphs.
claudiu-cristea May 25, 2020
54d5aa9
ISAICP-5979: Move group & collection methods to a trait.
claudiu-cristea May 25, 2020
7804fd8
ISAICP-5979: Create a bundle class for custom pages.
claudiu-cristea May 25, 2020
6c58050
ISAICP-5979: Add a rdf_entity link template for creating custom pages.
claudiu-cristea May 25, 2020
fe2fc1a
ISAICP-5979: Require revisiting the community content access controller.
claudiu-cristea May 25, 2020
877a568
ISAICP-5979: Make the paragraphs permission aware about OG permissioins.
claudiu-cristea May 25, 2020
c5bb933
ISAICP-5979: Provide test coverage for SMAP.
claudiu-cristea May 25, 2020
ba11c21
ISAICP-5979: The EU Global Banner got a new setting.
claudiu-cristea May 25, 2020
2e2b33c
ISAICP-5979: Fix existing test.
claudiu-cristea May 26, 2020
1c4d714
ISAICP-5987: Update task-runner with the patch that adds the command …
pfrenssen May 26, 2020
8cf3f36
ISAICP-5593: Ensure that the alias path is used in the patterns.
idimopoulos May 26, 2020
3547459
ISAICP-5593: Provide an update path for the aliases including regular…
idimopoulos May 26, 2020
e97f3e4
ISAICP-5987: Convert the Phing command to convert SCSS to a taskrunne…
pfrenssen May 26, 2020
bee4878
ISAICP-5987: Create the folder to store the CSS if it doesn't yet exist.
pfrenssen May 26, 2020
caa8294
Merge remote-tracking branch 'origin/develop' into ISAICP-5593
idimopoulos May 26, 2020
80dc793
ISAICP-5593: Remove old updates.
idimopoulos May 26, 2020
e080d84
ISAICP-5979: Remove stale updates.
claudiu-cristea May 26, 2020
8909296
ISAICP-5593: Collection cannot be random when collection must be pred…
idimopoulos May 26, 2020
b019ccb
Remove deployed scripts.
claudiu-cristea May 26, 2020
a501a6d
Merge remote-tracking branch 'origin/develop' into ISAICP-5593
idimopoulos May 26, 2020
5bb2e66
ISAICP-5987: Adapt patch to work with the version of task runner whic…
pfrenssen May 26, 2020
1177031
ISAICP-5593: Fix one more instance of alias change.
idimopoulos May 26, 2020
eee5840
ISAICP-5593: Remove manual alias rebuild.
idimopoulos May 27, 2020
e19d2c5
ISAICP-6025: Prevent test failures around midnight.
pfrenssen May 27, 2020
bd43182
ISAICP-6024: Log also the log entry severity.
claudiu-cristea May 27, 2020
e3fa2e6
ISAICP-6024: Fix documentation in runner.yml.dist.
claudiu-cristea May 27, 2020
3a1b94a
ISAICP-6024: Remove stape post-updates.
claudiu-cristea May 27, 2020
0d04413
ISAICP-6024: Fix the user 'status' field storage definition.
claudiu-cristea May 27, 2020
3fefd33
ISAICP-5997: Support .env files.
pfrenssen May 27, 2020
c3f60ec
ISAICP-5997: Adhere to coding standards.
pfrenssen May 27, 2020
7800dfd
ISAICP-5741: Add comparer licence text info modal.
papegaill May 27, 2020
3795497
ISAICP-5741: PHPCS.
papegaill May 27, 2020
1d484f2
ISAICP-5741: PHPCS.
papegaill May 27, 2020
c5ca216
ISAICP-5997: Provide default environment variables for the docker env…
pfrenssen May 27, 2020
eae971d
ISAICP-5741: Jquery dialog custom styling for licence comparer modal.
papegaill May 27, 2020
8a5f2d8
Merge pull request #2142 from ec-europa/ISAICP-6024
idimopoulos May 27, 2020
fb6bfae
Merge pull request #2141 from ec-europa/ISAICP-6025
claudiu-cristea May 28, 2020
82dc86c
Use the correct SPDX licence identifier.
pfrenssen May 28, 2020
fe1331d
Merge pull request #2144 from ec-europa/fix-licence
sandervd May 28, 2020
455ee3b
Merge remote-tracking branch 'origin/master' into develop
claudiu-cristea May 28, 2020
8a1722b
Fix PHPCS.
claudiu-cristea May 28, 2020
e67e98e
Merge remote-tracking branch 'origin/develop' into ISAICP-5593
pfrenssen May 28, 2020
2d486a3
ISAICP-5593: Revert accidental change caused by merge conflict resolu…
pfrenssen May 28, 2020
76b3fc0
ISAICP-6032: Fix the user status field definition once for ever.
claudiu-cristea May 28, 2020
68f5382
Merge remote-tracking branch 'origin/develop' into EPIC-5614
claudiu-cristea May 28, 2020
228ea2a
Merge remote-tracking branch 'origin/EPIC-5614' into ISAICP-5982
claudiu-cristea May 28, 2020
8c7a7e0
Merge remote-tracking branch 'origin/ISAICP-5982' into ISAICP-5979
claudiu-cristea May 28, 2020
079f1ad
ISAICP-5979: Clarify the traits order.
claudiu-cristea May 28, 2020
a5e68f6
ISAICP-5593: Implement bundle classes for solution content bundles.
pfrenssen May 28, 2020
12d7230
ISAICP-5593: Custom pages are not community content, but all of them …
pfrenssen May 28, 2020
cb5e1af
ISAICP-5593: Leverage bundle classes in token generation.
pfrenssen May 28, 2020
e647876
ISAICP-5593: Fix typo.
pfrenssen May 29, 2020
fa54db8
ISAICP-5593: Strict typing is merciless.
pfrenssen May 29, 2020
d0e89fa
Merge pull request #2147 from ec-europa/ISAICP-6032
idimopoulos May 29, 2020
9443869
Merge remote-tracking branch 'origin/develop' into ISAICP-5845
pfrenssen May 29, 2020
a13134b
ISAICP-5979: Reanme the from story map to map.
claudiu-cristea May 29, 2020
d79bd92
ISAICP-5825: Hide the field lable in view.
claudiu-cristea May 29, 2020
33131f9
Merge remote-tracking branch 'origin/master' into develop
claudiu-cristea May 29, 2020
abb5971
ISAICP-5845: Add a test.
pfrenssen May 29, 2020
5ac4e43
Merge remote-tracking branch 'origin/develop' into ISAICP-5846
pfrenssen May 29, 2020
41bf97f
ISAICP-5846: Disable floating field labels for other forms where this…
pfrenssen May 29, 2020
e022850
Merge remote-tracking branch 'origin/develop' into EPIC-5614
claudiu-cristea Jun 2, 2020
4073c27
Merge remote-tracking branch 'origin/EPIC-5614' into ISAICP-5982
claudiu-cristea Jun 2, 2020
3fa0d69
ISAICP-5982: Fix a previous merge conflict.
claudiu-cristea Jun 2, 2020
27397df
Merge remote-tracking branch 'origin/ISAICP-5982' into ISAICP-5979
claudiu-cristea Jun 2, 2020
7f7f6b5
Merge pull request #2135 from ec-europa/ISAICP-5982
claudiu-cristea Jun 2, 2020
3f98ab7
Merge pull request #2129 from ec-europa/ISAICP-5593
claudiu-cristea Jun 2, 2020
3fc6f9b
ISAICP-5846: Style and align fields for user profile edit page form e…
papegaill Jun 2, 2020
ddc4adc
ISAICP-5846: PHPCS.
papegaill Jun 2, 2020
84511a6
Merge remote-tracking branch 'origin/develop' into ISAICP-5987
pfrenssen Jun 2, 2020
7fbfc1b
ISAICP-5987: Switch to the SCSS command hosted in a standalone reposi…
pfrenssen Jun 2, 2020
a0065d5
ISAICP-5741: Provide a test for the modal dialog of the JLA page.
idimopoulos Jun 2, 2020
7a0a5bc
Merge remote-tracking branch 'origin/develop' into ISAICP-5997
pfrenssen Jun 2, 2020
95acc5e
ISAICP-5997: Only use a single default configuration valid for all en…
pfrenssen Jun 2, 2020
9eb7f95
Merge remote-tracking branch 'origin/develop' into ISAICP-5846
pfrenssen Jun 2, 2020
38f25e6
ISAICP-5987: Move the command into the 'joinup:' namespace.
pfrenssen Jun 2, 2020
c95bae2
ISAICP-5997: Docker defaults in .env.dist.
claudiu-cristea Jun 2, 2020
d2523c6
ISAICP-5943: Style moderators site-alerts.
papegaill Jun 2, 2020
249598a
ISAICP-5741: Remove trait methods for the sake of simplicity.
idimopoulos Jun 2, 2020
7dadcc6
Merge pull request #2143 from ec-europa/ISAICP-5997
claudiu-cristea Jun 3, 2020
493c448
Merge remote-tracking branch 'origin/develop' into ISAICP-5987
claudiu-cristea Jun 3, 2020
e938953
Merge pull request #2140 from ec-europa/ISAICP-5987
claudiu-cristea Jun 3, 2020
fcc2220
ISAICP-6043: Lock Behat Drupal Extension on the last known working ve…
pfrenssen Jun 3, 2020
d3672b8
ISAICP-5741: Remove uneeded dependencies.
idimopoulos Jun 3, 2020
e494937
ISAICP-6043: Update to the stable release of php-task-runner/scss.
pfrenssen Jun 3, 2020
3db6d7a
Merge remote-tracking branch 'origin/ISAICP-6043' into EPIC-5944
pfrenssen Jun 3, 2020
2e91130
Merge branch 'EPIC-5944' into ISAICP-5943
pfrenssen Jun 3, 2020
5bbdf69
ISAICP-6029: Fix the predicates of the policy domain values.
idimopoulos Jun 3, 2020
676f9c4
Merge pull request #2127 from ec-europa/ISAICP-5845
pfrenssen Jun 4, 2020
9569466
Merge pull request #2116 from ec-europa/ISAICP-5846
pfrenssen Jun 4, 2020
891058c
Merge pull request #2145 from ec-europa/ISAICP-5741
claudiu-cristea Jun 4, 2020
7753b42
Merge pull request #2149 from ec-europa/ISAICP-6043
claudiu-cristea Jun 4, 2020
ad403e2
Merge remote-tracking branch 'origin/develop' into EPIC-5944
pfrenssen Jun 4, 2020
cd3b7c2
ISAICP-5944: Update configuration.
pfrenssen Jun 4, 2020
270bb57
Merge branch 'EPIC-5944' into ISAICP-5943
pfrenssen Jun 4, 2020
a7b92d3
ISAICP-5993: Provide a pipeline for the DPSI community.
idimopoulos Jun 5, 2020
3143e4b
ISAICP-5993: Allow moderators to run the DPSI pipeline.
idimopoulos Jun 5, 2020
54ba52d
ISAICP-5993: Allow RDF XML to be uploaded in the import wizard.
idimopoulos Jun 5, 2020
8502553
ISAICP-5993: Fast test for the pipeline's existence.
idimopoulos Jun 5, 2020
dbf1773
ISAICP-5993: Clean up the module from the role ymls.
idimopoulos Jun 5, 2020
9bf8d50
Bump websocket-extensions in /web/themes/joinup/prototype
dependabot[bot] Jun 8, 2020
eb28057
Merge pull request #2138 from ec-europa/ISAICP-5979
idimopoulos Jun 8, 2020
b1df494
Merge pull request #2151 from ec-europa/ISAICP-6029
idimopoulos Jun 8, 2020
d24534c
Merge pull request #2153 from ec-europa/dependabot/npm_and_yarn/web/t…
pfrenssen Jun 8, 2020
c5b6014
ISAICP-5733: Improve alignment for the Download button.
papegaill Jun 8, 2020
66151d0
ISAICP-5733: Review alignment for mobile display.
papegaill Jun 9, 2020
549d39d
ISAICP-5943: Correct paragraph last-child CSS property.
papegaill Jun 9, 2020
77f57f0
Merge remote-tracking branch 'origin/develop' into ISAICP-5943
pfrenssen Jun 10, 2020
7bfcfc7
Merge remote-tracking branch 'origin/develop' into EPIC-5944
pfrenssen Jun 10, 2020
cfd97e7
Merge branch 'EPIC-5944' into ISAICP-5943
pfrenssen Jun 10, 2020
cf3b029
ISAICP-5943: Update to the latest stable release of Site Alert.
pfrenssen Jun 10, 2020
4216159
Merge remote-tracking branch 'origin/develop' into ISAICP-5993
pfrenssen Jun 10, 2020
f15ee20
Merge pull request #2148 from ec-europa/ISAICP-5943
claudiu-cristea Jun 10, 2020
0fcf61c
Merge remote-tracking branch 'origin/develop' into EPIC-561
claudiu-cristea Jun 10, 2020
f4b4054
Merge pull request #2085 from ec-europa/EPIC-5944
claudiu-cristea Jun 10, 2020
2fdb06b
Merge remote-tracking branch 'origin/develop' into EPIC-5614
claudiu-cristea Jun 10, 2020
41b6c37
Merge pull request #2134 from ec-europa/EPIC-5614
claudiu-cristea Jun 10, 2020
ea12c19
ISAICP-5890: Add a Phing target to check contrib code for deprecation…
pfrenssen Jun 11, 2020
4eff24e
ISAICP-6046: Update dependencies.
pfrenssen Jun 11, 2020
e826816
ISAICP-6046: Update Simplenews to 2.0.0-beta1.
pfrenssen Jun 11, 2020
5a8d2d2
ISAICP-6046: Export config after executing Simplenews 2.x database up…
pfrenssen Jun 11, 2020
268a9ce
ISAICP-5890: A failure in a non-blocking test on CPHP causes the comm…
pfrenssen Jun 11, 2020
192203e
ISAICP-5890: Define an experimental script to check for deprecated co…
pfrenssen Jun 11, 2020
24d7e04
ISAICP-5890: Clean up initial approach. Let's stick with the test scr…
pfrenssen Jun 11, 2020
221c21c
ISAICP-6046: Export updated config after updating Simplenews to 2.x.
pfrenssen Jun 11, 2020
82f9967
ISAICP-6046: Update a number of our in-house developed contrib module…
pfrenssen Jun 11, 2020
977fa25
ISAICP-6046: Update Admin Toolbar to the latest major version.
pfrenssen Jun 11, 2020
a9261cc
ISAICP-6046: Update Field Group to the latest major version.
pfrenssen Jun 11, 2020
d06fd3e
ISAICP-5890: Don't need another wrapper.
claudiu-cristea Jun 12, 2020
8928df4
Merge pull request #2160 from ec-europa/ISAICP-5890
claudiu-cristea Jun 12, 2020
e5ff497
Merge remote-tracking branch 'origin/develop' into ISAICP-6046
pfrenssen Jun 15, 2020
20fcc29
ISAICP-6046: Revert Simplenews and Field Group back to the previously…
pfrenssen Jun 15, 2020
20aca57
ISAICP-6046: Revert changes to Simplenews config. We are sticking wit…
pfrenssen Jun 15, 2020
fa887c6
ISAICP-6047: Remove old updates.
claudiu-cristea Jun 15, 2020
14dca6f
Merge pull request #2164 from ec-europa/ISAICP-6047
pfrenssen Jun 15, 2020
bed47ef
Merge pull request #2162 from ec-europa/ISAICP-6046
claudiu-cristea Jun 16, 2020
28a0360
Merge pull request #2155 from ec-europa/ISAICP-5733
claudiu-cristea Jun 16, 2020
6d2c48f
Merge remote-tracking branch 'origin/develop' into ISAICP-5993
idimopoulos Jun 16, 2020
d251aad
Merge pull request #2152 from ec-europa/ISAICP-5993
claudiu-cristea Jun 16, 2020
45e4db9
Develop is broken due to empty file accidentally left behind.
pfrenssen Jun 16, 2020
da2eea5
ISAICP-6063: Drupal vulnerabilities SA-CORE-2020-004, 005, 006.
claudiu-cristea Jun 18, 2020
e02db01
Merge pull request #2170 from ec-europa/ISAICP-6063-develop
pfrenssen Jun 18, 2020
bc6478a
Merge remote-tracking branch 'origin/develop' into ISAICP-5707
idimopoulos Jun 19, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 1 addition & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ tests/behat.yml
web/phpunit.xml
web/sites/default/services.yml

# Ignore compiled CSS and SASS cache.
.sass-cache/
# Ignore compiled CSS.
web/themes/joinup/css
web/themes/joinup/prototype/css/*.css
# Ignore theme libraries
Expand Down
27 changes: 27 additions & 0 deletions .env.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Default environment variables for Joinup.
#
# Declaring sensitive data in environment variables is an industry standard, as
# it is a very friendly mechanism for configuring the applications on different
# environments and in continuous intergartion flows, as well. Depending on the
# development environment or developer practices, the system environment
# variables can be assigned in different ways, most simple is declaring them in
# the `~/.bashrc` or `~/.zshrc` files on Bash respectively Z shells. But some
# prefer to keep them inside the project's directory tree, as they are project
# specific variables. In order to do so, just copy the lines from this file that
# you want to override to an empty file named `.env` and fill in the sensitive
# values. Note that the `.env` file is not under VCS control and should not be
# committed.

ASDA_URL=
ASDA_USER=
ASDA_PASSWORD=

SPARQL_HOST=virtuoso
SPARQL_PORT=8890
SPARQL_USER=dba
SPARQL_PASSWORD=dba

SOLR_CORE_PUBLISHED_NAME=drupal_published
SOLR_CORE_PUBLISHED_URL=http://solr_published:8983/solr
SOLR_CORE_UNPUBLISHED_NAME=drupal_unpublished
SOLR_CORE_UNPUBLISHED_URL=http://solr_unpublished:8983/solr
12 changes: 8 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,22 @@
/web/sites/simpletest/

# Ignore environment specific settings
/.env
/build.common.xml
/build.local.xml
/build.properties.local
/drush/drush.yml
/grumphp.yml
/phpcs.xml
/phpunit.xml
/runner.yml
/tests/behat.yml
/web/phpunit.xml
/web/sites/default/services.yml

# Ignore compiled CSS and SASS cache.
.sass-cache/
# Ignore compiled CSS.
/web/themes/joinup/css
/web/themes/joinup/prototype/css/*.css

# Ignore theme libraries
/web/themes/joinup/vendor

Expand All @@ -43,8 +46,9 @@
# Ignore the config_readonly killswitch.
/disable-config-readonly

# Ignore temporary files
# Ignore temporary and auto-generated files.
/tmp
/VERSION

# Ignore local docker-compose file.
docker-compose.local.yml
Expand Down
10 changes: 10 additions & 0 deletions .opts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
upgrade_commands:
default:
- ${drush.bin} state:set system.maintenance_mode 1 --input-format=integer --yes
- ${phing.bin} disable-config-read-only
- ${phing.bin} redis-flush
- ${drush.bin} updatedb --no-post-updates --yes
- ${drush.bin} config:import --yes
- ${drush.bin} updatedb --yes
- ${phing.bin} enable-config-read-only
- ${drush.bin} state:set system.maintenance_mode 0 --input-format=integer --yes
94 changes: 67 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@ To start with docker, please, check the separated [README file](resources/docker

To run Joinup locally, below is a list of requirements and instructions.

#### On macOS without Docker installation
To start on macOS without Docker, please, check the separated [README file](resources/mac/README.md).

#### Requirements
* A regular LAMP stack running PHP 7.1.0 or higher
* Virtuoso 7 (Triplestore database)
* SASS compiler
* Apache Solr

#### Dependency management and builds
Expand Down Expand Up @@ -66,12 +68,13 @@ run the Behat test, please refer directly to the documention of
* Install Solr. If you already have Solr installed you can configure it manually
by [following the installation
instructions](http://cgit.drupalcode.org/search_api_solr/plain/INSTALL.txt?h=8.x-1.x)
from the Search API Solr module. Or you can execute the following command to
from the Search API Solr module. Or you can execute the following commands to
download and configure a local instance of Solr. It will be installed in the
folder `./vendor/apache/solr`.

```
$ ./vendor/bin/phing setup-apache-solr
$ ./vendor/bin/run solr:download-bin
$ ./vendor/bin/run solr:config
```

* Install Virtuoso. For basic instructions, see [setting up
Expand All @@ -85,13 +88,6 @@ run the Behat test, please refer directly to the documention of
DirsAllowed = /var/www/joinup/resources/fixtures, /usr/share/virtuoso-opensource-7/vad
```

* Install the official [SASS compiler](https://github.com/sass/sass). This
depends on Ruby being installed on your system.

```
$ gem install sass
```

* Install [Selenium](https://github.com/SeleniumHQ/docker-selenium/blob/master/README.md).
The simplest way of doing this is using Docker to install and run it with a
single command. This will download all necessary files and start the browser
Expand All @@ -111,52 +107,62 @@ using your favourite text editor:
$ vim build.properties.local
```

This file will contain configuration which is unique to your development
This file will contain the configuration which is unique to your development
machine. This is mainly useful for specifying your database credentials and the
username and password of the Drupal admin user so they can be used during the
username and password of the Drupal admin user, so they can be used during the
installation.

Because these settings are personal they should not be shared with the rest of
the team. Make sure you never commit this file!

All options you can use can be found in the `build.properties.dist` file. Just
copy the lines you want to override and change their values. Do not copy the
entire `build.properties.dist` file, since this would override all options.
All options you can use can be found in the `build.properties` file. Just copy
the lines you want to override and change their values. Do not copy the entire
`build.properties` file, since this would override all options.

Example `build.properties.local`:

```
# The location of the Composer binary.
composer.bin = /usr/bin/composer

# The location of the Virtuoso console (Debian / Ubuntu).
isql.bin = /usr/bin/virtuoso-isql
# The location of the Virtuoso console (Arch Linux).
isql.bin = /usr/bin/virtuoso-isql
# The location of the Virtuoso console (Redhat / Fedora / OSX with Homebrew).
isql.bin = /usr/local/bin/isql

# SQL database settings.
drupal.db.name = my_database
drupal.db.user = root
drupal.db.password = hunter2

# SPARQL database settings.
sparql.dsn = localhost
sparql.user = my_username
sparql.password = qwerty123

# Admin user.
drupal.admin.username = admin
drupal.admin.password = admin

# The base URL to use in tests.
drupal.base_url = http://joinup.local

## Development settings.

# Verbosity of Drush commands. Set to 'yes' for verbose output.
drush.verbose = yes

# Disable config readonly for local development.
config_readonly.enabled = FALSE

# Do not redirect emails to disk.
# Set this to false when you are grabbing the emails using e.g. mailcatcher.
drupal.redirect.email = no
```

#### Create a local task runner configuration file

In order to override any configuration of the task runner (`./vendor/bin/run`),
create a `runner.yml` file in the project's top directory. You can override
there any default runner configuration, or any other declared in
`./resources/runner` files or in `runner.yml.dist`. Note that the `runner.yml`
file is not under VCS control.

#### Setup environment variables

Sensitive data will be stored in [environment variables](
https://en.wikipedia.org/wiki/Environment_variable). See `.env.dist` for
details.

#### Build the project

Expand Down Expand Up @@ -204,6 +210,40 @@ $ ../vendor/bin/phpunit
See the [readme](web/themes/joinup/README.md) in the theme folder.


### Upgrade process

Joinup offers only _contiguous upgrades_. For instance, if you project is
currently on Joinup `v1.39.2`, and the latest stable version is `v1.42.0`, then
you cannot upgrade directly to the latest version. Instead, you should upgrade
first to `v1.40.0`, second to `v1.40.1` (if exists) and, finally, to `v1.42.0`.

The Joinup update and post-update scripts naming is following this pattern:

`function mymodule_update_0106100() {...}`

or

`function mymodule_post_update_0207503() {...}`

The (post)updated identifier (the numeric part consists in seven digits with the
following meaning:

* The first two digits are the Joinup major version.
* The following three digits are the Joinup minor version.
* The last two digits are an integer that sets the weight within updates or
post updates from the same extension (module or profile). `00` is the first
(post)update that applies.

For the above example:

* `function mymodule_update_0106100() {...}`: Was applied in Joinup `v1.61.x` as
the first update of the `mymodule` module (`01` major version, `061` minor
version, `00` update weight within the module).
* `function mymodule_post_update_0207503() {...}`: Was applied in Joinup
`v2.75.x` as the fourth post update of the `mymodule` module (`02` major
version, `075` minor version, `03` update weight within the module).


### Technical details

* In [Rdf draft module](web/modules/custom/rdf_entity/rdf_draft/README.md)
Expand Down
79 changes: 13 additions & 66 deletions build.continuousphp.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,61 +2,20 @@

<project name="ContinuousPHP" default="help">

<echo msg="Loading AWS additional tasks." />
<import file="./vendor/continuousphp/aws-sdk-phing/tasks.xml" />
<property name="aws.profile" value="" />

<echo msg="Turn environment variable into a phing property" />
<taskdef name="env2property" classname="\DrupalProject\Phing\EnvironmentVarAsProperty" />

<echo msg="Loading infra additional tasks." />
<import file="./vendor/ec-europa/infra/infra.xml" />

<!-- Run Behat tests. -->
<!-- Use this target to run tests with increased verbosity on ContinuousPHP to help debugging. -->
<target name="run-behat-tests" description="Run Behat tests.">
<behat
executable="${behat.bin}"
config="${behat.yml.path}"
strict="${behat.options.strict}"
verbose="${behat.options.verbosity}"
/>
</target>

<target name="setup-continuousphp"
depends="check-continuousphp">
<target name="setup-continuousphp" depends="check-continuousphp">
<echo msg="Set the virtuoso checkpoint to -1. Do not use a checkpoint for CPHP testing."/>
<phingcall target="set-virtuoso-checkpoint">
<property name="interval" value="-1"/>
</phingcall>
<echo message="Put the odbc configuration file in the home folder where CPHP can find it" />
<copy
file="./vendor/ec-europa/infra/continuousphp/odbc.ini"
tofile="${user.home}/.odbc.ini"
overwrite="true" />

<echo message="Create Solr index" />
<exec dir="${project.basedir}"
command="sudo curl -o /opt/solr/search_api_solr.tar.gz https://ftp.drupal.org/files/projects/search_api_solr-8.x-1.0-alpha4.tar.gz;
sudo tar xvzf /opt/solr/search_api_solr.tar.gz -C /opt/solr;
sudo /opt/solr/bin/solr create_core -c drupal_published;
sudo mkdir /opt/solr/server/solr/drupal_published;
sudo rsync -avz /opt/solr/search_api_solr/solr-conf/6.x/ /opt/solr/server/solr/drupal_published/conf/;
sudo /opt/solr/bin/solr create_core -c drupal_unpublished;
sudo mkdir /opt/solr/server/solr/drupal_unpublished;
sudo rsync -avz /opt/solr/search_api_solr/solr-conf/6.x/ /opt/solr/server/solr/drupal_unpublished/conf/"
command="sudo chmod -R 777 /opt/solr > /dev/null;
/opt/solr/bin/solr create_core -c drupal_published -d ${project.basedir}/web/modules/contrib/search_api_solr/solr-conf/6.x/;
/opt/solr/bin/solr create_core -c drupal_unpublished -d ${project.basedir}/web/modules/contrib/search_api_solr/solr-conf/6.x/"
checkreturn="true"
passthru="true" />
<echo message="Report Solr status" />
<exec dir="${project.basedir}"
command="sudo /opt/solr/bin/solr status"
checkreturn="true"
passthru="true" />
<echo message="Restart Solr" />
<exec dir="${project.basedir}"
command="sudo /opt/solr/bin/solr restart"
checkreturn="true"
passthru="true"
spawn="true" />
<symlink link="${project.basedir}/vendor/bin/solr" target="/opt/solr/bin/solr"/>
</target>

<target name="check-continuousphp">
Expand All @@ -71,20 +30,7 @@ sudo rsync -avz /opt/solr/search_api_solr/solr-conf/6.x/ /opt/solr/server/solr/d
</if>
</target>

<target name="build-continuousphp" >
<echo message="Install the SASS compiler" />
<exec dir="${project.basedir}"
command="gem install sass"
checkreturn="true"
passthru="true" />
<!-- Set environment variables as extra properties through cloudformation -->
<env2property prefix="cphp" phingproperty="cloudformation.properties" />
<echo message="Copy CPHP pipeline variables to local properties file" />
<echoproperties prefix="cphp." destfile="build.properties.local" />
<exec dir="${project.basedir}"
command="sed -i 's/^cphp\.//' build.properties.local"
checkreturn="true"
passthru="true" />
<target name="build-continuousphp" depends="check-continuousphp">
<echo message="Create the Behat configuration files to run in parallel." />
<phingcall target="setup-behat">
<property name="behat.yml.path" value="${behat.dir}/behat-only-selenium-cphp.yml" />
Expand All @@ -102,12 +48,8 @@ sudo rsync -avz /opt/solr/search_api_solr/solr-conf/6.x/ /opt/solr/server/solr/d
<property name="behat.yml.path" value="${behat.dir}/behat-remainder-cphp.yml" />
<property name="behat.yml.template" value="${behat.dir}/behat-remainder-cphp.yml.dist" />
</phingcall>
</target>

<!-- provision new demo/test stack on AWS -->
<target name="provision-stack"
description="Provision a stack on AWS"
depends="setup-aws, run-stack, setup-deployment-group" />
</target>

<!-- Sleeps to allow services to get up and be ready -->
<target name="sleep">
Expand All @@ -118,4 +60,9 @@ sudo rsync -avz /opt/solr/search_api_solr/solr-conf/6.x/ /opt/solr/server/solr/d
milliseconds="${sleep.milliseconds}"/>
</target>

<!-- Checks to execute during build phase to exit early in case of easily preventable errors. -->
<target name="sanity-check">
<exec command="./vendor/bin/run dev:check-deprecated-code" checkreturn="true" passthru="true" />
</target>

</project>
Loading