You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

blackboardsync

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blackboardsync - pypi Package Compare versions

Comparing version
0.17.1
to
0.17.2rc1
+0
-2
.github/ISSUE_TEMPLATE/uninew.yml

@@ -7,4 +7,2 @@ name: New University or College

labels: ["uni-new"]
assignees:
- sanjacob
body:

@@ -11,0 +9,0 @@ - type: markdown

@@ -1,2 +0,1 @@

import platform
from pathlib import Path

@@ -8,10 +7,2 @@ from requests import Response

def windows_safe_path(path: Path) -> Path:
UNC_PREFIX = u'\\\\?\\'
if platform.system() == "Windows":
return Path(UNC_PREFIX + str(path))
return path
class BStream:

@@ -25,4 +16,2 @@ """Base class for content that can be downloaded as a byte stream."""

path = windows_safe_path(path)
def _write() -> None:

@@ -43,4 +32,2 @@ with path.open("wb") as f:

path = windows_safe_path(path)
def _write() -> None:

@@ -47,0 +34,0 @@ with path.open('w', encoding='utf-8') as f:

+6
-5

@@ -31,3 +31,3 @@ # Copyright (C) 2024, Jacob Sánchez Pérez

from .dialogs import Dialogs
from .utils import add_to_startup, open_in_file_browser
from .utils import add_to_startup, open_in_file_browser, windows_safe_path
from .assets import get_translations

@@ -168,5 +168,5 @@

sync_dir = windows_safe_path(self.setup_window.download_location)
self.signals.setup.emit(self.setup_window.institution_index,
self.setup_window.download_location,
self.setup_window.min_year or 0)
sync_dir, self.setup_window.min_year or 0)

@@ -176,5 +176,6 @@ @pyqtSlot()

self.hide(self.config_window)
self.signals.config.emit(self.config_window.download_location,
self.config_window.sync_frequency)
sync_dir = windows_safe_path(self.config_window.download_location)
self.signals.config.emit(sync_dir, self.config_window.sync_frequency)
@pyqtSlot()

@@ -181,0 +182,0 @@ def slot_quit(self) -> None:

@@ -0,1 +1,3 @@

"""Some UI and OS-dependent utility functions."""
# Copyright (C) 2024, Jacob Sánchez Pérez

@@ -141,1 +143,9 @@

return get_human_time(s, Time.YEAR)
def windows_safe_path(path: Path) -> Path:
UNC_PREFIX = u'\\\\?\\'
if platform.system() == "Windows":
return Path(UNC_PREFIX + str(path))
return path

@@ -214,6 +214,6 @@ """

log_dir = Path(self.download_location / self._log_directory)
log_dir = self.download_location / self._log_directory
log_dir.mkdir(exist_ok=True, parents=True)
log_path = Path(log_dir / filename)
log_path = log_dir / filename

@@ -220,0 +220,0 @@ logger = logging.getLogger(__name__)

@@ -621,2 +621,55 @@ [

{
"name": "University of Evansville",
"short_name": "UE",
"country": "US",
"login": {
"start_url": "https://bblearn.evansville.edu",
"target_url": "https://bblearn.evansville.edu/ultra/"
},
"network": {
"name": [
"UE1",
"UE2",
"UE3",
"UE4"
]
},
"api_url": "https://bblearn.evansville.edu"
},
{
"name": "The University of Edinburgh",
"short_name": "Oilthigh Dhùn Èideann",
"country": "GB",
"login": {
"start_url": "https://www.learn.ed.ac.uk",
"target_url": "https://www.learn.ed.ac.uk/ultra/"
},
"network": {
"name": [
"UNI-EDINBURGH-LINR"
]
},
"api_url": "https://www.learn.ed.ac.uk"
},
{
"name": "Glasgow Caledonian University",
"short_name": "GCU",
"country": "GB",
"login": {
"start_url": "https://blackboard.gcal.ac.uk",
"target_url": "https://blackboard.gcal.ac.uk/ultra/"
},
"api_url": "https://blackboard.gcal.ac.uk"
},
{
"name": "Mid-State Technical College",
"short_name": "MSTC",
"country": "US",
"login": {
"start_url": "https://mstc.blackboard.com",
"target_url": "https://mstc.blackboard.com/ultra/"
},
"api_url": "https://mstc.blackboard.com"
},
{
"name": "Fakeboard",

@@ -623,0 +676,0 @@ "short_name": "dev",

Metadata-Version: 2.1
Name: blackboardsync
Version: 0.17.1
Version: 0.17.2rc1
Summary: Sync your blackboard content to your device

@@ -5,0 +5,0 @@ Author-email: Jacob Sánchez <jacobszpz@protonmail.com>

@@ -10,2 +10,13 @@ # Changelog

### Fixed
- Long paths on Windows for all operations
### Added
- Add support for University of Evansville (@lukebsa)
- Add support for The University of Edinburgh (@sanjacob)
- Add support for Glasgow Caledonian University (@sanjacob)
- Add support for Mid-State Technical College (@lint-os)
## [0.17.1] - 2024-09-22
### Fixed
- Name conflict between content and attachment

@@ -12,0 +23,0 @@ - Handle OSError in download workers

@@ -22,2 +22,5 @@ <?xml version="1.0" encoding="utf-8"?>

<Resource Language="en-us" />
<Resource Language="es" />
<Resource Language="fr" />
<Resource Language="de" />
</Resources>

@@ -24,0 +27,0 @@

Metadata-Version: 2.1
Name: blackboardsync
Version: 0.17.1
Version: 0.17.2rc1
Summary: Sync your blackboard content to your device

@@ -5,0 +5,0 @@ Author-email: Jacob Sánchez <jacobszpz@protonmail.com>

@@ -105,2 +105,4 @@ # Universities

- University of Aberdeen
- The University of Edinburgh
- Glasgow Caledonian University

@@ -144,2 +146,4 @@ ###### Northern Ireland

- University of Texas at Dallas
- University of Evansville
- Mid-State Technical College

@@ -146,0 +150,0 @@ ###### Canada