Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
8c38853
facebook: add export option to `FacebookWizardImportOrBuildPage`
redshiftzero Feb 19, 2025
45a383f
facebook: add `FacebookLastImportOrBuildComponent`
redshiftzero Feb 19, 2025
fd500e0
facebook: add `FacebookWizardImportPage`
redshiftzero Feb 19, 2025
35cd45c
facebook: add `FacebookWizardImportPage`
redshiftzero Feb 19, 2025
8c02088
facebook: add `WizardDeleteOption` state
redshiftzero Feb 19, 2025
9c5ef80
facebook: add `FacebookWizardImportDownloadPage`
redshiftzero Feb 19, 2025
b58504d
facebook: emit `State.WizardImportStart` event
redshiftzero Feb 19, 2025
0a1969e
facebook: add `FacebookWizardImportingPage`
redshiftzero Feb 19, 2025
5f167ab
facebook: add required methods to `Facebook` interface
redshiftzero Feb 19, 2025
a5101e8
facebook: hook up new methods through IPC/preload script
redshiftzero Feb 19, 2025
baf36c6
facebook: implement `unzipFacebookArchive`
redshiftzero Feb 19, 2025
ddf84f9
facebook: implement `deleteUnzippedFacebookArchive`
redshiftzero Feb 19, 2025
bfa4452
facebook: implement `verifyFacebookArchive`
redshiftzero Feb 19, 2025
33e08f3
facebook: import archive is default option, from scratch not impl
redshiftzero Feb 20, 2025
b3cccec
facebook: start implementing `importFacebookArchive`
redshiftzero Feb 20, 2025
508cd66
facebook: import posts into database table
redshiftzero Feb 20, 2025
9c32bf4
facebook: fix test on archive import page
redshiftzero Feb 20, 2025
c030bfd
facebook: remove unnecessary container type
redshiftzero Feb 20, 2025
75230d0
facebook: filter by wall posts only for now
redshiftzero Feb 20, 2025
979b6bd
fix: initDB in the Facebook directory
redshiftzero Feb 22, 2025
f6a1625
fix: use consistent Facebook data dir `{account id} {account name}`
redshiftzero Feb 22, 2025
d9e2a29
fix: typo in download instructions
redshiftzero Mar 1, 2025
1798996
fix: update instructions for Facebook download
redshiftzero Mar 1, 2025
5735f04
fix: formatting on export page
redshiftzero Mar 1, 2025
fcd4f18
fix: parse JSON in `verifyFacebookArchive`
redshiftzero Mar 1, 2025
a1ef2ea
fix: small edits to time that facebook archiving takes
redshiftzero Mar 1, 2025
4bf23ae
fix: update Facebook import logic for JSON import file
redshiftzero Mar 1, 2025
a4c437c
fix: just import "shared a status" posts, that's the wall in fb land
redshiftzero Mar 1, 2025
a543ccc
fix: linting
redshiftzero Mar 1, 2025
43c35d5
facebook: add initial archive site
redshiftzero Feb 20, 2025
de64aa2
facebook: start implementing `archiveBuild` method
redshiftzero Feb 20, 2025
97c793a
facebook: finish `archiveBuild`
redshiftzero Feb 21, 2025
b4e07d8
facebook: package up facebook-archive site
redshiftzero Feb 21, 2025
be9bb92
facebook: fix build of static site, remove path which we don't have yet
redshiftzero Feb 21, 2025
03daa4e
refactor: DRY up static site build code a bit
redshiftzero Feb 21, 2025
303b9d0
fix: save archive in correct dir (`(account id) (name)`)
redshiftzero Mar 1, 2025
33d144c
If we start and do not have an account ID, go back to login
micahflee Mar 4, 2025
73d8821
Log the posts that get skipped
micahflee Mar 4, 2025
5ad60e4
eslint config
redshiftzero Mar 4, 2025
26cc1fd
decode unicode characters
redshiftzero Mar 4, 2025
4b6a0fd
Merge pull request #411 from lockdown-systems/facebook-webapp
micahflee Mar 4, 2025
e2efbec
facebook: add isReposted field to Post
redshiftzero Feb 21, 2025
c35c739
facebook: current posts are not reshares
redshiftzero Feb 21, 2025
21ef0e2
facebook: try to pull out post types from HTML content
redshiftzero Feb 21, 2025
8244c09
facebook: add db migration to add isReposted column
redshiftzero Feb 21, 2025
3703766
facebook: show reposts on the static archive site
redshiftzero Feb 21, 2025
80c1ea2
facebook: display title on archive
redshiftzero Feb 22, 2025
2a1fad7
fix: populate db with repost status
redshiftzero Mar 2, 2025
66ae851
fix: remove now unused function
redshiftzero Mar 3, 2025
d2f23f6
facebook: support media imports
redshiftzero Mar 3, 2025
0bf6090
fix: media gets saved to post_media, and media/ dir
redshiftzero Mar 3, 2025
49b66ce
facebook: add video/image support to static site
redshiftzero Mar 4, 2025
dcb2078
fix: don't show post text twice if it's the same text as the image
redshiftzero Mar 4, 2025
a508edb
facebook: stop skipping any posts (will need to add support)
redshiftzero Mar 4, 2025
4211521
fix: text can be null
redshiftzero Mar 4, 2025
7bcf910
Merge pull request #415 from lockdown-systems/facebook-reposts
redshiftzero Mar 4, 2025
7160150
facebook: improve checking of shared post, add debug logging
redshiftzero Mar 4, 2025
4121fb8
facebook: display life events on archive using life event title
redshiftzero Mar 4, 2025
59f8ebe
Merge branch 'main' into facebook-export-import
redshiftzero Mar 4, 2025
5e91ecc
archive: add repost indicator
redshiftzero Mar 11, 2025
98ab0c6
Merge branch 'main' into facebook-export-import
redshiftzero Mar 11, 2025
f371cd3
facebook: also import URLs into the database
redshiftzero Mar 12, 2025
9bdbd60
facebook: enable display of urls on website
redshiftzero Mar 12, 2025
e0c1d34
facebook: remove unused type
redshiftzero Mar 12, 2025
ea6418d
fix: remove unused import
redshiftzero Mar 12, 2025
e0c56ea
facebook: render URLs on static site
redshiftzero Mar 12, 2025
f7a5277
fix: display of link previews
redshiftzero Mar 12, 2025
cba0d5e
Merge branch 'main' into facebook-export-import
redshiftzero Mar 12, 2025
0ef9809
Merge branch 'main' into facebook-export-import
micahflee Mar 13, 2025
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
14 changes: 13 additions & 1 deletion archive-static-sites/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,16 @@ npm run build
# Zip it up
Set-Location -Path "dist"
Compress-Archive -Path * -DestinationPath "../../../build/x-archive.zip" -Force
Set-Location -Path "../.."
Set-Location -Path "../.."

