BBC_Scripts
  1. BBC_Scripts

sync_ah_users_groups

Public
AuthorCommitMessageCommit dateIssues
Michael WalkerMichael Walker
e289bb3ae52updated to reflect changes added in non-tracked locations
Michael WalkerMichael Walker
a028b90364fadding BSD 2-clause license and authorship
Michael WalkerMichael Walker
d9a4eed8cc2adjusting print output and preventing possible race conditions by looking at last event processed timestamp rather than script runtime
Michael WalkerMichael Walker
da788306d9densure that if we update last_task_runtime only if the task being completed is more recent than the last recorded event (in the case that we're running a queued event rather than a current/live event)
Michael WalkerMichael Walker
ded98257608added revoke invite as additional step to remove user from group if remove user fails | updated script to not store the last runtime timestamp.but rather the timestamp of the last successful task (plus 1 second) to ensure no time based race conditions are met around script startup and by the time it pulls data from the api | adjusted some debug logging for clarity
Michael WalkerMichael Walker
f6b3efb46deremove unused import
Michael WalkerMichael Walker
c4a79116978added itteration for multiple possible users for single add_to_group event
Michael WalkerMichael Walker
2ea1eaddf82convert multi comparrison to 'in list' lookup
Michael WalkerMichael Walker
c33a5502de0adjusted more debug logging and added additional success status code
Michael WalkerMichael Walker
09dc52fbcb7setting roll back to 2 minutes for audit log propogation | adjusted debug logs to better reflect actual operation | updated task_ready to be more readable/accurate | ensure that all groups are compared with their .lower() respectfully to ensure full match regardless of input
Michael WalkerMichael Walker
3dbeaab3ae5removed stale as is was just an over complicated 'fail' statement
Michael WalkerMichael Walker
e3108ab8656removed QueuedTasks items in exchange for standard list
Michael WalkerMichael Walker
b639b49af80adding readme, inproved env_template, and shortened some task to improve readability | minor use case review still necessary
Michael WalkerMichael Walker
d14927b5ceaadding Status.STALE and potential use cases
Michael WalkerMichael Walker
7ebcc448ab9added json seralizer/deserializer and some other cleanup.Only remaining problem is why context.attributes (from the ah api) is sometimes empty
Michael WalkerMichael Walker
83b2a685c71WIP still needs save/load features
Michael WalkerMichael Walker
f2400d958ceWIP, still missing some functions and needs write to file and read in from file functions sorted out
Michael WalkerMichael Walker
f3d2d15bc9ainit