Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
ee69eaf
adjusted update from google api to use async generator
bradley-erickson Oct 25, 2024
0bac912
fixed small bug in yield statements
bradley-erickson Oct 25, 2024
5127ea7
fixed possible create_task bug (#192)
bradley-erickson Oct 30, 2024
5ad48ab
Bump rollup from 2.79.1 to 2.79.2 in /modules/lo_dash_react_component…
dependabot[bot] Nov 4, 2024
45d1c38
Bump cookie and express in /modules/lo_dash_react_components (#183)
dependabot[bot] Nov 4, 2024
fdf00ea
Bump elliptic from 6.5.7 to 6.6.0 in /modules/lo_dash_react_component…
dependabot[bot] Nov 4, 2024
0105345
added communication protocol readme to documentation
bradley-erickson Nov 4, 2024
22bf450
updated npm packages for lo_event
pbrost Nov 6, 2024
4ff4f3a
Abstracted current gpt responders to their own module (#178)
bradley-erickson Nov 7, 2024
cc3a4b7
small installation fixes
bradley-erickson Nov 7, 2024
78723f9
Update to redux-thunk and compile error fix
pbrost Nov 8, 2024
e6a922c
import thunk statement change
pbrost Nov 8, 2024
d413030
Make sure b.storage defaults to thunk if not sync or local
pbrost Nov 8, 2024
ad9d485
code compiling for deployment of toy-sba (#198)
bradley-erickson Nov 14, 2024
83cdafb
LO Event improvements
bradley-erickson Nov 19, 2024
7ea2abb
updated lodrc package.json and webpack config to build properly
bradley-erickson Nov 19, 2024
5e4eaca
fixed gpt dashboard flashing
bradley-erickson Nov 21, 2024
e767cae
fixed auth bug when visiting a page after session expired
bradley-erickson Nov 26, 2024
2e07dd6
Update reconstruct_doc.py
PDDeane Nov 27, 2024
ccb36fd
Update reconstruct_doc.py
PDDeane Nov 27, 2024
3eeea21
Update reconstruct_doc.py
PDDeane Nov 27, 2024
aabd807
Added additional actions for `rplc` and `rvrt`
bradley-erickson Dec 4, 2024
5020beb
extension fixes to extract document history (#204)
bradley-erickson Dec 13, 2024
b79648d
Module verioning updates and some testing next steps
bradley-erickson Dec 17, 2024
257bae3
added dashboard to demo LOConnection and helper utilities (#180)
bradley-erickson Dec 17, 2024
0ba3c08
cleaned up installation
bradley-erickson Dec 20, 2024
375103a
updated requirements (#208)
bradley-erickson Jan 2, 2025
f6cc2b2
Bump nanoid from 3.3.7 to 3.3.8 in /modules/lo_dash_react_components …
dependabot[bot] Jan 23, 2025
e6d405f
Bump path-to-regexp and express in /modules/lo_dash_react_components …
dependabot[bot] Jan 23, 2025
783c904
Save state in LO Event (#209)
bradley-erickson Feb 25, 2025
e86f39f
updated classroom text highlighter component
bradley-erickson Feb 26, 2025
5544fa8
Merge branch 'master' of github.com:ETS-Next-Gen/writing_observer
bradley-erickson Feb 26, 2025
1b7b3ac
Homepage improvements (#215)
bradley-erickson Apr 1, 2025
760c5e1
added new options to llm dashboard - students per row, height, indivi…
bradley-erickson Apr 1, 2025
4470b70
Bump @babel/helpers in /modules/lo_dash_react_components (#217)
dependabot[bot] Apr 1, 2025
9eea22f
Bump @babel/runtime in /modules/lo_dash_react_components (#218)
dependabot[bot] Apr 1, 2025
7e28238
languagetool startup and highlight dashboard improvements
bradley-erickson Apr 3, 2025
c336d5d
fixed module names
bradley-erickson Apr 3, 2025
3bdcc7c
small js bug fixes for dashboards
bradley-erickson Apr 3, 2025
bee90d1
add process metrics to dashboards
bradley-erickson May 6, 2025
e4e4adf
LTI auth + Canvas/Schoology integration
bradley-erickson Jun 11, 2025
28cb3ec
Update rosters.py
bradley-erickson Jul 10, 2025
a6724ed
Workshop updates (#230)
bradley-erickson Jul 16, 2025
f61cb8b
Various improvements to serving as an LTI
bradley-erickson Aug 10, 2025
4d8e2b4
added nginx conf
bradley-erickson Aug 15, 2025
6a79f06
Merge remote-tracking branch 'upstream/master' into upstream-merge-8-…
DrLynch Aug 20, 2025
243e455
Upstream merge round 1.
DrLynch Aug 20, 2025
cdd143f
Fixing merge conflicts.
DrLynch Jan 8, 2026
1f23699
Updating manifest.
DrLynch Jan 8, 2026
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
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ install-dev:
install-packages:
pip install -e learning_observer/[${PACKAGES}]

# Just a little bit of dependency hell...
# On Python3.11 with tensorflow, we get some odd errors
# regarding compatibility with `protobuf`. Some installation
# files are missing from the protobuf binary on pip.
# Using the `--no-binary` option includes all files.
pip uninstall -y protobuf
pip install --no-binary=protobuf protobuf==4.25

# Testing commands
test:
@if [ -z "$(PKG)" ]; then echo "No module specified, please try again with \"make test PKG=path/to/module\""; exit 1; fi
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.0+2025.10.01T21.16.15.146Z.8b205d0c.master
0.1.0+2025.08.15T13.29.30.819Z.f61cb8b1.master
47 changes: 47 additions & 0 deletions docs/versioning.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Versioning

## Tracking Versions

Each module should include a `VERSION` file to specify the module's current version. This version is referenced in the module's setup configuration. Typically, this is done in the `setup.cfg` file as follows:

```cfg
# setup.cfg
[metadata]
name = Module name
version = file:VERSION
```

## Version Format

The version format is split into 2 pieces, the semantic version and the local version string separated by a `+`. The semantic version is primarily used for uploading to PyPI and resolving dependency conflicts. The local version string contains additional metadata about when the code was last modified and the commit it came from. The versions should follow the following format:

```sh
major.minor.patch+%Y.%m.%dT%H.%M.%S.%3NZ.abc123.branch.name
```

A example version string might look like this:

```sh
0.1.0+2024.12.16T16.42.38.637Z.abc123.branch.name
```

## Bumping Versions

The local version strings that contain metadata are automatically managed using a Git pre-commit hook. Before each commit is made, the appropriate `VERSION` is updated to reflect the current time and commit.

Bumping the semantic version is done manually.

## Setting Up the Pre-Commit Hook

To enable automatic version bumping, use the `install-pre-commit-hook` command provided in the `Makefile`. This command handles copying the pre-commit hook script into the appropriate location and making it executable. Run the following command:

```bash
make install-pre-commit-hook
```

With this setup, every commit will automatically update the version for you.

## Notes

- Ensure that `setup.cfg` properly references the `VERSION` file to avoid version mismatches.
- Avoid manually editing the `VERSION` file; rely on the pre-commit hook for consistency.
20 changes: 15 additions & 5 deletions extension/writing-process/src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,21 @@ function startLogger () {
logFromServiceWorker('Extension loaded');
}

function stopLogger () {
if (!loEventActive) return;
loEvent.logEvent('terminate', {});
loEventActive = false;
}
loEvent.init(
'org.mitros.writing_analytics',
'0.01',
loggers,
{
debugLevel: loEventDebug.LEVEL.SIMPLE,
metadata: [
browserInfo(),
chromeAuth(),
localStorageInfo(),
sessionStorageInfo(),
]
}
);
loEvent.go();

// Function to serve as replacement for
// chrome.extension.getBackgroundPage().console.log(event); because it is not allowed in V3
Expand Down
47 changes: 1 addition & 46 deletions extension/writing-process/src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,46 +1 @@
{
"name": "__MSG_appName__",
"short_name": "__MSG_appShortName__",
"description": "__MSG_appDescription__",
"homepage_url": "https://github.com/ETS-Next-Gen/writing_observer/tree/master/extension/writing-process",
"incognito": "not_allowed",
"version": "1.0.0.2",
"version_name": "1.0.0.2",
"manifest_version": 3,
"default_locale": "en",
"minimum_chrome_version": "88",
"permissions": [
"webRequest",
"declarativeNetRequest",
"identity",
"identity.email",
"storage",
"nativeMessaging",
"scripting",
"activeTab",
"tabs"
],
"icons": {
"48": "assets/lousy-fountain-pen-48.png"
},
"background": {
"service_worker": "service_worker.js"
},
"action": {
"default_popup": "pages/settings.html",
"default_icon": {
"48": "assets/lousy-fountain-pen-48.png"
},
"default_title": "__MSG_appName__"
},
"content_scripts": [{
"matches": ["*://docs.google.com/document/*"],
"js": ["3rdparty/sha256.js", "writing_common.js", "writing.js"]
}],
"host_permissions": [
"*://docs.google.com/document/*"
],
"options_ui": {
"page": "pages/options.html"
}
}
{"name":"__MSG_appName__","short_name":"__MSG_appShortName__","description":"__MSG_appDescription__","homepage_url":"https://github.com/ETS-Next-Gen/writing_observer/tree/master/extension/writing-process","incognito":"not_allowed","version":"1.0.0.4","version_name":"1.0.0.4","manifest_version":3,"default_locale":"en","minimum_chrome_version":"88","permissions":["webRequest","identity","identity.email","storage","scripting","activeTab"],"icons":{"48":"assets/lousy-fountain-pen-48.png"},"background":{"service_worker":"service_worker.js"},"action":{"default_popup":"pages/settings.html","default_icon":{"48":"assets/lousy-fountain-pen-48.png"},"default_title":"__MSG_appName__"},"content_scripts":[{"matches":["*://docs.google.com/document/*"],"js":["3rdparty/sha256.js","writing_common.js","writing.js"]}],"host_permissions":["*://docs.google.com/document/*"],"options_ui":{"page":"pages/options.html"}}
2 changes: 1 addition & 1 deletion learning_observer/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.0+2025.10.01T17.50.57.101Z.d6047986.master
0.1.0+2025.08.07T20.03.33.270Z.c17a54d7.berickson.202507.new.lti.updates
Loading