chore(migrations): move various files to archive

and remove erroneous comment bars
This commit is contained in:
Sabe Jones
2024-02-05 15:34:06 -06:00
parent 8b373b9283
commit 2ba74f1645
27 changed files with 10 additions and 50 deletions

View File

@@ -1,30 +0,0 @@
FROM node:14
ENV ADMIN_EMAIL admin@habitica.com
ENV EMAILS_COMMUNITY_MANAGER_EMAIL admin@habitica.com
ENV AMAZON_PAYMENTS_CLIENT_ID amzn1.application-oa2-client.68ed9e6904ef438fbc1bf86bf494056e
ENV AMAZON_PAYMENTS_SELLER_ID AMQ3SB4SG5E91
ENV AMPLITUDE_KEY e8d4c24b3d6ef3ee73eeba715023dd43
ENV BASE_URL https://habitica.com
ENV FACEBOOK_KEY 128307497299777
ENV GA_ID UA-33510635-1
ENV GOOGLE_CLIENT_ID 1035232791481-32vtplgnjnd1aufv3mcu1lthf31795fq.apps.googleusercontent.com
ENV LOGGLY_CLIENT_TOKEN ab5663bf-241f-4d14-8783-7d80db77089a
ENV NODE_ENV production
ENV STRIPE_PUB_KEY pk_85fQ0yMECHNfHTSsZoxZXlPSwSNfA
ENV APPLE_AUTH_CLIENT_ID 9Q9SMRMCNN.com.habitrpg.ios.Habitica
# Install global packages
RUN npm install -g gulp-cli mocha
# Clone Habitica repo and install dependencies
RUN mkdir -p /usr/src/habitrpg
WORKDIR /usr/src/habitrpg
RUN git clone --branch release --depth 1 https://github.com/HabitRPG/habitica.git /usr/src/habitrpg
RUN git config --global url."https://".insteadOf git://
RUN npm set unsafe-perm true
RUN npm install
# Start Habitica
EXPOSE 80 8080 36612
CMD ["node", "./website/transpiled-babel/index.js"]

View File

@@ -61,7 +61,7 @@ async function updateUser (user) {
export default async function processUsers () {
let query = {
// migration: {$ne: MIGRATION_NAME},
migration: {$ne: MIGRATION_NAME},
'auth.timestamps.loggedin': {$gt: new Date('2021-01-01')},
};

View File

@@ -105,7 +105,7 @@ async function updateUser (user) {
export default async function processUsers () {
let query = {
// migration: { $ne: MIGRATION_NAME },
migration: { $ne: MIGRATION_NAME },
'auth.timestamps.loggedin': { $gt: new Date('2021-08-01') },
};

View File

@@ -145,7 +145,7 @@ async function updateUser (user) {
export default async function processUsers () {
let query = {
// migration: { $ne: MIGRATION_NAME },
migration: { $ne: MIGRATION_NAME },
'auth.timestamps.loggedin': { $gt: new Date('2021-08-01') },
};

View File

@@ -105,7 +105,7 @@ async function updateUser (user) {
export default async function processUsers () {
let query = {
// migration: { $ne: MIGRATION_NAME },
migration: { $ne: MIGRATION_NAME },
'auth.timestamps.loggedin': { $gt: new Date('2021-08-01') },
};

View File

@@ -95,7 +95,7 @@ async function updateUser (user) {
export default async function processUsers () {
let query = {
// migration: { $ne: MIGRATION_NAME },
migration: { $ne: MIGRATION_NAME },
'auth.timestamps.loggedin': { $gt: new Date('2022-01-01') },
};

View File

@@ -86,7 +86,7 @@ async function updateUser (user) {
export default async function processUsers () {
let query = {
// migration: { $ne: MIGRATION_NAME },
migration: { $ne: MIGRATION_NAME },
'auth.timestamps.loggedin': { $gt: new Date('2022-01-01') },
};

View File

@@ -63,7 +63,7 @@ async function updateUser (user) {
&& pets['Wolf-Shade']
&& pets['Wolf-Skeleton']
&& pets['Wolf-White']
&& pets['Wolf-Zombie'] {
&& pets['Wolf-Zombie']) {
set['achievements.polarPro'] = true;
}
}
@@ -75,7 +75,7 @@ async function updateUser (user) {
export default async function processUsers () {
let query = {
// migration: { $ne: MIGRATION_NAME },
migration: { $ne: MIGRATION_NAME },
'auth.timestamps.loggedin': { $gt: new Date('2022-11-01') },
};

View File

@@ -125,7 +125,7 @@ async function updateUser (user) {
export default async function processUsers () {
let query = {
// migration: { $ne: MIGRATION_NAME },
migration: { $ne: MIGRATION_NAME },
'auth.timestamps.loggedin': { $gt: new Date('2023-04-15') },
};

View File

@@ -110,7 +110,7 @@ async function updateUser (user) {
export default async function processUsers () {
let query = {
migration: {$ne: MIGRATION_NAME},
// 'auth.timestamps.loggedin': { $gt: new Date('2023-07-08') },
'auth.timestamps.loggedin': { $gt: new Date('2023-07-08') },
};
const fields = {

View File

@@ -1,10 +0,0 @@
import csv
with open(r"/home/slappybag/Documents/SurveyScrape.csv") as f:
reader = csv.reader(f, delimiter=',', quotechar='"')
column = []
for row in reader:
if row:
column.append(row[4])
print column