Simple, private file sharing. Forked from https://gitlab.com/timvisee/send https://send.tjo.space
Find a file
Christoph Kührer 48b5d85904 Cleanup Android project (Minor refactorings, etc.) (#1244)
* (Android) Get rid of double bangs by using Kotlin view binding

Instead of holding a nullable reference to the WebView, we are now
accessing the WebView using the view binding utility of Kotlin's
Android Extensions.

Further reading:
https://kotlinlang.org/docs/tutorials/android-plugin.html

* (Android) Enable WebView debugging in debug builds

This enables debugging the app's WebView using Chrome's DevTools.
https://developers.google.com/web/tools/chrome-devtools/remote-debugging/webviews

* (Android) Make MainActivity.kt adhere to common Kotlin conventions

* (Android) Update dependencies and improve formatting of Gradle files

This updates the Kotlin plugin to 1.3.21 and the Gradle plugin to 3.3.2

* (Android) Remove unnecessary ConstraintLayout container

Layout files should generally have as few nested layers as possible,
because every layer affects the performance.

* (Android) Use JSONObject class to construct a JSON string

It is way safer to construct a JSON string using classes that are
meant for doing that, instead of concatenating raw strings.

* (Android) Suppress JavaScript lint warning

* (Android) Use Kotlin string templates instead of concatenating strings

* (Android) Add missing SuppressLint import
2019-04-04 15:25:25 -04:00
.vscode
android Cleanup Android project (Minor refactorings, etc.) (#1244) 2019-04-04 15:25:25 -04:00
app fixed isFile for extended file id size 2019-03-26 09:58:04 -07:00
assets added share to tile 2019-03-09 20:41:20 -08:00
build reimplemented l10n using dynamic import() (#1012) 2018-11-20 09:50:59 -05:00
common reimplemented l10n using dynamic import() (#1012) 2018-11-20 09:50:59 -05:00
docs Updated file size limit (as of March 2019) 2019-03-17 21:44:01 +05:30
ios renamed fileManager.js to controller.js 2018-11-08 15:12:07 -08:00
public Pontoon: Update Greek (el) localization of Firefox Send 2019-04-03 16:11:43 +00:00
scripts Fix permissions. 2019-03-12 20:52:41 -04:00
server fixed L10N_DEV option 2019-03-31 13:04:16 -07:00
test use crypto.timingSafeEqual in hmac and ownerToken authentication 2019-03-14 22:09:34 -07:00
.dockerignore reimplemented l10n using dynamic import() (#1012) 2018-11-20 09:50:59 -05:00
.editorconfig
.eslintignore replaced cryptofill with webcrypto-liner 2019-02-21 15:20:28 -08:00
.eslintrc.yml updated deps 2018-11-02 16:07:26 -07:00
.gitattributes
.gitignore converting some things to choo/component 2018-11-15 15:43:32 -08:00
.htmllintrc
.prettierignore replaced cryptofill with webcrypto-liner 2019-02-21 15:20:28 -08:00
.stylelintrc
browserslist
CHANGELOG.md
circle.yml Update config for running download tests on CI 2019-03-12 20:47:54 -04:00
CODE_OF_CONDUCT.md Add Mozilla Code of Conduct file 2019-03-29 23:15:18 -07:00
CONTRIBUTORS updated CONTRIBUTORS 2019-03-18 15:38:28 -07:00
docker-compose.yml
Dockerfile Upgrade to Node v10 2019-01-07 15:50:01 -05:00
l10n.toml
LICENSE
package-lock.json updated deps 2019-03-31 13:04:16 -07:00
package.json fixed L10N_DEV option 2019-03-31 13:04:16 -07:00
postcss.config.js a couple android ui tweaks 2018-11-14 21:13:38 -08:00
README.md Replace title with Firefox Send logo 2019-03-30 15:47:34 +01:00
tailwind.js updated styles 2019-02-26 14:52:37 -08:00
webpack.config.js changed webpack output filenames to use contenthash 2019-03-17 19:21:28 -07:00

Firefox Send

CircleCI

Docs: FAQ, Encryption, Build, Docker, Metrics, More


Table of Contents


What it does

A file sharing experiment which allows you to send encrypted files to other users.


Requirements


Development

To start an ephemeral development server run:

npm install
npm start

Then browse to http://localhost:8080


Commands

Command Description
npm run format Formats the frontend and server code using prettier.
npm run lint Lints the CSS and JavaScript code.
npm test Runs the suite of mocha tests.
npm start Runs the server in development configuration.
npm run build Builds the production assets.
npm run prod Runs the server in production configuration.

Configuration

The server is configured with environment variables. See server/config.js for all options and docs/docker.md for examples.


Localization

Firefox Send localization is managed via Pontoon, not direct pull requests to the repository. If you want to fix a typo, add a new language, or simply know more about localization, please get in touch with the existing localization team for your language or Mozillas l10n-drivers for guidance.

see also docs/localization.md


Contributing

Pull requests are always welcome! Feel free to check out the list of "good first issues".


Testing

ENVIRONMENT URL
Production https://send.firefox.com/
Stage https://stage.send.nonprod.cloudops.mozgcp.net/
Development https://send2.dev.lcip.org/

Android

The android implementation is contained in the android directory, and can be viewed locally for easy testing and editing by running ANDROID=1 npm start and then visiting http://localhost:8080. CSS and image files are located in the android/app/src/main/assets directory.


License

Mozilla Public License Version 2.0