Commit graph

54 commits

Author SHA1 Message Date
5e3d693aaa Correct the machine name of the people content type in the image to media transformation 2024-10-07 11:59:55 -07:00
c10d92021f Add deploy hook to migrate images to media using migration helpers 2024-10-07 11:59:55 -07:00
4d03914d17 Add D10 compatibility to geo upgrade cusstom module 2024-10-07 11:46:38 -07:00
141c1b25a4 Add Drupal 10 compatibility for geo custom module and theme 2024-02-21 11:42:19 -08:00
f620df02ca Declare custom modules & themes compatible with Drupal 9 2021-11-19 10:02:02 -05:00
f322a7c93a Iterate through authors as getting value directly only gets the first
Ref #108
2021-08-18 22:16:50 -04:00
1ab0ad4b3e Prevent errors trying to get values where are none
Notice: Trying to get property 'title' (and then 'value') of non-object

Ref #108
2021-08-18 21:52:24 -04:00
David Valdez
563c7ee62a Comment temporary all the fields that we don't want to update 2019-10-02 21:35:44 -05:00
David Valdez
e7f8b292c9 Add the bio of the persons in the paragraph field 2019-10-02 21:02:54 -05:00
David Valdez
964f541a08 Remove the VID from the nodes, no need to consider them.
If a node was edited the VID won't match anymore with what we have in
the source, breaking the migration, so we let drupal  handle the
revision instead to update the value
2019-10-02 19:20:55 -05:00
David Valdez
7b0ff5e881 Migrate the bio field in the story migration. 2019-10-02 18:50:33 -05:00
David Valdez
9108d898df Add the summary in the authors.
The summary is just the bio of the author.
2019-10-02 13:44:29 -05:00
David Valdez
9b8dc97174 Rename some user roles.
administrator -> manager
proofreader -> contributor
content administrator -> editor
2019-09-30 16:05:46 -05:00
David Valdez
a64b7e11b4 Revert "No migrating permissions period ever good lord are you trying to drive me insane @gnuget?? :-P"
This reverts commit cd41f613ab.
2019-09-30 15:45:10 -05:00
David Valdez
42d6b6c757 Add the "publication date" default value in the blog and gleaning types 2019-09-30 15:24:54 -05:00
David Valdez
b9d4c3c0a4 The default value of "field_publication_date" is now the created date
In the issueindex and node story migrations
2019-09-30 14:59:17 -05:00
David Valdez
e86c9d99ec Add upgrade_d7_taxonomy_term_custom_terms as dependnecy of
upgrade_d7_node_issueindex
2019-09-30 14:11:19 -05:00
benjamin melançon
31836eafc4 Add a possibly complete Issue Index to Collection form 2019-09-30 14:55:12 -04:00
benjamin melançon
60122d37b1 Add untested issue index migration (modified from article migration) 2019-09-30 14:44:35 -04:00
David Valdez
5d213f8c63 Merge all the topics into a single field in the blogs and stories 2019-09-30 13:18:59 -05:00
benjamin melançon
20ddda7865 Unlink URL in citation; it's always on the same page 2019-09-29 17:19:03 -04:00
benjamin melançon
91a83b091b Make tooltip text a little clearer 2019-09-29 13:41:39 -04:00
benjamin melançon
6aecd53ae7 Make citation title a little less prominent 2019-09-29 13:40:38 -04:00
benjamin melançon
56f26ddc22 Fix IDE-caused typo of extra quotation mark 2019-09-29 12:22:00 -04:00
benjamin melançon
a21b35e850 Add generic term for one part of a column, to use in styling
'The term ‘drum’ is used to describe the individual circular sections places, one on top of another, to construct the shaft of the column.'
2019-09-29 12:21:30 -04:00
benjamin melançon
c584a088fb Correctly get the author, at least when only one 2019-09-29 12:20:57 -04:00
benjamin melançon
4ddfa5fc7c Comment out unused theme function suggestion 2019-09-29 10:21:38 -04:00
benjamin melançon
c58fa4b7a8 Give citation title classes, have URL link, and get spacing just perfect
Ref #10
2019-09-29 10:20:39 -04:00
benjamin melançon
d3d09f56ca Document corrected (not assuming a single value field) check for GEO Original term
Ref #10
2019-09-29 10:19:41 -04:00
benjamin melançon
1ea4670410 Get a pretty good draft of our citation section 2019-09-28 22:58:55 -04:00
benjamin melançon
6cab0a02bd Caught between saving data and doing this on view, leaning toward on view 2019-09-28 18:32:05 -04:00
benjamin melançon
fdc2a0900f Start a custom citations module
Looked into using bibcite - https://www.drupal.org/project/bibcite

but it a) wasn't designed for citing originally published articles
and b) did not document it's alleged API at all.  If it's not
documented, it's not an API, sorry.
2019-09-28 16:15:46 -04:00
benjamin melançon
cd41f613ab No migrating permissions period ever good lord are you trying to drive me insane @gnuget?? :-P 2019-09-28 10:46:27 -04:00
David Valdez
d4396c96c0 Fix in the terms migrations.
The parent is now a constant in the migrations that have a fixed parent.
2019-08-30 19:51:37 -05:00
David Valdez
fd5c5f6f13 Add a migration to create some custom terms. 2019-08-30 19:27:33 -05:00
David Valdez
d7e81b4703 Now the files migration does not die when a file is missing.
It now just ignore that file and continue with the rest.
2019-08-30 12:54:44 -05:00
David Valdez
e62dcf96f4 Some fixes in the terms migration.
The migrations fails if the static values aren't passed via a constant.
2019-08-30 12:11:47 -05:00
David Valdez
4345a50834 Link the articles with their authors. 2019-08-05 20:49:54 -05:00
David Valdez
927a9d0351 Add the Authors migration 2019-08-05 19:56:51 -05:00
David Valdez
3e2c4cfdbc All the terms are now part of the "topics" vocabulary.
And the old vocabularies were converted into term paremts.
2019-08-02 12:18:51 -05:00
David Valdez
1426f9b139 Add the "Geo Original" term.
All the articles with citations will have this term.
2019-08-01 16:45:27 -05:00
David Valdez
5c2c1c82d0 Add the publication date and the subtitle field in the story migration 2019-07-31 20:30:58 -05:00
David Valdez
f6d8fa955e Add the Article type vocabulary with two terms. 2019-07-31 19:42:53 -05:00
David Valdez
4977053781 Add a few comments in the url alias migration 2019-07-31 14:06:17 -05:00
David Valdez
937d6f775d Url aliases migration part1.
Right now it straight migrate the aliases but the idea is that instead
of migrate the aliases migrate them as redirects only if the new site
url does not match with the old one.
2019-07-31 12:03:15 -05:00
David Valdez
a4d0ef5828 Avoid to generate url alias automatically. 2019-07-30 20:28:56 -05:00
David Valdez
718a3850a2 Pages migration 2019-07-30 12:45:40 -05:00
David Valdez
731d30cd5f Migrate the taxonomy terms in the blog and articles content types 2019-07-22 18:12:44 -05:00
David Valdez
21e5ee8a16 Add the migrations of the vocabularies and terms.
The vocabularies that are going to be migrated are:

vocabulary_1
vocabulary_2
vocabulary_7
vocabulary_10
vocabulary_12
vocabulary_13
2019-07-22 17:37:01 -05:00
David Valdez
aeab446632 Gleaning migration 2019-07-22 16:46:28 -05:00