Skip to content
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
60 changes: 0 additions & 60 deletions .angular-cli.json

This file was deleted.

8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
# dependencies
/node_modules

# Angular CLI / Vite caches
/.angular/
/.ng-tmp/

# IDEs and editors
/.idea
.project
Expand All @@ -35,10 +39,6 @@ yarn-error.log
testem.log
/typings

# e2e
/e2e/*.js
/e2e/*.map

# System Files
.DS_Store
Thumbs.db
6 changes: 1 addition & 5 deletions DEVELOPING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ Run `ng build` to build the project. The build artifacts will be stored in the `

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
Run `npm test` (or `npm run test:watch`) to execute the unit tests via Vitest.

## Further help

Expand Down
62 changes: 50 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,66 @@ This app is currently in alpha.

## Features

* Load SMS backup files produced by and Android app SMS Backup & Restore by Ritesh
* International support (non-latin character) and emoji support
* MSS support (thanks to JLTRY)
* Load SMS backup files produced by the Android app SMS Backup & Restore by Ritesh
* International support (non‑Latin characters) and emoji support
* MMS support (thanks to JLTRY)
* VCF support (thanks to JLTRY)

## Issues
## Development

### Requirements

- Node.js + npm (modern versions recommended)

### Install

```bash
npm install
```

### Run locally

```bash
npm start
```

Then open `http://localhost:4200/`.

### Run unit tests

* Styles need serious work and overall UX is clunky
* All data is loaded into JS memory, which means:
* Large backups (>3,000 SMS) will freeze the UI until they are loaded
* Loading specific conversations may be slow and freeze the UI
* App breaks when using settings after loading data
Unit tests run via Angular's unit-test builder using the Vitest runner.

```bash
npm test
```

Watch mode:

```bash
npm run test:watch
```

### Build

```bash
npm run build
```

### End-to-end tests

This repository currently does not include an end-to-end test setup (the legacy Protractor scaffolding was removed).

## Issues

If you encounter other issues, please add the issues here: [https://github.com/devadvance/sms-backup-reader-2/issues](https://github.com/devadvance/sms-backup-reader-2/issues).
If you encounter issues, please add the issues here: [https://github.com/devadvance/sms-backup-reader-2/issues](https://github.com/devadvance/sms-backup-reader-2/issues).

## Roadmap (no timeline defined)

* Export SMS to CSV or TXT
* Support for exporting media from MMS
* More?

## Note about emoji and text handing in this app (mostly for devs)
## Note about emoji and text handling in this app (mostly for devs)

SMS Backup & Restore saves emojis and other special characters in a very interesting way.

Expand All @@ -44,4 +82,4 @@ Likely, it goes back to how characters are encoded in SMS.

## License

SMS Backup Reader 2 is made available under the MIT license. See the LICENSE file for details.
SMS Backup Reader 2 is made available under the MIT license. See the LICENSE file for details.
78 changes: 78 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"cli": {
"packageManager": "npm",
"analytics": false
},
"projects": {
"sms-back-reader-2": {
"projectType": "application",
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular/build:application",
"options": {
"outputPath": "dist/sms-back-reader-2",
"browser": "src/main.ts",
"index": "src/index.html",
"tsConfig": "tsconfig.app.json",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.css"
]
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "500kB",
"maximumError": "1MB"
},
{
"type": "anyComponentStyle",
"maximumWarning": "4kB",
"maximumError": "8kB"
}
],
"outputHashing": "all"
},
"development": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular/build:dev-server",
"configurations": {
"production": {
"buildTarget": "sms-back-reader-2:build:production"
},
"development": {
"buildTarget": "sms-back-reader-2:build:development"
}
},
"defaultConfiguration": "development"
},
"test": {
"builder": "@angular/build:unit-test",
"options": {
"runner": "vitest",
"runnerConfig": true,
"tsConfig": "tsconfig.spec.json",
"watch": false
}
}
}
}
}
}
14 changes: 0 additions & 14 deletions e2e/app.e2e-spec.ts

This file was deleted.

11 changes: 0 additions & 11 deletions e2e/app.po.ts

This file was deleted.

14 changes: 0 additions & 14 deletions e2e/tsconfig.e2e.json

This file was deleted.

35 changes: 0 additions & 35 deletions karma.conf.js

This file was deleted.

Loading