diff --git a/src/main/java/org/ecocean/Adoption.java b/src/main/java/org/ecocean/Adoption.java deleted file mode 100644 index 8f31d7ed2b..0000000000 --- a/src/main/java/org/ecocean/Adoption.java +++ /dev/null @@ -1,171 +0,0 @@ -package org.ecocean; - -import javax.servlet.http.HttpServletRequest; - -import org.datanucleus.api.rest.orgjson.JSONException; -import org.datanucleus.api.rest.orgjson.JSONObject; - -/** - * COmment - * - * @author jholmber - */ -public class Adoption implements java.io.Serializable { - static final long serialVersionUID = -1020952058521486782L; - - private String id; - private String stripeCustomerId; - private String adopterName; - private String adopterAddress; - private String adopterEmail; - private String adopterImage; - private String adoptionStartDate; - private String adoptionEndDate; - private String adopterQuote; - private String adoptionManager; - private String individual; - private String encounter; - private String notes; - private String adoptionType; - - public Adoption(String id, String adopterName, String adopterEmail, String adoptionStartDate, - String adoptionEndDate) { - this.adopterName = adopterName; - this.adopterEmail = adopterEmail; - this.adoptionStartDate = adoptionStartDate; - this.adoptionEndDate = adoptionEndDate; - this.id = id; - } - - public String getAdopterName() { - return adopterName; - } - - public String getAdopterAddress() { - return adopterAddress; - } - - public String getAdopterEmail() { - return adopterEmail; - } - - public String getAdopterImage() { - return adopterImage; - } - - public String getAdoptionStartDate() { - return adoptionStartDate; - } - - public String getAdoptionEndDate() { - return adoptionEndDate; - } - - public String getAdopterQuote() { - return adopterQuote; - } - - public String getAdoptionManager() { - return adoptionManager; - } - - public String getNotes() { - return notes; - } - - public String getMarkedIndividual() { - return individual; - } - - public String getEncounter() { - return encounter; - } - - public String getID() { - return id; - } - - public String getStripeCustomerId() { - return stripeCustomerId; - } - - public String getAdoptionType() { - return adoptionType; - } - - public void setAdopterName(String name) { - this.adopterName = name; - } - - public void setAdopterAddress(String addr) { - this.adopterAddress = addr; - } - - public void setAdopterEmail(String em) { - this.adopterEmail = em; - } - - public void setAdopterImage(String img) { - if (img == null) { img = null; } else { - this.adopterImage = img; - } - } - - public void setAdoptionStartDate(String date) { - this.adoptionStartDate = date; - } - - public void setAdoptionEndDate(String date) { - this.adoptionEndDate = date; - } - - public void setAdopterQuote(String quote) { - this.adopterQuote = quote; - } - - public void setAdoptionManager(String man) { - this.adoptionManager = man; - } - - public void setNotes(String nt) { - this.notes = nt; - } - - public void setIndividual(String sh) { - this.individual = sh; - } - - public void setEncounter(String sh) { - this.encounter = sh; - } - - public void setID(String i) { - this.id = i; - } - - public void setStripeCustomerId(String sci) { - this.stripeCustomerId = sci; - } - - public void setAdoptionType(String at) { - this.adoptionType = at; - } - - // Returns a somewhat rest-like JSON object containing the metadata - public JSONObject uiJson(HttpServletRequest request, boolean includeOrganizations) - throws JSONException { - JSONObject jobj = new JSONObject(); - - jobj.put("id", this.getID()); - jobj.put("stripeCustomerId", this.getStripeCustomerId()); - jobj.put("adopterEmail", this.getAdopterEmail()); - jobj.put("adopterName", this.getAdopterName()); - jobj.put("adopterImage", this.getAdopterImage()); - jobj.put("adoptionType", this.getAdoptionType()); - jobj.put("encounter", this.getEncounter()); - jobj.put("individual", this.getMarkedIndividual()); - jobj.put("adoptionStartDate", this.getAdoptionStartDate()); - jobj.put("adoptionEndDate", this.getAdoptionEndDate()); - return jobj; - } -} diff --git a/src/main/java/org/ecocean/CommonConfiguration.java b/src/main/java/org/ecocean/CommonConfiguration.java index d8541010da..4879cf0754 100644 --- a/src/main/java/org/ecocean/CommonConfiguration.java +++ b/src/main/java/org/ecocean/CommonConfiguration.java @@ -328,16 +328,6 @@ public static String getNumIaResultsUserCanInspect(String context) { } } - public static String getAdoptionCampaignUrl(String context) { - try { - return getProperty("adoptionCampaignUrl", context).trim(); - } catch (NullPointerException e) { - System.out.println( - "NPE in getAdoptionCampaignUrl. Returning blank string as a default."); - return ""; - } - } - public static String getAnimalSingular(String context) { try { return getProperty("animalSingular", context).trim(); @@ -587,22 +577,6 @@ public static boolean showProperty(String thisString, String context) { return true; } - /** - * This configuration option defines whether adoptions of MarkedIndividual or encounter objects are allowed. Generally adoptions are used as a - * fundraising or public awareness tool. - * - * @return true if adoption functionality should be displayed. False if adoptions are not supported in this catalog. - */ - public static boolean allowAdoptions(String context) { - initialize(context); - boolean canAdopt = true; - if ((getProperty("allowAdoptions", context) != null) && (getProperty("allowAdoptions", - context).equals("false"))) { - canAdopt = false; - } - return canAdopt; - } - public static Double getCenterLat(String context) { double returnVal = 10.8; diff --git a/src/main/java/org/ecocean/IndividualQueryProcessor.java b/src/main/java/org/ecocean/IndividualQueryProcessor.java index 1e63244f24..d8d2e143c0 100644 --- a/src/main/java/org/ecocean/IndividualQueryProcessor.java +++ b/src/main/java/org/ecocean/IndividualQueryProcessor.java @@ -1407,7 +1407,6 @@ public static MarkedIndividualQueryResult processQuery(Shepherd myShepherd, allSharks = myShepherd.getAllMarkedIndividuals(query, "dateTimeLatestSighting descending", paramMap); } - // Added to show adoptable sharks in gallery. else if (request.getParameter("sort").equals("dateTimeLatestSighting")) { allSharks = myShepherd.getAllMarkedIndividuals(query, "dateTimeLatestSighting descending", paramMap); diff --git a/src/main/java/org/ecocean/MarkedIndividual.java b/src/main/java/org/ecocean/MarkedIndividual.java index 6007e7aba6..37e750aec8 100644 --- a/src/main/java/org/ecocean/MarkedIndividual.java +++ b/src/main/java/org/ecocean/MarkedIndividual.java @@ -60,6 +60,7 @@ public class MarkedIndividual extends Base implements java.io.Serializable { private String seriesCode = "None"; // the default is what was previously returned by .getNickName(), not the actual val + // these values are left for "historical record" even though adoptions are being sunset in issue 283 public final String DEFAULT_NICKNAME = "Unassigned"; private String nickName = "", nickNamer = ""; @@ -893,6 +894,7 @@ public void setNickName(String newName) { this.addNameByKey(NAMES_KEY_NICKNAME, newName); } + // setter removed by issue 283 (adoption retirement) public String getNickNamer() { if (nickNamer != null) { return nickNamer; @@ -901,10 +903,6 @@ public String getNickNamer() { } } - public void setNickNamer(String newNamer) { - nickNamer = newNamer; - } - public void setName(String newName) { this.addName(newName); } diff --git a/src/main/java/org/ecocean/NotificationMailer.java b/src/main/java/org/ecocean/NotificationMailer.java index 98623feb1d..ec01fd194b 100644 --- a/src/main/java/org/ecocean/NotificationMailer.java +++ b/src/main/java/org/ecocean/NotificationMailer.java @@ -542,31 +542,6 @@ public void replaceRegexInHtmlText(String search, String replace) { } } - /** - * Creates a basic tag map for the specified adoption. This map can subsequently be enhanced with extra tags. Adoption tags included: - *
Return to the Adoption Create/Edit page.
\n"); - out.println(ServletUtilities.getFooter(context)); - } else { - out.println(ServletUtilities.getHeader(request)); - out.println( - "Failure! I failed to delete this adoption. Check the logs for more details."); - response.setStatus(HttpServletResponse.SC_BAD_REQUEST); - out.println("Return to the Adoption Create/Edit page.
\n"); - out.println(ServletUtilities.getFooter(context)); - } - } else { - myShepherd.rollbackDBTransaction(); - myShepherd.closeDBTransaction(); - out.println(ServletUtilities.getHeader(request)); - response.setStatus(HttpServletResponse.SC_BAD_REQUEST); - out.println( - "Error: I was unable to remove your image file. I cannot find the encounter that you intended it for in the database."); - out.println(ServletUtilities.getFooter(context)); - } - out.close(); - } -} diff --git a/src/main/java/org/ecocean/servlet/IndividualAddEncounter.java b/src/main/java/org/ecocean/servlet/IndividualAddEncounter.java index ccd629a6df..0de0bd1235 100644 --- a/src/main/java/org/ecocean/servlet/IndividualAddEncounter.java +++ b/src/main/java/org/ecocean/servlet/IndividualAddEncounter.java @@ -264,20 +264,6 @@ public static void executeEmails(Shepherd myShepherd, HttpServletRequest request // System.out.println("Emailing cOthers member:" +emailTo); es.execute(new NotificationMailer(context, langCode, emailTo, emailTemplate2, tagMap)); } - // Notify adopters - Extent encClass = myShepherd.getPM().getExtent(Adoption.class, true); - Query query = myShepherd.getPM().newQuery(encClass); - List"+request.getRemoteUser()+" on "+(new java.util.Date()).toString()+"
"+"Restored this
- // encounter after accidental deletion.");
- String newnum = myShepherd.storeNewAdoption(restoreMe,
- (request.getParameter("number")));
- // thisEncounterDat.delete();
- } catch (Exception eres) {
- locked = true;
- myShepherd.rollbackDBTransaction();
- myShepherd.closeDBTransaction();
- eres.printStackTrace();
- }
- if (!locked) {
- out.println(ServletUtilities.getHeader(request));
- out.println("Success! I have successfully restored adoption " +
- request.getParameter("number") + " from accidental deletion.
Return to adoption " + encounterNumber + "
\n"); - out.println(ServletUtilities.getFooter(context)); - // String message="The matched by type for encounter "+encounterNumber+" was changed from "+prevMatchedBy+" to "+matchedBy+"."; - // informInterestedParties(encounterNumber, message); - } else { - out.println(ServletUtilities.getHeader(request)); - out.println( - "Failure! This adoption cannot be restored due to an unknown error. Please contact the webmaster."); - - // out.println("Return to - // encounter "+encounterNumber+"
\n"); - out.println(ServletUtilities.getFooter(context)); - } - } else { - out.println(ServletUtilities.getHeader(request)); - out.println( - "Failure! I could not find the DAT file to restore this adoption from."); - - // out.println("Return to encounter - // "+encounterNumber+"
\n"); - out.println(ServletUtilities.getFooter(context)); - } - } else { - myShepherd.rollbackDBTransaction(); - out.println(ServletUtilities.getHeader(request)); - out.println( - "Error: I was unable to resurrect the adoption because I did not know which adoption you were referring to, or this adoption still exists in the database!"); - // out.println("Return to shark - // "+request.getParameter("shark")+"
\n"); - out.println(ServletUtilities.getFooter(context)); - } - myShepherd.closeDBTransaction(); - out.close(); - } -} diff --git a/src/main/java/org/ecocean/servlet/StripePayment.java b/src/main/java/org/ecocean/servlet/StripePayment.java deleted file mode 100644 index 90d043a2a5..0000000000 --- a/src/main/java/org/ecocean/servlet/StripePayment.java +++ /dev/null @@ -1,157 +0,0 @@ -package org.ecocean.servlet; - -import org.ecocean.*; - -import java.io.*; -import javax.servlet.*; -import javax.servlet.http.*; - -import java.util.HashMap; -import java.util.Map; -import java.util.Properties; - -import com.stripe.exception.StripeException; -import com.stripe.model.Charge; -import com.stripe.model.Customer; -import com.stripe.Stripe; -import java.util.concurrent.ThreadPoolExecutor; - -public class StripePayment extends HttpServlet { - public void init(ServletConfig config) - throws ServletException { - super.init(config); - } - - public void doGet(HttpServletRequest request, HttpServletResponse response) - throws ServletException, IOException { - doPost(request, response); - } - - public void doPost(HttpServletRequest request, HttpServletResponse response) - throws IOException { - MapReturn to the Adoption Create/Edit page.
\n"); out.println(ServletUtilities.getFooter(context)); } } else { diff --git a/src/main/java/org/ecocean/servlet/importer/FixStandardImport.java b/src/main/java/org/ecocean/servlet/importer/FixStandardImport.java index deb5663c7d..c42f39fc2f 100644 --- a/src/main/java/org/ecocean/servlet/importer/FixStandardImport.java +++ b/src/main/java/org/ecocean/servlet/importer/FixStandardImport.java @@ -475,8 +475,6 @@ public MarkedIndividual loadIndividual(Row row, Encounter enc) { String nickname = getString(row, "MarkedIndividual.nickname"); if (nickname == null) nickname = getString(row, "MarkedIndividual.nickName"); if (nickname != null) mark.setNickName(nickname); - String nicknamer = getString(row, "MarkedIndividual.nickNamer"); - if (nicknamer != null) mark.setNickNamer(nicknamer); String alternateID = getString(row, "MarkedIndividual.alternateID"); if (alternateID != null) mark.setAlternateID(alternateID); String genus = getString(row, "Encounter.genus"); diff --git a/src/main/resources/bundles/commonConfiguration.properties b/src/main/resources/bundles/commonConfiguration.properties index f74c7b560a..3ac1285131 100755 --- a/src/main/resources/bundles/commonConfiguration.properties +++ b/src/main/resources/bundles/commonConfiguration.properties @@ -12,9 +12,6 @@ defaultProjectOrganizationParameter = IndoCet defaultProjName = Indocet Opportunistic Sightings defaultProjId = IndoCetOppS- -#file system folder in which adoption data will be stored (e.g. photos) -#adoptionLocation=adoptions - dataDirectoryName = wildbook_data_dir #URL to the graphic to be displayed at the top of every page through header.jsp @@ -32,9 +29,6 @@ GlobalUniqueIdentifierPrefix=MyGroup:MyStudy: #wikiLocation=http://www.mantamatcher.org/wiki/doku.php?id= -#whether to display and allow adoptions - set to true for yes and false for no -allowAdoptions = false - #email addresses and parameters sendEmailNotifications=true autoEmailAddress=info@wildbook.org @@ -440,7 +434,6 @@ uploadTmpDir = /data/upload numIaResultsUserCanInspect=16 -adoptionCampaignUrl = https://donorbox.org/embed/adopt-an-animal-2 animalSingular=changeme animalPlural=changeme animalSingularCapitalized=changeme @@ -461,4 +454,4 @@ wildbookCommunityUrl=https://community.wildme.org ### for page timeout sessionCountdownTime = 10 -sessionWarningTime = 20 \ No newline at end of file +sessionWarningTime = 20 diff --git a/src/main/resources/bundles/de/adoption.properties b/src/main/resources/bundles/de/adoption.properties deleted file mode 100644 index b856c92602..0000000000 --- a/src/main/resources/bundles/de/adoption.properties +++ /dev/null @@ -1,12 +0,0 @@ -id = ID -stripeCustomerId = Stripe-Kunden-ID -adopterName = Name des Adopters -adopterEmail = E-Mail -adoptionStartDate = Startdatum -individual = Einzelperson -encounter = Begegnung -adoptionType = Typ -filterByText = Filtern nach -filter = Filtern -clear = L\u00F6schen -title = Adoptionen \ No newline at end of file diff --git a/src/main/resources/bundles/de/header.properties b/src/main/resources/bundles/de/header.properties index 3d40498369..c358aa6a3e 100755 --- a/src/main/resources/bundles/de/header.properties +++ b/src/main/resources/bundles/de/header.properties @@ -34,9 +34,6 @@ general = Bibliotheksverwaltung tapirLink = TapirLink iptLink = GBIF IPT photoKeywords = Foto-Schl\u00FCsselw\u00F6rter -adoptions = Adoptionen -createEditAdoption = Adoption erstellen/bearbeiten -viewAllAdoptions = Alle Adoptionen anzeigen contactUs = Kontaktieren Sie uns login = Anmelden logout = Abmelden @@ -80,7 +77,6 @@ bulkImportLogs = Massenimportprotokolle citing = Wildbook zitieren gallery = Galerie -adoptAnAnimal = Adoptiere einen Hai manageProjects = Projekte verwalten researchProjects = Forschungsprojekte @@ -103,4 +99,4 @@ closeButton = Schlie\u00DFen sessionHeaderWarning = Warnung vor Sitzungszeit\u00FCberschreitung sessionModalContent = Ihre Sitzung l\u00E4uft in K\u00FCrze ab. sessionLoginButton = Anmelden -sessionLoginModalContent = Sie wurden vom System abgemeldet. \ No newline at end of file +sessionLoginModalContent = Sie wurden vom System abgemeldet. diff --git a/src/main/resources/bundles/de/index.properties b/src/main/resources/bundles/de/index.properties index f62a9f571d..4a97391d82 100755 --- a/src/main/resources/bundles/de/index.properties +++ b/src/main/resources/bundles/de/index.properties @@ -54,15 +54,12 @@ inspiredQuote = Platzieren Sie hier ein inspirierendes Zitat. knowMore = Ich m\u00F6chte mehr wissen worldEncs = Begegnungen rund um die Welt -# The following are html/text chunks from the adoption and donation section. +# The following are html/text chunks from the donation section. # This is a text dense area, and formatting this way reduces the amount of # variables in props significantly. -adoptionHeader =Wenn Sie nicht vor Ort sind, gibt es noch andere M\u00F6glichkeiten, sich zu engagieren
-adoptionBody =Spenden, auch Sachspenden, ob gro\u00DF oder klein, sind immer willkommen. Ihre Unterst\u00FCtzung hilft bei der Weiterentwicklung unseres Projekts und kann ein effektives, wissenschaftlich fundiertes Erhaltungsmanagement unterst\u00FCtzen, um diese Tiere und ihren Lebensraum zu sch\u00FCtzen.
Erfahren Sie mehr dar\u00FCber, wie Sie spenden k\u00F6nnenSpenden, auch Sachspenden, ob gro\u00DF oder klein, sind immer willkommen. Ihre Unterst\u00FCtzung hilft bei der Weiterentwicklung unseres Projekts und kann ein effektives, wissenschaftlich fundiertes Erhaltungsmanagement unterst\u00FCtzen, um diese Tiere und ihren Lebensraum zu sch\u00FCtzen.
If you are not on site, there are still other ways to get engaged
-# adoptionBody =Donations, including in-kind, large or small, are always welcome. Your support helps the continued development of our project and can support effective, science-based conservation management, and safeguard these animals and their habitat.
Learn more about how to donateDonations, including in-kind, large or small, are always welcome. Your support helps the continued development of our project and can support effective, science-based conservation management, and safeguard these animals and their habitat.
Si no est\u00E1 en el sitio, todav\u00EDa hay otras formas de comprometerse
- -adoptionBody =Las donaciones, incluidas las en especie, grandes o peque\u00F1as, son siempre bienvenidas. Su apoyo ayuda al desarrollo continuo de nuestro proyecto y puede apoyar una gesti\u00F3n de la conservaci\u00F3n basada en la ciencia y salvaguardar estos animales y su h\u00E1bitat.
M\u00E1s informaci\u00F3n sobre c\u00F3mo donarLas donaciones, incluidas las en especie, grandes o peque\u00F1as, son siempre bienvenidas. Su apoyo ayuda al desarrollo continuo de nuestro proyecto y puede apoyar una gesti\u00F3n de la conservaci\u00F3n basada en la ciencia y salvaguardar estos animales y su h\u00E1bitat.
Si vous n'\u00eates pas sur place, il existe encore d'autres moyens de vous engager
- -adoptionBody =dons, qu'ils soient en nature, grands ou petits, sont toujours les bienvenus. Votre soutien contribue au d\u00e9veloppement continu de notre projet et peut soutenir la gestion de la conservation efficace et fond\u00e9e sur la science, ainsi que la sauvegarde de ces animaux et de leur habitat.
En savoir plus sur la façon de faire un dondons, qu'ils soient en nature, grands ou petits, sont toujours les bienvenus. Votre soutien contribue au d\u00e9veloppement continu de notre projet et peut soutenir la gestion de la conservation efficace et fond\u00e9e sur la science, ainsi que la sauvegarde de ces animaux et de leur habitat.
Se non sei sul sito, ci sono altri modi per partecipare p> - -adoptionBody =
Donazioni, anche materiali, grandi o piccole, sono sempre ben accette. Il vostro sostegno aiuta a portare avanti il nostro progetto e pu\u00F2 sostenere un'efficace gestione della tutela dei cetacei fondata sulla scienza, per proteggere questi animali e il loro habitat. P> Ulteriori informazioni su come donare div>
Donazioni, anche materiali, grandi o piccole, sono sempre ben accette. Il vostro sostegno aiuta a portare avanti il nostro progetto e pu\u00F2 sostenere un'efficace gestione della tutela dei cetacei fondata sulla scienza, per proteggere questi animali e il loro habitat. P> div>
-
|
-
|
Thanks - again for your critical help! If - you're interested in supporting - our research to understand and - protect animals like yours, - please adopt and nickname your - whales!
+ again for your critical help! To keep this project alive, consider donating. +Thanks - again for your critical help! If - you're interested in supporting - our research to understand and - protect animals like yours, - please adopt and nickname your - animal!
+ again for your critical help! To keep this project alive, consider donating. +Thanks - again for your critical help!
+ again for your critical help! To keep this project alive, consider donating. +@ADOPTER_QUOTE@
-- @ADOPTER_NAME@ adopted @INDIVIDUAL_NICKNAME@ the whale shark on @ADOPTION_START@. -
-Thank you for your support @ADOPTER_NAME@. We hope to spot @INDIVIDUAL_NICKNAME@ again soon. You'll be the first to know when we do. If you would ever like to discontinue your support, please RETAIN THIS EMAIL and click the link below to stop you contributions.
-Many thanks,
-The Wildbook for Whale Sharks Family
-Adoption Details:
-We've spotted @INDIVIDUAL_NICKNAME@! Have a look - @TEXT_CONTENT@
-Thank you for your continued support,
- -The Wildbook for Whale Sharks
-Previously identified record: @INDIVIDUAL_ID@ (Alternate ID: @INDIVIDUAL_ALT_ID@) @INDIVIDUAL_LINK@
New encounter: @ENCOUNTER_ID@@ENCOUNTER_LINK@
-Thanks again for your critical help! If you're interested in supporting our research to understand and protect animals like yours, please adopt and nickname your sharks!
+Thanks again for your critical help!
You discovered a new animal for science!
Newly marked whale shark: @INDIVIDUAL_ID@@INDIVIDUAL_LINK@
Encounter: @ENCOUNTER_ID@@ENCOUNTER_LINK@
-Thanks again for your critical help! If you're interested in supporting our research to understand and protect animals like yours, please adopt and nickname your animal!
+Thanks again for your critical help! To keep this project alive, consider donating.
Just a quick e-mail to let you know that a whale shark that you sent us encounter data for has been seen again and positively identified. Follow the links below to learn more.
Previously identified shark: @INDIVIDUAL_ID@ (Alternate ID: @INDIVIDUAL_ALT_ID@) @INDIVIDUAL_LINK@
New encounter: @ENCOUNTER_ID@@ENCOUNTER_LINK@
-Thanks again for your critical help!
+Thanks again for your critical help! To keep this project alive, consider donating.
- Can you help researchers study and protect whale sharks? -
-- Wild Me is a lab under Conservation X Labs, a 501(c)(3) non-profit that develops the cutting edge technology for a global community of wildlife researchers. Are you interested in further supporting our mission? -
- -Hello @ADOPTER_NAME@!
- -This is a confirmation email for your recent adoption of @INDIVIDUAL_NICKNAME@. -Thank you for contributing to our efforts in mark-recapture for these -amazing animals.
- -Make sure you save this email! It contains the links for changing you information, and -cancellation.
- - -To cancel your adoption at any time, retain this email and click on the link below.
- -Cancel Here at Any Time diff --git a/src/main/resources/emails/old emails/collaborationInvite.html b/src/main/resources/emails/old emails/collaborationInvite.html deleted file mode 100755 index 58c28ca91d..0000000000 --- a/src/main/resources/emails/old emails/collaborationInvite.html +++ /dev/null @@ -1,7 +0,0 @@ -You have a request to collaborate on @CONTEXT_NAME@ from @SENDER@.
- -Please see: @LINK@
- -Hello!
- -Just a quick email to let you know of a change in data for a whale shark encounter that you have marked for tracking. See the text below to learn more.
- -Encounter: @ENCOUNTER_ID@
- @ENCOUNTER_LINK@
Change:
- -Hello!
-Just a quick email to let you know that a marine mammal that you adopted
- has been seen again and positively identified in the Flukebook
- photo-identification library.
- Follow the link below to learn more.
Thanks again for your critical help and support!
- - diff --git a/src/main/resources/emails/old emails/individualAddEncounter.html b/src/main/resources/emails/old emails/individualAddEncounter.html deleted file mode 100755 index 268fa84688..0000000000 --- a/src/main/resources/emails/old emails/individualAddEncounter.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - -Hello!
-Just a quick email to let you know that the whale shark encounter that
- you submitted has been matched to a shark
- in the Wildbook for Whale Sharks photo-identification library.
- Follow these links to find out more:
Previously identified record: @INDIVIDUAL_ID@ (Alternate ID:
- @INDIVIDUAL_ALT_ID@)
- @INDIVIDUAL_LINK@
New encounter: @ENCOUNTER_ID@
- @ENCOUNTER_LINK@
Thanks again for your critical help! If you're interested in supporting - our research to understand and protect animals like yours, please adopt - and nickname your sharks!
- - diff --git a/src/main/resources/emails/old emails/individualCreate.html b/src/main/resources/emails/old emails/individualCreate.html deleted file mode 100755 index e9eefafc59..0000000000 --- a/src/main/resources/emails/old emails/individualCreate.html +++ /dev/null @@ -1,14 +0,0 @@ - -Hello!
-Just a quick e-mail to let you know that the encounter that you submitted - has been added as a new, - previously unidentified whale shark!
-You discovered a new animal for science!
-Newly marked whale shark: @INDIVIDUAL_ID@
- @INDIVIDUAL_LINK@
Encounter: @ENCOUNTER_ID@
- @ENCOUNTER_LINK@
Thanks again for your critical help! If you're interested in supporting - our research to understand and protect animals like yours, please adopt - and nickname your animal!
- diff --git a/src/main/resources/emails/old emails/individualDataUpdate.html b/src/main/resources/emails/old emails/individualDataUpdate.html deleted file mode 100755 index c842661eac..0000000000 --- a/src/main/resources/emails/old emails/individualDataUpdate.html +++ /dev/null @@ -1,12 +0,0 @@ -Hello!
- -Just a quick email to let you know of a change in data for a whale shark that you have marked for tracking. See the text below to learn more.
- -Individual: @INDIVIDUAL_ID@
- @INDIVIDUAL_LINK@
Change:
- -Hello!
-Just a quick e-mail to let you know that a whale shark that you sent us encounter data for has been seen again and positively identified. Follow the links below to learn more. -
-Previously identified shark: @INDIVIDUAL_ID@ (Alternate ID:
- @INDIVIDUAL_ALT_ID@)
- @INDIVIDUAL_LINK@
New encounter: @ENCOUNTER_ID@
- @ENCOUNTER_LINK@
Thanks again for your critical help! If you're interested in supporting - our research to understand and protect animals like yours, please click here to adopt - and nickname your animal!
diff --git a/src/main/resources/emails/old emails/newSubmission.html b/src/main/resources/emails/old emails/newSubmission.html deleted file mode 100755 index adca692603..0000000000 --- a/src/main/resources/emails/old emails/newSubmission.html +++ /dev/null @@ -1,8 +0,0 @@ -Thank you for reporting your whale shark sighting! We will use your information to assist a global community of researchers and citizen scientists working to better understand and protect the world's biggest fish.
- -Your encouner link:
- @ENCOUNTER_LINK@
The information that you have submitted represents an "encounter" that we track. Each encounter is assigned a unique number, and you can view that encounter at any time using the link above or by going to Wildbook for Whale Sharks. We will keep you informed of any changes to your submitted encounter and email you if the shark is matched to another one within this Wildbook database. We will also let you know if/when and where your animal is resighted by other community members.
diff --git a/src/main/resources/emails/old emails/passwordReset.html b/src/main/resources/emails/old emails/passwordReset.html deleted file mode 100755 index 3857234385..0000000000 --- a/src/main/resources/emails/old emails/passwordReset.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - -Do you need to reset your password? Please follow this - link to reset it.
- - - diff --git a/src/main/resources/org/ecocean/package.jdo b/src/main/resources/org/ecocean/package.jdo index 405915d47f..3c6370195e 100755 --- a/src/main/resources/org/ecocean/package.jdo +++ b/src/main/resources/org/ecocean/package.jdo @@ -98,48 +98,6 @@