Commit Graph

70 Commits

Author SHA1 Message Date
timvisee
1a923d21b5
Add DEFAULT_DOWNLOADS variable to set default download count
Fixes https://github.com/timvisee/send/issues/39
2021-06-04 14:03:58 +02:00
a0bc20aeb6 Remove metrics #4 2021-03-15 19:56:51 +01:00
timvisee
6960cc75fa
Add configurable donate, CLI and DMCA and source links in footer 2021-01-27 00:21:03 +01:00
Danny Coates
c71c246959
Dark theme 2019-10-03 23:10:11 -07:00
Danny Coates
807ecff471
updated sentry libs from raven to @sentry 2019-08-09 11:06:21 -07:00
Danny Coates
c80f9ada65
updated deps 2019-07-29 15:26:11 -07:00
Danny Coates
b9c87fd779
updated tailwindcss to 1.0 2019-06-14 11:37:30 -07:00
Donovan Preston
74ecb598d2 Fix #1283 Prevent loading any pages other than our file:/// url resources and accounts.firefox.com in the webview
Also, remove debug logs.
2019-04-05 12:18:22 -04:00
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
Donovan Preston
4a69ccbe51 Call setTranslate on android. 2019-04-04 14:49:01 -04:00
Donovan Preston
8c59e54677 Switch the package name, for signing with a new key; switch the server to send.firefox.com 2019-03-12 12:35:45 -04:00
Danny Coates
7c0f227f15
updated android icon 2019-03-08 16:32:29 -08:00
Danny Coates
da5f503dbc
no-op startAuthFlow on android 2019-03-08 16:13:15 -08:00
Danny Coates
d101a76962
fixed android login. closes #1199 2019-03-08 10:17:10 -08:00
John Gruen
821be1d1e0 change launcher name 2019-03-08 14:14:19 +01:00
Danny Coates
eddabac191
updated android app icon 2019-02-28 12:30:00 -08:00
Donovan Preston
a30ea6cddc Another slight speed boost (#1176) 2019-02-28 08:29:10 -08:00
Donovan Preston
5b03c64e8d Fix slow upload by turning on hardware accelleration on the webview (#1173) 2019-02-27 16:04:57 -08:00
Danny Coates
d55f0247de
added padding to android wip screen 2019-02-26 11:11:06 -08:00
Danny Coates
1c44d1d0f9
added /config endpoint, use fewer globals (#1172)
* added /config endpoint, use fewer globals

* fixed integration tests
2019-02-26 10:39:50 -08:00
Donovan Preston
a42cec97f3 Fix #1145 Fix the back button after logging in. (#1158)
To do so, we clear the webview history once the login process is complete so that the intermediate redirect urls used by the login process are not in the history.

Also, update the versions of some of the libraries we use.
2019-02-19 09:35:37 -08:00
Donovan Preston
fd3caa3cc6 Fix #1150 Make the defaults on android match the defaults on the web. (#1155) 2019-02-19 09:28:25 -08:00
Danny Coates
fc37fd1fe3
Work in progress on latest design 2019-02-12 12:27:52 -08:00
Danny Coates
d50c0477ea
fixed android metrics 2019-02-12 12:21:18 -08:00
Donovan Preston
66f52b8c41 Fix #1110 Sync the file list on android. 2019-02-08 09:45:37 -08:00
Danny Coates
36225e4f92 android: exclude self from share intent (#1132) 2019-01-30 15:46:43 -05:00
Danny Coates
c0d8300a8e
fixed some scrollbars 2019-01-29 12:06:23 -08:00
Donovan Preston
d1ea261dea Fixes #1037: Fix back button crasher
Java has nulls, and any object reference in Java can be null, but in Kotlin parameters default to not null unless the type is specified as `Type?`; our override of onActivityResult was specifying the type of the intent parameter as `Intent` instead of `Intent?`, causing an exception before our code was called. Figuring out how to turn on "break on all exceptions" in Android Studio (which is non-trivial for some reason) finally showed me the stack trace.
2019-01-23 10:28:57 -05:00
Danny Coates
e954a6cb62
typo. fixes #1100 2019-01-16 14:19:33 -08:00
Danny Coates
a6a8fa6528
Merge pull request #1099 from mozilla/android-implement-share-card
Fix #888 Implement share card.
2019-01-16 13:26:41 -08:00
Donovan Preston
af61434b72 Fix #888 Implement share card. 2019-01-16 12:05:39 -05:00
Donovan Preston
c0382dd327 Fix #1089 On Android, hide the add files button when uploading 2019-01-16 10:26:52 -05:00
Danny Coates
39c1bec91a updated android LIMITS. fixes #1040 #1041 #1039 (#1075) 2019-01-08 16:46:48 -05:00
Danny Coates
eb9fba3da6 updated android to work with changes to app/archive.js (#1074) 2019-01-08 15:46:16 -05:00
Danny Coates
5e5af03d11
run npm install if needed in buildAssets.sh 2019-01-03 13:56:32 -08:00
Donovan Preston
6c4bf8b37a Hide the preferences menu for the beta 2018-12-18 11:14:22 -05:00
Donovan Preston
c71ef9ae84 Fix #890 Fix delete by initializing the metrics on android; delete was trying to use metrics and causing an exception because it hadn't been initialized 2018-12-17 16:40:17 -05:00
Mark Liang (You-Wen)
aa156558b6 Update vnext android ui (#1036)
* refine android ui

* fix layout
2018-12-13 11:36:03 -05:00
Donovan Preston
e55aa7cb86 Use the production fxa server and app id 2018-11-27 18:17:23 -05:00
Donovan Preston
d1212540a8 Rename package to org.mozilla.sendandroid per Rename package to org.mozilla.sendandroid per https://bugzilla.mozilla.org/show_bug.cgi?id=1494393#c10 2018-11-27 09:34:51 -05:00
Donovan Preston
9806dba408 Switch to a fxa clientId created just for Send Android 2018-11-20 12:27:02 -05:00
Danny Coates
1e62aa976d reimplemented l10n using dynamic import() (#1012)
this should greatly reduce the complexity of the l10n code
and build pipeline and eliminate the most common error
seen in sentry logs (no translate function)
2018-11-20 09:50:59 -05:00
Donovan Preston
ae4b8cf0d3 Add setApiUrlPrefix and use it in the android version. 2018-11-19 15:10:57 -05:00
Danny Coates
fbad1ab55a
formatting update 2018-11-16 12:39:36 -08:00
Danny Coates
32a55d00b2
don't render expired uploads 2018-11-16 12:30:15 -08:00
Danny Coates
037c79730d
converting some things to choo/component 2018-11-15 15:43:32 -08:00
Danny Coates
a576d54d64
fixed android height in emulator 2018-11-15 12:22:29 -08:00
Donovan Preston
43c596fb99 Fix rendering problems with the android ui. 2018-11-15 10:06:35 -05:00
Danny Coates
c72e26c192
a couple android ui tweaks 2018-11-14 21:13:38 -08:00
Donovan Preston
3dc0ca933b Update the android ui to work with the new desktop ui components. 2018-11-14 14:20:32 -05:00