- 19 Feb, 2020 3 commits
-
-
Cecylia Bocovich authored
We were leaving connections to the database open, which causes some calls to hang. This adds destructors to the SQLite3 class and the classes that use it, and refactors some code to make one database connection per class object. This also makes sure that the destructors for objects that use databases are actually called.
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
-
- 13 Feb, 2020 1 commit
-
-
Cecylia Bocovich authored
-
- 08 Feb, 2020 3 commits
-
-
Cecylia Bocovich authored
The rest of GetTor uses the python sqlite3 package, and it's much simpler to use and to test.
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
This will remove gettor requests from the requests database when they are completed (rather than changing the status to 'SENT'). There's no need to keep this information around, and we don't want to store hashed email addresses as identifiers long term.
-
- 31 Jan, 2020 2 commits
-
-
Cecylia Bocovich authored
The only help message urged users to only specify 'en' as a locale. We now support all locales for tor browser binaries.
-
Cecylia Bocovich authored
This updates sendmail to get links and save stats for the user requested locale. Right now all body translations default to english since we haven't translated it yet.
-
- 27 Jan, 2020 3 commits
-
-
Cecylia Bocovich authored
This change expands the locale parse to have the following properties: - if only the language code is given, choses the regionalization that occurs first in the locale list (e.g., "en" --> "en-US" - if regionalization for the language is *not* present, choses the generalized language or a different regionalization (e.g. "pt-PT" --> "pt-BR") - parses both the subject and body looking for the most specific regionalization - defaults to en-US if no available language is found
-
Cecylia Bocovich authored
This commit refactors build_request to prevent duplicate code. It also moves the platforms definition to the parser constructor.
-
Cecylia Bocovich authored
Before we were conflating the locales for the tor browser binaries with the available locale for gettor email body localizations. This patch checks our links database for available locales.
-
- 23 Jan, 2020 9 commits
-
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
We haven't translated any es or pt strings, so use the English translation for now until we update those files.
-
Cecylia Bocovich authored
Removes tests that require access to secrets.
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
This commit fixes an edge case in which the config filename is never declared if the config is set but the file does not exist on disk.
-
Cecylia Bocovich authored
Created projects default to private, we need to set the visibility in the script to make them public.
-
Cecylia Bocovich authored
This fixes a bug where, if there were no errors in uploading binaries, failure is referenced before it was ever declared.
-
Cecylia Bocovich authored
This fixes an issue that occurred while running the new gitlab script on the gettor machine. Newer library versions require the b64 encoded byte string to be converted to ascii text.
-
- 22 Jan, 2020 5 commits
-
-
Cecylia Bocovich authored
This commit cleans up the script a bit by: - making more detailed comments, - streamlining the choice of remote repository - printing all output to std error - captilization consistency
-
Cecylia Bocovich authored
We now have a separate script for both GitLab and Github endpoints.
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
Updated and refactored the script to upload tor browser binaries to the gitlab remote using the GitLab REST API.
-
- 17 Jan, 2020 1 commit
-
-
Cecylia Bocovich authored
-
- 16 Jan, 2020 1 commit
-
-
Hiro authored
-
- 10 Jan, 2020 2 commits
-
-
Hiro authored
Add tests to check sent email messages.
-
Cecylia Bocovich authored
This fixes a bug where we exceed our google drive quota. Deleted files were moved to a trash bin and not removed from storage entirely.
-
- 08 Jan, 2020 1 commit
-
-
Cecylia Bocovich authored
-
- 07 Jan, 2020 1 commit
-
-
Cecylia Bocovich authored
This modifies update_files to update each tor browser binary in gitlab, internet archive, and google docs, and then delete the binary before downloading the next one. This will save storage space on the gettor host.
-
- 11 Dec, 2019 4 commits
- 10 Dec, 2019 2 commits
-
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
This script had important commands for updating internet archine and google docs. The github release script has been renamed to update_github.
-
- 05 Dec, 2019 2 commits
-
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
Have the script read directly from an environment variable instead of passing the token in as a command line argument. This will hide it from other processes. Also removed downloaded files to prevent a messy directory.
-