0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 20:03:05 +02:00
Commit Graph

282 Commits

Author SHA1 Message Date
Joshua Ford
dfeae3e053 Move Codacy upload into a shell script 2019-06-06 16:17:17 -05:00
Mike Hardy
05bcefdf01 Remove adb restart
It was only needed because I accidentally had multiple adb's on my local system
and they conflicted with one another. In a correctly installed system it is unneeded
2019-02-20 09:45:41 +09:00
Timothy Rae
adf3edeac7 Fix python script shebang 2019-02-17 23:22:55 +09:00
Mike Hardy
597edc2f71 Allow two more parallel build names (5 total now) 2018-12-21 01:10:01 -05:00
Mike Hardy
dd4e7aa52c Emulator tooling to allow for robolectric tests 2018-09-20 23:12:05 +09:00
Mike Hardy
1cf2cbea61 Allow for start to be instantaneous (for manual runs) 2018-09-14 13:31:28 -05:00
Mike Hardy
f00fc2cc20 This file moved to quality sub-dir 2018-09-14 11:55:05 -05:00
Mike Hardy
d3261602c8 Fix parallel release APK location, and tag arg 2018-09-14 11:55:05 -05:00
Mike Hardy
34255cd37e
Add emulator fleet management, local codacy check 2018-09-13 00:46:17 -05:00
Mike Hardy
d8d095b4fa Add local tool for codacy analysis pre-commit 2018-09-10 08:57:05 +09:00
Timothy Rae
db0e1c6983 Update url for crowdin zip file
The old url is failing now, I guess they changed the path
2018-07-29 16:35:04 +09:00
Timothy Rae
6fed42e611 Update manage-crowdin script to python3
pycurl isn't that easy to install for python2 on modern linux systems
2018-07-05 00:18:31 +09:00
Timothy Rae
752e9afb8a Add support for Esperanto 2018-06-26 08:57:28 +09:00
Timothy Rae
01785c2ebf Fix apk location in build script
It's changed in the new gradle
2018-05-11 07:46:39 +09:00
Mike Hardy
063b1de017 in-place sed editing not cross-platform, use perl, fixes #4777 2018-01-29 12:59:14 +09:00
Mike Hardy
e6eb737a40 Add tool to build typical parallel packages
Uses the names used for the previous parallel builds so should
generate 3 new builds that should work as upgrades for the old parallel builds
2017-12-19 12:01:53 +09:00
Mike Hardy
70a8550d8d Alter parallel rename sed to skip backup files
If you use "sed -i -e" it creates backup files with extension '-e' for every edit
This was breaking the build (on MacOS 10.13 + AndroidStudio at least)
I changed it to "-i ''" (zero-length backup extension) so no backup was created
2017-12-19 12:01:53 +09:00
Mike Hardy
4217076d81 updated tool to correctly scrape current format of crowdin.com project translations status 2017-12-15 15:05:58 +09:00
Timothy Rae
d8ba8aacb5 Update gradle-play-publisher 2016-10-23 17:57:36 +09:00
Alexander Grueneberg
30d129c516 Enable fullscreen support. 2015-11-30 12:00:21 -05:00
Alexander Grueneberg
a07da82631 Improve SCRIPT_PATH detection.
Kudos http://stackoverflow.com/a/246128
2015-11-30 12:00:19 -05:00
Alexander Grueneberg
c0c7d400f5 Check for conversion script and apk file separately. 2015-11-30 12:00:17 -05:00
Alexander Grueneberg
95f3b1c7c6 Check if jq exists. 2015-11-30 12:00:09 -05:00
Alexander Grueneberg
3a48cbb295 Remove temporary apk_to_crx output. 2015-11-30 12:00:09 -05:00
Alexander Grueneberg
b55eaa583a apk_to_crx does not support Python 3 anymore. 2015-11-30 12:00:07 -05:00
Alexander Grueneberg
b22a0d6e32 Remove debug scripts in favor of ARC Welder. 2015-11-30 11:59:52 -05:00
Timothy Rae
6e8d0024a1 Add script to update screenshots on Google Play
remove some old files
2015-11-29 23:57:03 +09:00
Timothy Rae
a7cd31ee03 Updated strings from Crowdin 2015-11-27 14:09:23 +09:00
Timothy Rae
f529fbf65d Add parallel install script to release-2.5 branch
@branch-specific
2015-11-19 13:46:51 +09:00
timrae
d3d827927f use the play publishing task in the build script 2015-10-31 12:46:23 +09:00
timrae
9f35b4b4fc Add model manager strings to crowdin script 2015-10-03 03:45:37 +09:00
js
72d200a7d4 Material design version of account setup
Register and login pages placed in scrollviews to accomodate landscape
  and small screens.
Also fixed state transition issues, allowing back/cancel to transition
  rom account setup to login

