Files
Jonathan Perry-Houts b20783a8d3 Migrate Send Later to MailExtensions
* Starting fresh
* Lots of changes to the project structure and organization
* Add README.md and copy of MPL license
* Iterate through draft messages, and check for send-later header
* get/set preferences inline. Remove global prefHandler object.
* Tidying
* Properly scope main background loop, and respect changes to interval delay.
* Bugfix: use defaults in migration if legacy pref is undefined
* Respect users console log level preferences
* Implement SaveAsDraft API + minor bugfixes.
* Implement "send now" functionality.
* Remove some unused functions
* Improve logging and comments
* First pass at localization
* Basic i18n localization for currently implemented parts of UI
* Semi-manually migrate basic translations for all languages.
* Development scripts for migrating locales and generating .xpi
* Fix regional locale paths.
* Improve kludgey Make rule for locale migrations.
* Implement ability to send a stored (Draft) message.
* Remove unnecessary id attributes from HTML elements.
* Remember to clean up after cancelled SendLater operation.
* Implement true send later functionality (still not formally tested)
* Minor cleanup
* Handle cases where TB is offline.
* Prevent sending messages that are being edited
* Respect late message blocking preferences.
* Respect only-on and between send time restrictions
* Migrate lots of functions from legacy branch for working with dates and recurrence.
* Migrate formatable and unused translation strings.
* Use system localization where possible
* Remove unnecessary extension experiments
* Implement parse and unparse functions for recurrence specs
* Separate unit tests from main code base
* Minor bug fixes and code cleanup
* Improve code clarity.
* Remove unused legacy modules.
* Linting
* rename test directory
* Setup node project for testing via Karma and Sinon
* Use kludgey home-grown unit test framework for now
* Make all unit tests pass
* Expand unit test coverage, and minor bugfixes
* Option to mark saved drafts as read.
* Refactor background script to avoid duplicating code
* Implement i18n mocking for test suite.
* Lots of frontend work. Popup dialog is mostly functional.
* Improve popup dialog UI logic
* Fix monthly recurrence option parsing
* Use more available translations
* Implement save/clear defaults in popup dialog.
* More UI logic improvements
* Make code more function oriented and stateless where possible.
* Much debugging. So improved
* Various bug fixes
* Improve message sending mechanism.
* Minor locale string changes
* Cleanup unused code
* Fix moment.js path
* Drop support for depreciated nsILocalFile interface
* Fix indentation
* fix double-escaped characters in locales
* fixup to previous commit
* Improve UI logic, and fix "send does delay/send later" functionality
* Enable bind Alt+Shift+Enter and various bugfixes
* Again, fix more double-escaped characters in locale migration.
* Implement UI components for user defined recurrence functions
* Cleanup unused promise map object
* Implement dynamic function evaluation.
* Almost done with dynamic function UI
* Completed implementation of user-defined scheduling functions
* Add cancel on reply functionality and minor bugfixes
* Add message display toolbar action to help verify header parameters in scheduled drafts
* Proper binding to builtin send later menu item.
* Remove debugging code
* Add (non-translated) delay function help message
* Implement complex shortcut commands, and lots of debugging
* Check messages for spelling and subject line before scheduling + bug fixes
* Bug fix running commands against closed window after send operations
* Fix broken unit test
* Add infrastructure for generating releases
2020-07-31 10:01:20 -07:00

28 lines
804 B
Bash
Executable File

#!/bin/bash
## Developing the UI bits is much easier in a browser, rather than needing to
## repeatedly reload the addon in thunderbird. This script spins up a
## lightweight apache container, and uses it to host the addon as a webpage.
##
## To use it, run: `./startapache.sh start`
## and then point a browser at http://localhost:8081/ui/popup.html or
## http://localhost:8081/ui/options.html
case "$1" in
'start')
rootdir=$(readlink -f $(dirname $0)/../)
docker run -dit --name my-apache-app -p 8081:80 \
-v "$rootdir":/usr/local/apache2/htdocs/ httpd:2.4
;;
'stop')
docker stop my-apache-app
docker rm my-apache-app
;;
'restart')
$0 stop
$0 start
;;
*)
echo "Command not recognized: $1"
esac