Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update copyright #847

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
steps:
- checkout
- run: echo $'\n[mysqld]\ncharacter_set_server=utf8mb4\nmax_connections=10000' >> /etc/mysql/mysql.cnf
- run: apt-get -y -q install postgresql-9.5 postgresql-client-9.5 postgresql-contrib-9.5 sudo
- run: echo "host all all 0.0.0.0/0 md5" >> /etc/postgresql/9.5/main/pg_hba.conf
- run: echo "listen_addresses='*'" >> /etc/postgresql/9.5/main/postgresql.conf
- run: sed -i 's/^#*\s*max_connections\s*=.*/max_connections = 10000/' /etc/postgresql/9.5/main/postgresql.conf
- run: (cd .circleci/ && ./doTests.sh)
- slack/status

Expand Down
37 changes: 37 additions & 0 deletions .circleci/doTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,18 @@ do
currPinnedDb=$(echo "$pinnedDBArray" | jq ".[$i]")
currPinnedDb=$(echo "$currPinnedDb" | tr -d '"')

echo ""
echo ""
echo ""
echo ""
echo ""
echo "===== testing $currPinnedDb with plugin-interface $currVersion ====="
echo ""
echo ""
echo ""
echo ""
echo ""

i=$((i+1))

if [[ $currPinnedDb == "sqlite" ]]
Expand Down Expand Up @@ -148,11 +160,36 @@ do

if [[ $? -ne 0 ]]
then
echo ""
echo ""
echo ""
echo ""
echo ""
echo "===== testing $currPinnedDb with plugin-interface $currVersion FAILED ====="
echo ""
echo ""
echo ""
echo ""
echo ""

cat logs/*
cd ../project/
echo "test failed... exiting!"
exit 1
fi

echo ""
echo ""
echo ""
echo ""
echo ""
echo "===== testing $currPinnedDb with plugin-interface $currVersion SUCCEEDED ====="
echo ""
echo ""
echo ""
echo ""
echo ""

cd ../
rm -rf supertokens-root

Expand Down
56 changes: 56 additions & 0 deletions .circleci/startDb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,60 @@ case $1 in
mysql -u root --password=root -e "CREATE DATABASE st49;"
mysql -u root --password=root -e "CREATE DATABASE st50;"
;;
postgresql)
/etc/init.d/postgresql start
sudo -u postgres psql --command "CREATE USER root WITH SUPERUSER PASSWORD 'root';"
createdb
psql -c "create database supertokens;"
psql -c "create database st0;"
psql -c "create database st1;"
psql -c "create database st2;"
psql -c "create database st3;"
psql -c "create database st4;"
psql -c "create database st5;"
psql -c "create database st6;"
psql -c "create database st7;"
psql -c "create database st8;"
psql -c "create database st9;"
psql -c "create database st10;"
psql -c "create database st11;"
psql -c "create database st12;"
psql -c "create database st13;"
psql -c "create database st14;"
psql -c "create database st15;"
psql -c "create database st16;"
psql -c "create database st17;"
psql -c "create database st18;"
psql -c "create database st19;"
psql -c "create database st20;"
psql -c "create database st21;"
psql -c "create database st22;"
psql -c "create database st23;"
psql -c "create database st24;"
psql -c "create database st25;"
psql -c "create database st26;"
psql -c "create database st27;"
psql -c "create database st28;"
psql -c "create database st29;"
psql -c "create database st30;"
psql -c "create database st31;"
psql -c "create database st32;"
psql -c "create database st33;"
psql -c "create database st34;"
psql -c "create database st35;"
psql -c "create database st36;"
psql -c "create database st37;"
psql -c "create database st38;"
psql -c "create database st39;"
psql -c "create database st40;"
psql -c "create database st41;"
psql -c "create database st42;"
psql -c "create database st43;"
psql -c "create database st44;"
psql -c "create database st45;"
psql -c "create database st46;"
psql -c "create database st47;"
psql -c "create database st48;"
psql -c "create database st49;"
psql -c "create database st50;"
esac
3 changes: 3 additions & 0 deletions .circleci/stopDb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ case $1 in
mysql)
service mysql stop
;;
postgresql)
service postgresql stop
;;
esac
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [7.0.6] - 2023-10-16

- updated copyright to "SuperTokens, Inc"

## [7.0.5] - 2023-10-13

- Adds postgres testing to the CICD

## [7.0.4] - 2023-10-12

- Fixes user info from primary user id query
Expand Down Expand Up @@ -2509,4 +2517,4 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### Changed

- Allow for an unlimited number of SuperTokens instances in production mode
- License changes to reflect the above
- License changes to reflect the above
11 changes: 1 addition & 10 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java Library project to get you started.
* For more details take a look at the Java Libraries chapter in the Gradle
* User Manual available at https://docs.gradle.org/5.4/userguide/java_library_plugin.html
*/

plugins {
id 'application'
}
Expand All @@ -19,8 +11,7 @@ compileTestJava { options.encoding = "UTF-8" }
// }
//}

version = "7.0.4"

version = "7.0.6"

repositories {
mavenCentral()
Expand Down
Binary file modified cli/jar/cli.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions cli/src/main/java/io/supertokens/cli/Main.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down Expand Up @@ -139,4 +139,4 @@ public static void handleKillSignalForWhenItHappens() {
});
Runtime.getRuntime().addShutdownHook(shutdownHook);
}
}
}
2 changes: 1 addition & 1 deletion cli/src/main/java/io/supertokens/cli/OperatingSystem.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
2 changes: 1 addition & 1 deletion cli/src/main/java/io/supertokens/cli/Utils.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
2 changes: 1 addition & 1 deletion cli/src/main/java/io/supertokens/cli/logging/Logging.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
Binary file modified downloader/jar/downloader.jar
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
Binary file modified ee/jar/ee.jar
Binary file not shown.
Binary file renamed jar/core-7.0.4.jar → jar/core-7.0.5.jar
Binary file not shown.
Binary file added jar/core-7.0.6.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion src/main/java/io/supertokens/Main.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/supertokens/OperatingSystem.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/supertokens/ProcessState.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
* Copyright (c) 2023, SuperTokens, Inc. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
Expand Down
Loading
Loading