Not done:
- Dialogs
- home/up button in action bar not implemented
2015-04-12 19:56:05 +09:00
timrae
25d405b2cd Fix crowdin script indentationj 2015-04-11 22:24:59 +09:00
timrae
5098ae502c Run crowdin master script from root dir
By default look in $HOME/src/ for API key
Disable broken options in manage-crowdin.py
2015-04-02 17:08:12 +09:00
timrae
a87da9e83c Add multimedia-editor to crowdin script 2015-03-31 18:41:37 +09:00
timrae
7f250ecaf8 Remove newfeatures from translations 2015-03-31 12:57:31 +09:00
Tim Rae
7e70b90458 remove newfeatures from crowdin 2015-03-31 12:25:01 +09:00
Tim Rae
92acd9255e Switch to Travis android language configuration
http://docs.travis-ci.com/user/languages/android/
Change to container based infrastructure
http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
2015-03-31 03:37:08 +09:00
Tim Rae
8ce053b5f9 Update continuous-test.sh 2015-03-28 22:16:04 +09:00
timrae
b585aac4f0 Change compileSdkVersion to 22 and update travis script 2015-03-28 21:54:45 +09:00
timrae
1278aa73d5 Remove dependency on AnkiDroidApp.onCreate
Clean up AnkiDroidApp in general, favoring singletons instead
2015-03-24 09:37:01 +09:00
Tim Rae
cf1bffb32f Merge pull request #763 from jshevek/new-icons-clean
New icons - partially done
2015-03-23 19:46:26 +09:00
js
3f06817921 New icons, icon generator script, night mode logic
Added new icons, both holo light and holo dark, taken from https://google.github.io/material-design-icons/
Added script to generate pngs from svgs.  Makes icons for all sizes and themes given. Includes modified svgs to use as source.
Added some night-mode logic[1] to use icons.

Remove ic_menu_manage

Script generates holo-light icons using:
  Color: #333333
  Enabled: 60% opacity
  Disabled: 30% opacity

The following icons (and _dark versions) added to  mdpi, hdpi, xhdpi, xxhdip.

ic_action_accept.png
ic_action_camera.png
ic_action_cancel.png
ic_action_email.png
ic_action_import_export.png
ic_action_mic.png
ic_action_replay.png
ic_action_search.png
ic_action_settings.png
ic_action_storage.png
ic_action_time.png
ic_dialog_alert.png
ic_dialog_info.png
ic_menu_add.png
ic_menu_edit.png
ic_menu_mark.png
ic_menu_marked.png
ic_menu_night.png
ic_menu_night_checked.png
ic_menu_refresh.png
ic_menu_send.png
ic_menu_sort_by_size.png
ic_menu_statistics.png

ic_menu_refresh (from ic_sync_24px.svg)
ic_action_whiteboard_enable_light (from ic_brush_24px.svg)
ic_menu_revert (from ic_undo_24px.svg)