# Build the Facebook archive static site
Write-Output ">> Building Facebook archive static site..."
Set-Location -Path "facebook-archive"
Remove-Item -Recurse -Force "dist" -ErrorAction SilentlyContinue
npm install
npm run build

# Zip it up
Set-Location -Path "dist"
Compress-Archive -Path * -DestinationPath "../../../build/facebook-archive.zip" -Force
Set-Location -Path "../.."
32 changes: 19 additions & 13 deletions archive-static-sites/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,23 @@
# Change to the directory of the script
cd "$(dirname "$0")"

# Build the archive static site
echo ">> Building X archive static site..."
rm -f x-archive/public/assets/archive.js
cd x-archive
rm -r dist || true
npm install
npm run build
build_archive_site() {
site=$1
echo ">> Building ${site} archive static site..."
rm -f ${site}-archive/public/assets/archive.js
cd ${site}-archive
rm -r dist || true
npm install
npm run build

# Zip it up
cd dist
mkdir -p ../../../build/
rm -f ../../../build/x-archive.zip
zip -r ../../../build/x-archive.zip .
cd ../..
# Zip it up
cd dist
mkdir -p ../../../build/
rm -f ../../../build/${site}-archive.zip
zip -r ../../../build/${site}-archive.zip .
cd ../..
}

# Build each site
build_archive_site x
build_archive_site facebook
18 changes: 18 additions & 0 deletions archive-static-sites/facebook-archive/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module.exports = {
root: true,
env: {
node: true,
},
extends: [
"plugin:vue/vue3-essential",
"eslint:recommended",
"@vue/typescript/recommended",
],
parserOptions: {
ecmaVersion: 2020,
},
rules: {
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
},
};
24 changes: 24 additions & 0 deletions archive-static-sites/facebook-archive/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# facebook-archive

## Project setup
```
npm install
```

### Compiles and hot-reloads for development
```
npm run serve
```

### Compiles and minifies for production
```
npm run build
```

### Lints and fixes files
```
npm run lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
Loading