[1] This is painful, as this code should be made simpler, not more complex, by using themes and attributes.
But the only way to avoid this do a complete rewrite.
2015-03-23 02:55:06 -07:00
Houssam Salem
69e84f6513 Update template test deck 2015-03-21 22:04:30 +11:00
timrae
25962f3546 add test video deck 2015-03-18 12:55:04 +09:00
Houssam Salem
5148d99d31 Add a test deck for template rendering 2015-03-17 19:31:39 +11:00
timrae
0afa10f710 update crowdin scripts 2015-01-29 00:54:00 +09:00
timrae
4b7863a236 Update crowdin scripts 2015-01-20 13:41:11 +09:00
timrae
3f7d932e17 Update humanize-new-features.sh script 2014-12-18 10:58:16 +09:00
Alexander Grüneberg
7929d5475d Add short name to Chrome app metadata for display in app launcher. 2014-12-10 17:15:55 -06:00
Alexander Grüneberg
05e53d2ed3 Provide default translations for Chrome app metadata.
Prominent examples of languages that do not have a marketdescription are
en, en_US, and en_GB. m(
2014-12-10 17:14:52 -06:00
Alexander Grüneberg
134e2c94f4 Use extName and extDesc to provide translated Chrome app metadata. 2014-12-10 17:12:14 -06:00
Tim Rae
c0970b028a Merge pull request #643 from agrueneberg/chromeos-fix-file-handler
More ChromeOS release script fixes
2014-11-21 17:09:57 +09:00
Alexander Grüneberg
de03b49cd9 Default to "AnkiDroid Flashcards" if NAME is null. 2014-11-21 00:51:11 -06:00
Alexander Grüneberg
1484c4084b Preserve JSON pretty-print. 2014-11-20 22:55:53 -06:00
Alexander Grüneberg
c60127ad90 Work around intent filter restriction to support APKG file handler. 2014-11-20 22:48:01 -06:00
Alexander Grüneberg
d3be51f6a7 Create debug CRX in $PWD. 2014-11-20 14:01:49 -06:00
Alexander Grüneberg
040827d06c Add ChromeOS debug and release scripts. 2014-11-15 09:05:23 -06:00
timrae
66654f3528 Only run tests for AnkiDroid module
Remove unnecessary clean from build process
2014-11-13 13:15:31 +09:00
timrae
a7a0979292 Update continuous-setup.sh
Add the support repository to list of SDK necessary components
2014-11-11 23:58:21 +09:00
timrae
2e236482ce echo ANDROID_HOME to debug Travis failure 2014-11-11 12:59:34 +09:00
timrae
b697b28cd6 make release script do clean release 2014-11-10 23:57:16 +09:00
timrae
30b73edd69 Switch Travis over to gradle 2014-11-10 23:28:52 +09:00
timrae
cbe0dec566 Update release script for new project structure 2014-11-10 02:19:57 +09:00
timrae
7b207cad71 a few changes to the release script 2014-11-09 14:31:46 +09:00
ospalh
dda93a9b17 Use local files when changing icon to blue 2014-10-30 10:04:04 +01:00
Nicolas Raoul
e5014d5cf2 Removed tmp files 2014-10-21 22:23:22 +09:00
Nicolas Raoul
0c56384e9a Fixed script for new Crowdin site 2014-10-14 14:11:41 +09:00
Nicolas Raoul
b43ac8fd74 Updated strings from Crowdin 2014-10-06 15:42:49 +09:00
Nicolas Raoul
5aa9f1a1d4 No more file 12 2014-10-06 15:31:09 +09:00
Nicolas Raoul
5e368b79bb Fixed subprocess call 2014-09-17 13:21:12 +09:00
Nicolas Raoul
2140006d39 Added missing import 2014-09-17 13:16:46 +09:00
Nicolas Raoul
55c310644c New API URL 2014-09-17 13:05:29 +09:00
Nicolas Raoul
b2d57bd4d3 Commit and check after update, it is always what I do anyway 2014-09-16 13:47:24 +09:00
Nicolas Raoul
b91d89020c New API URL 2014-09-16 13:36:13 +09:00
Nicolas Raoul
c63d854618 Build before downloading if key available 2014-09-16 13:35:55 +09:00
Nicolas Raoul
0fa7332a84 New API URL 2014-09-16 13:17:40 +09:00
Flavio Lerda
287af3fc3d Move gitflow-integrate into tools directory.
I mistankely put this tool in the root directory. Also, it lost its
executable bit, so restoring it.
2014-09-03 05:42:04 +01:00
Nicolas Raoul
59b8cac45b Added Latvian , 80% of core 2014-07-21 12:51:38 +09:00
Nicolas Raoul
6f7872a70d run Lint after compilation 2014-07-02 21:21:48 +09:00
Nicolas Raoul
0d88dd2b99 removed unused script 2014-06-26 13:54:23 +09:00
Nicolas Raoul
5968c9cd49 Check for broken CDATA 2014-06-25 14:45:06 +09:00
Nicolas Raoul
c7abcd6426 Exit if compilation fails 2014-06-04 21:38:02 +09:00
Alexander Grüneberg
adcf0b8259 Update to Android API Level 19. 2014-05-17 20:58:39 -04:00
Nicolas Raoul
9fb6f97998 Run Lint before each release 2014-05-16 10:36:10 +09:00
Nicolas Raoul
7e8eec5506 Removed interactivity, found errors are not actually errors 2014-04-02 18:28:07 +09:00
Flavio Lerda
5a44d60802 Merged '9624e12' from hotfix-2.1.2: Added branch specific tag to bumping commit 2014-04-01 01:28:00 +01:00
Nicolas Raoul
9624e12459 Added branch specific tag to bumping commit 2014-03-31 14:55:25 +09:00
Flavio Lerda
04047e110e Merged '83d2770' from release-2.1: Made usable for public releases as well 2014-03-28 08:39:00 +00:00
Flavio Lerda
1b5ce6fd02 Merged 'c811a0c' from release-2.1: Made executable from project home 2014-03-28 08:38:51 +00:00
Flavio Lerda
7bbe94807c Merged 'e768f72' from release-2.1: Made tools executable from project home 2014-03-28 08:38:16 +00:00
Nicolas Raoul
83d2770ff4 Made usable for public releases as well 2014-03-28 17:11:14 +09:00
Nicolas Raoul
c811a0c8e5 Made executable from project home 2014-03-28 17:10:32 +09:00
Nicolas Raoul
e768f72f11 Made tools executable from project home 2014-03-28 11:38:57 +09:00
Flavio Lerda
dfd161a0da Merged 'b3f881f' from release-2.1: Made executable from project home 2014-03-26 22:25:21 +00:00
Flavio Lerda
8940cbaa21 Merged '1d63b5d' from release-2.1: Made executable from project home 2014-03-26 22:25:20 +00:00
Nicolas Raoul
b3f881fd3a Made executable from project home 2014-03-21 18:00:56 +09:00
Nicolas Raoul
1d63b5dc75 Made executable from project home 2014-03-20 17:25:16 +09:00
Nicolas Raoul
ff1bfb8651 Catch more errors 2014-03-14 13:09:55 +09:00
Nicolas Raoul
e1b9849f58 cp instead of mv so that ant installr still works 2014-03-08 01:16:52 +09:00