From 6217056fd8dbc37377940d50881a5e15cf42ac8c Mon Sep 17 00:00:00 2001 From: Rafalc13 Date: Tue, 31 Oct 2023 09:33:19 +0530 Subject: [PATCH] Initial commit --- Twitter/.vscode/settings.json | 5 + Twitter/config.ini | 7 + Twitter/key-twitter.txt | 14 + Twitter/twitter_api_1.py | 26 + comment.txt | 1 + day_1/alpha1.py | 6 + day_1/alpha10.py | 6 + day_1/alpha2.py | 5 + day_1/alpha3.py | 4 + day_1/alpha4.py | 2 + day_1/alpha5.py | 3 + day_1/alpha6.py | 12 + day_1/alpha7.py | 13 + day_1/alpha8.py | 12 + day_1/alpha9.py | 6 + day_10/.vscode/settings.json | 10 + day_10/api_geolocation.py | 49 + day_10/web_serv_apis.py | 32 + day_11/.vscode/settings.json | 14 + day_11/google/geoxml.py | 43 + day_11/google/map1.py | 53 + day_11/twit/hidden.py | 7 + day_11/twit/key-twitter.txt | 17 + day_11/twit/oauth.py | 610 ++++++++ day_11/twit/twitter_13.py | 28 + day_11/twit/twurl.py | 12 + day_2/.vscode/settings.json | 7 + day_2/al1.py | 14 + day_2/al2.py | 13 + day_2/al3.py | 10 + day_2/al4.py | 9 + day_2/func | 1 + day_2/read.txt | 4 + day_3/begginer_string.py | 65 + day_4/.vscode/settings.json | 10 + day_4/file.txt | 8 + day_4/intermediate_string.py | 101 ++ day_4/lists.py | 73 + day_4/python_dictionaries.py | 37 + day_4/python_lists.py | 60 + day_4/reading_file.py | 100 ++ day_4/strings_lists.py | 47 + day_5/.vscode/settings.json | 6 + day_5/dict_common_applications.py | 42 + day_6/dict_and_loops.py | 51 + day_6/word.txt | 3 + day_7/.vscode/settings.json | 8 + day_7/Networking.py | 4 + day_7/Tuples_collection.py | 56 + day_7/Tuples_compare_and_sort.py | 48 + day_7/mbox-short.txt | 1910 +++++++++++++++++++++++++ day_7/reg_ex_apllications.py | 44 + day_7/reg_ex_match_extract_data.py | 27 + day_7/regular_expression.py | 51 + day_7/romeo.txt | 4 + day_8/Network_protocol.py | 8 + day_9/.vscode/settings.json | 9 + day_9/Network_text_processing.py | 28 + day_9/Network_urllib.py | 32 + day_9/Networking_write_web_browser.py | 28 + day_9/data_types.xml | 7 + day_9/data_types_schema.xml | 7 + day_9/doc.xml | 7 + day_9/netw_web_scraping.py | 13 + day_9/schema_contract.xml | 9 + day_9/web_services_json.py | 57 + day_9/web_services_xml.py | 26 + day_9/web_services_xml2.py | 23 + day_9/xsd_constrain.xml | 9 + day_9/xsd_constrain_schema.xml | 10 + ex_mode | 1 + practical/al.txt | 8 + practical/init.py | 17 + 73 files changed, 4109 insertions(+) create mode 100644 Twitter/.vscode/settings.json create mode 100644 Twitter/config.ini create mode 100644 Twitter/key-twitter.txt create mode 100644 Twitter/twitter_api_1.py create mode 100755 comment.txt create mode 100755 day_1/alpha1.py create mode 100755 day_1/alpha10.py create mode 100755 day_1/alpha2.py create mode 100755 day_1/alpha3.py create mode 100755 day_1/alpha4.py create mode 100755 day_1/alpha5.py create mode 100755 day_1/alpha6.py create mode 100755 day_1/alpha7.py create mode 100755 day_1/alpha8.py create mode 100755 day_1/alpha9.py create mode 100644 day_10/.vscode/settings.json create mode 100644 day_10/api_geolocation.py create mode 100644 day_10/web_serv_apis.py create mode 100644 day_11/.vscode/settings.json create mode 100644 day_11/google/geoxml.py create mode 100644 day_11/google/map1.py create mode 100644 day_11/twit/hidden.py create mode 100644 day_11/twit/key-twitter.txt create mode 100644 day_11/twit/oauth.py create mode 100644 day_11/twit/twitter_13.py create mode 100644 day_11/twit/twurl.py create mode 100755 day_2/.vscode/settings.json create mode 100755 day_2/al1.py create mode 100755 day_2/al2.py create mode 100755 day_2/al3.py create mode 100755 day_2/al4.py create mode 160000 day_2/func create mode 100755 day_2/read.txt create mode 100755 day_3/begginer_string.py create mode 100755 day_4/.vscode/settings.json create mode 100755 day_4/file.txt create mode 100755 day_4/intermediate_string.py create mode 100755 day_4/lists.py create mode 100755 day_4/python_dictionaries.py create mode 100755 day_4/python_lists.py create mode 100755 day_4/reading_file.py create mode 100755 day_4/strings_lists.py create mode 100755 day_5/.vscode/settings.json create mode 100755 day_5/dict_common_applications.py create mode 100755 day_6/dict_and_loops.py create mode 100755 day_6/word.txt create mode 100644 day_7/.vscode/settings.json create mode 100644 day_7/Networking.py create mode 100755 day_7/Tuples_collection.py create mode 100644 day_7/Tuples_compare_and_sort.py create mode 100644 day_7/mbox-short.txt create mode 100644 day_7/reg_ex_apllications.py create mode 100644 day_7/reg_ex_match_extract_data.py create mode 100644 day_7/regular_expression.py create mode 100644 day_7/romeo.txt create mode 100644 day_8/Network_protocol.py create mode 100644 day_9/.vscode/settings.json create mode 100644 day_9/Network_text_processing.py create mode 100644 day_9/Network_urllib.py create mode 100644 day_9/Networking_write_web_browser.py create mode 100644 day_9/data_types.xml create mode 100644 day_9/data_types_schema.xml create mode 100644 day_9/doc.xml create mode 100644 day_9/netw_web_scraping.py create mode 100644 day_9/schema_contract.xml create mode 100644 day_9/web_services_json.py create mode 100644 day_9/web_services_xml.py create mode 100644 day_9/web_services_xml2.py create mode 100644 day_9/xsd_constrain.xml create mode 100644 day_9/xsd_constrain_schema.xml create mode 160000 ex_mode create mode 100755 practical/al.txt create mode 100755 practical/init.py diff --git a/Twitter/.vscode/settings.json b/Twitter/.vscode/settings.json new file mode 100644 index 0000000..06b2ff8 --- /dev/null +++ b/Twitter/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "cSpell.words": [ + "tweepy" + ] +} \ No newline at end of file diff --git a/Twitter/config.ini b/Twitter/config.ini new file mode 100644 index 0000000..a58c848 --- /dev/null +++ b/Twitter/config.ini @@ -0,0 +1,7 @@ +[twitter] + +api_key = "T0O0kBC6L6Y9364XvB4ZCmjOE" +api_key_secret = "3k0NpzAZucwclKgFNEkDv010UCxj2gNy0N7FngrZbpe2xmuGPu" + +access_token = "1647893887401472000-Izrux3KdZ2yLTErxM1v2uIpX0eCrJP" +access_token_secret = "6DKqlA7lWdyGIY9CLvOQGnQIWorsafBZUA6cRyWj3uyP3" \ No newline at end of file diff --git a/Twitter/key-twitter.txt b/Twitter/key-twitter.txt new file mode 100644 index 0000000..b1f8709 --- /dev/null +++ b/Twitter/key-twitter.txt @@ -0,0 +1,14 @@ +api_key=T0O0kBC6L6Y9364XvB4ZCmjOE +api_key_secret=3k0NpzAZucwclKgFNEkDv010UCxj2gNy0N7FngrZbpe2xmuGPu +Bearer_token=AAAAAAAAAAAAAAAAAAAAAHP1qgEAAAAAthcuRpt%2Bdw1m1b%2FadBU%2BrOUGxSc%3D1KYBsnoxHNdME5m1DtgjLPLjv0EdQnlu7SYoivJ4mZAVkFj5Me +Access_token=1647893887401472000-Izrux3KdZ2yLTErxM1v2uIpX0eCrJP +Access_token_secret=6DKqlA7lWdyGIY9CLvOQGnQIWorsafBZUA6cRyWj3uyP3 + + + + + + + +client_id=VmMxc3J3aVQ5UFJoc3RNNmo2bVY6MTpjaQ +client_secret=-8rJv7SqsdWz9-KhNoFqdixN98vXMLXhCMYZFHh38zVz0nCpXk diff --git a/Twitter/twitter_api_1.py b/Twitter/twitter_api_1.py new file mode 100644 index 0000000..779ff42 --- /dev/null +++ b/Twitter/twitter_api_1.py @@ -0,0 +1,26 @@ +import tweepy + +#bearer_token = "AAAAAAAAAAAAAAAAAAAAAHP1qgEAAAAAthcuRpt%2Bdw1m1b%2FadBU%2BrOUGxSc%3D1KYBsnoxHNdME5m1DtgjLPLjv0EdQnlu7SYoivJ4mZAVkFj5Me" + +consumer_key = "T0O0kBC6L6Y9364XvB4ZCmjOE" +consumer_secret = "3k0NpzAZucwclKgFNEkDv010UCxj2gNy0N7FngrZbpe2xmuGPu" + +access_token = "1647893887401472000-Izrux3KdZ2yLTErxM1v2uIpX0eCrJP" +access_token_secret = "6DKqlA7lWdyGIY9CLvOQGnQIWorsafBZUA6cRyWj3uyP3" +auth = tweepy.OAuth1UserHandler( + consumer_key, consumer_secret, access_token, access_token_secret +) + +api = tweepy.API(auth) + +user = 'veritasium' +limit =100 + +tweets = api.user_timeline(screen_name=user, count=limit, tweet_mode='extended') +columns = ['User', 'Tweet'] +data = [] +for tweet in tweets: + data.append([tweet.user.screen_name, tweet.full_text]) +df = pd.DataFrame(data, columns=columns) + +print(df) \ No newline at end of file diff --git a/comment.txt b/comment.txt new file mode 100755 index 0000000..1400eb7 --- /dev/null +++ b/comment.txt @@ -0,0 +1 @@ +#hashtag is commet diff --git a/day_1/alpha1.py b/day_1/alpha1.py new file mode 100755 index 0000000..8612486 --- /dev/null +++ b/day_1/alpha1.py @@ -0,0 +1,6 @@ +x=5 +if x < 10: + print('Smaller') +if x > 20: + print('Bigger') +print('Finis') diff --git a/day_1/alpha10.py b/day_1/alpha10.py new file mode 100755 index 0000000..520c5eb --- /dev/null +++ b/day_1/alpha10.py @@ -0,0 +1,6 @@ +x = 4 +if x > 2: + print('Bigger') +else: + print('Smaller') +print('All done') diff --git a/day_1/alpha2.py b/day_1/alpha2.py new file mode 100755 index 0000000..327c036 --- /dev/null +++ b/day_1/alpha2.py @@ -0,0 +1,5 @@ +n=5 +while n > 0 : + print(n) + n=n-1 +print('Blastoff!') diff --git a/day_1/alpha3.py b/day_1/alpha3.py new file mode 100755 index 0000000..4d4f708 --- /dev/null +++ b/day_1/alpha3.py @@ -0,0 +1,4 @@ +hours = 35.0 +rate = 13.5 +pay = hours * rate +print(pay) diff --git a/day_1/alpha4.py b/day_1/alpha4.py new file mode 100755 index 0000000..a7547cd --- /dev/null +++ b/day_1/alpha4.py @@ -0,0 +1,2 @@ +name = input('Who are you? ') +print('Welcome', name) diff --git a/day_1/alpha5.py b/day_1/alpha5.py new file mode 100755 index 0000000..7035e96 --- /dev/null +++ b/day_1/alpha5.py @@ -0,0 +1,3 @@ +inp = input('Europe floor?') +usf = int(inp) + 1 +print('US floor', usf) diff --git a/day_1/alpha6.py b/day_1/alpha6.py new file mode 100755 index 0000000..adb544c --- /dev/null +++ b/day_1/alpha6.py @@ -0,0 +1,12 @@ +x = 5 +if x == 5: + print('Equals 5') +if x > 4: + print('Greater than 4') +if x >= 5: + print('Greater than or Equals 5') +if x < 6 : print('Less than 6') +if x <= 5: + print('Less than or Equals 5') +if x != 6: + print('Not equal 6') diff --git a/day_1/alpha7.py b/day_1/alpha7.py new file mode 100755 index 0000000..8d6a8d1 --- /dev/null +++ b/day_1/alpha7.py @@ -0,0 +1,13 @@ +x = 5 +print('Before 5') +if x == 5: + print('Is 5') + print('Is Still 5') + print('Third 5') +print('Afterwards 5') +print('Before 6') +if x == 6: + print('Is 6') + print('Is Still 6') + print('Third 6') +print('Afterwards 6') diff --git a/day_1/alpha8.py b/day_1/alpha8.py new file mode 100755 index 0000000..36b5506 --- /dev/null +++ b/day_1/alpha8.py @@ -0,0 +1,12 @@ +x = 5 +if x > 2: + print('Bigger than 2') + print('Still bigger') +print('Done with 2') + +for i in range(5): + print(i) + if i > 2: + print('Bigger than 2') + print('Done with i', i) +print('All Done') diff --git a/day_1/alpha9.py b/day_1/alpha9.py new file mode 100755 index 0000000..7ae209f --- /dev/null +++ b/day_1/alpha9.py @@ -0,0 +1,6 @@ +x = 42 +if x > 1: + print('More than one') + if x < 100: + print('Less than 100') +print('All Done') diff --git a/day_10/.vscode/settings.json b/day_10/.vscode/settings.json new file mode 100644 index 0000000..9d1027c --- /dev/null +++ b/day_10/.vscode/settings.json @@ -0,0 +1,10 @@ +{ + "cSpell.words": [ + "ARTX", + "CYWLT", + "Klke", + "requrl", + "Tpja", + "twurl" + ] +} \ No newline at end of file diff --git a/day_10/api_geolocation.py b/day_10/api_geolocation.py new file mode 100644 index 0000000..4c1f8b0 --- /dev/null +++ b/day_10/api_geolocation.py @@ -0,0 +1,49 @@ +#working with false api key + +import urllib.request, urllib.parse, urllib.error +import json + +api_key = False +# If you have a Google Places API key, enter it here +# api_key = 'AIzaSy___IDByT70' +# https://developers.google.com/maps/documentation/geocoding/intro + +if api_key is False: + api_key = 42 + serviceurl = 'http://py4e-data.dr-chuck.net/json?' +else : + serviceurl = 'https://maps.googleapis.com/maps/api/geocode/json?' + + + +while True: + address = input('Enter location: ') + if len(address) < 1: break + + parms = dict() + parms['address'] = address + if api_key is not False: parms['key'] = api_key + url = serviceurl + urllib.parse.urlencode(parms) + + print('Retrieving', url) + uh = urllib.request.urlopen(url) + data = uh.read().decode() + print('Retrieved', len(data), 'characters') + + try: + js = json.loads(data) + except: + js = None + + if not js or 'status' not in js or js['status'] != 'OK': + print('==== Failure To Retrieve ====') + print(data) + continue + + print(json.dumps(js, indent=4)) + + lat = js['results'][0]['geometry']['location']['lat'] + lng = js['results'][0]['geometry']['location']['lng'] + print('lat', lat, 'lng', lng) + location = js['results'][0]['formatted_address'] + print(location) diff --git a/day_10/web_serv_apis.py b/day_10/web_serv_apis.py new file mode 100644 index 0000000..ba0d44c --- /dev/null +++ b/day_10/web_serv_apis.py @@ -0,0 +1,32 @@ +#lv web service to retrieve location data from google cloud using map api as this just opens doors for study +#this one is without api key + +import urllib.request, urllib.parse, urllib.error +import json + +requrl = 'http://maps.googleapis.com/maps/api/geocode/json?' +while True: + address = input('Enter Location: ') + if len(address) < 1: + break + url = requrl + urllib.parse.urlencode({'address': address}) + print('Retrieving', url) + uh = urllib.request.urlopen(url) + data = uh.read().decode() + print('Retrieved', len(data), 'characters') + + try: + js = json.loads(data) + except: + js = None + + if not js or 'status' not in js or js['status'] != 'OK': + print('==== Failure To Retrieve ====') + print(data) + continue + + lat = js["results"][0]["geometry"]["location"]["lat"] + lng = js["results"][0]["geometry"]["location"]["lng"] + print('lat', lat, 'lng', lng) + location = js["results"][0]["formatted_address"] + print(location) diff --git a/day_11/.vscode/settings.json b/day_11/.vscode/settings.json new file mode 100644 index 0000000..95f9af9 --- /dev/null +++ b/day_11/.vscode/settings.json @@ -0,0 +1,14 @@ +{ + "cSpell.words": [ + "BNKQ", + "eofta", + "Fxck", + "Iukw", + "Jtyqy", + "Pcpn", + "Pwdiq", + "twurl", + "VHMJD", + "Ybdy" + ] +} \ No newline at end of file diff --git a/day_11/google/geoxml.py b/day_11/google/geoxml.py new file mode 100644 index 0000000..923f2af --- /dev/null +++ b/day_11/google/geoxml.py @@ -0,0 +1,43 @@ +import urllib.request, urllib.parse, urllib.error +import xml.etree.ElementTree as ET +import ssl + +api_key = False +# If you have a Google Places API key, enter it here +# api_key = 'AIzaSy___IDByT70' +# https://developers.google.com/maps/documentation/geocoding/intro + +if api_key is False: + api_key = 42 + serviceurl = 'http://py4e-data.dr-chuck.net/xml?' +else : + serviceurl = 'https://maps.googleapis.com/maps/api/geocode/xml?' + +# Ignore SSL certificate errors +ctx = ssl.create_default_context() +ctx.check_hostname = False +ctx.verify_mode = ssl.CERT_NONE + +while True: + address = input('Enter location: ') + if len(address) < 1: break + + parms = dict() + parms['address'] = address + if api_key is not False: parms['key'] = api_key + url = serviceurl + urllib.parse.urlencode(parms) + print('Retrieving', url) + uh = urllib.request.urlopen(url, context=ctx) + + data = uh.read() + print('Retrieved', len(data), 'characters') + print(data.decode()) + tree = ET.fromstring(data) + + results = tree.findall('result') + lat = results[0].find('geometry').find('location').find('lat').text + lng = results[0].find('geometry').find('location').find('lng').text + location = results[0].find('formatted_address').text + + print('lat', lat, 'lng', lng) + print(location) diff --git a/day_11/google/map1.py b/day_11/google/map1.py new file mode 100644 index 0000000..ec3c271 --- /dev/null +++ b/day_11/google/map1.py @@ -0,0 +1,53 @@ +import urllib.request, urllib.parse, urllib.error +import json +import ssl + +api_key = False +# If you have a Google Places API key, enter it here +# api_key = 'AIzaSy___IDByT70' +# https://developers.google.com/maps/documentation/geocoding/intro + +if api_key is False: + api_key = 42 + serviceurl = 'http://py4e-data.dr-chuck.net/json?' +else : + serviceurl = 'https://maps.googleapis.com/maps/api/geocode/json?' + +# Ignore SSL certificate errors +ctx = ssl.create_default_context() +ctx.check_hostname = False +ctx.verify_mode = ssl.CERT_NONE + +while True: + address = input('Enter location: ') + if len(address) < 1: break + + parms = dict() + parms['address'] = address + if api_key is not False: parms['key'] = api_key + url = serviceurl + urllib.parse.urlencode(parms) + + print('Retrieving', url) + uh = urllib.request.urlopen(url, context=ctx) + data = uh.read().decode() + print('Retrieved', len(data), 'characters') + + try: + js = json.loads(data) + except: + js = None + + if not js or 'status' not in js or js['status'] != 'OK': + print('==== Failure To Retrieve ====') + print(data) + continue + + print(json.dumps(js, indent=4)) + + lat = js['results'][0]['geometry']['location']['lat'] + lng = js['results'][0]['geometry']['location']['lng'] + print('lat', lat, 'lng', lng) + location = js['results'][0]['formatted_address'] + print(location) + +# Code: http://www.py4e.com/code3/geojson.py \ No newline at end of file diff --git a/day_11/twit/hidden.py b/day_11/twit/hidden.py new file mode 100644 index 0000000..01a6183 --- /dev/null +++ b/day_11/twit/hidden.py @@ -0,0 +1,7 @@ +def oauth(): + return { + "consumer_key": "TpWV5YbdyJ2GvRcPwdiq5Pcpn", + "consumer_secret": "gL4eoftaQrN0tNuNJy8Fb6mZpPgjP2F0Enm9kVHMJDHwFxckF9", + "token_key": "1647893887401472000-UeQkeW0HaQwrWpLvHxLpJ3Tc0eBNKQ", + "token_secret": "Q2as39GHyBEqAcWTeIukwGDcCJtyqyMui7qt8DsEx4oUZ" + } diff --git a/day_11/twit/key-twitter.txt b/day_11/twit/key-twitter.txt new file mode 100644 index 0000000..6e6c42f --- /dev/null +++ b/day_11/twit/key-twitter.txt @@ -0,0 +1,17 @@ +Access Token = 1647893887401472000-UeQkeW0HaQwrWpLvHxLpJ3Tc0eBNKQ + +Access Token Secret = Q2as39GHyBEqAcWTeIukwGDcCJtyqyMui7qt8DsEx4oUZ + + +API Key = TpWV5YbdyJ2GvRcPwdiq5Pcpn + +API Key Secret = gL4eoftaQrN0tNuNJy8Fb6mZpPgjP2F0Enm9kVHMJDHwFxckF9 + +Bearer Token = AAAAAAAAAAAAAAAAAAAAAI0SqwEAAAAAcHrDkHIHMsvep2rerIa5WkdDYtU%3DyJBdIA0i5w6oiZI85VzuaCyPCdLAddEtry6C1ds20LAuYjNxcY + + + + + + +client_id=X3JDdXE4TWxtMEwwOU5LcU5fMGw6MTpjaQ client_secret=kmdkAW5CEvQfcjtuDuH3FAiVeyPNuq4WNqL9qOmzGtRMABENwQ diff --git a/day_11/twit/oauth.py b/day_11/twit/oauth.py new file mode 100644 index 0000000..71f8135 --- /dev/null +++ b/day_11/twit/oauth.py @@ -0,0 +1,610 @@ +""" +The MIT License + +Copyright (c) 2007 Leah Culver + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +""" + +import cgi +import urllib.request, urllib.parse, urllib.error +import time +import random +import urllib.parse +import binascii + + +VERSION = '1.0' # Hi Blaine! +HTTP_METHOD = 'GET' +SIGNATURE_METHOD = 'PLAINTEXT' + + +class OAuthError(RuntimeError): + """Generic exception class.""" + def __init__(self, message='OAuth error occured.'): + self.mymessage = message + + +def build_authenticate_header(realm=''): + """Optional WWW-Authenticate header (401 error)""" + return {'WWW-Authenticate': 'OAuth realm="%s"' % realm} + + +def escape(s): + """Escape a URL including any /.""" + return urllib.parse.quote(s, safe='~') + + +def _utf8_str(s): + """Convert unicode to utf-8.""" + if isinstance(s, str): + return s.encode("utf-8") + else: + return str(s) + + +def generate_timestamp(): + """Get seconds since epoch (UTC).""" + return int(time.time()) + + +def generate_nonce(length=8): + """Generate pseudorandom number.""" + return ''.join([str(random.randint(0, 9)) for i in range(length)]) + + +class OAuthConsumer(object): + """Consumer of OAuth authentication. + + OAuthConsumer is a data type that represents the identity of the Consumer + via its shared secret with the Service Provider. + + """ + key = None + secret = None + + def __init__(self, key, secret): + self.key = key + self.secret = secret + + +class OAuthToken(object): + """OAuthToken is a data type that represents an End User via either an access + or request token. + + key -- the token + secret -- the token secret + + """ + key = None + secret = None + + def __init__(self, key, secret): + self.key = key + self.secret = secret + + def to_string(self): + return urllib.parse.urlencode({'oauth_token': self.key, + 'oauth_token_secret': self.secret}) + + def from_string(s): + """ Returns a token from something like: + oauth_token_secret=xxx&oauth_token=xxx + """ + params = cgi.parse_qs(s, keep_blank_values=False) + key = params['oauth_token'][0] + secret = params['oauth_token_secret'][0] + return OAuthToken(key, secret) + from_string = staticmethod(from_string) + + def __str__(self): + return self.to_string() + + +class OAuthRequest(object): + """OAuthRequest represents the request and can be serialized. + + OAuth parameters: + - oauth_consumer_key + - oauth_token + - oauth_signature_method + - oauth_signature + - oauth_timestamp + - oauth_nonce + - oauth_version + ... any additional parameters, as defined by the Service Provider. + """ + parameters = None # OAuth parameters. + http_method = HTTP_METHOD + http_url = None + version = VERSION + + def __init__(self, http_method=HTTP_METHOD, + http_url=None, parameters=None): + self.http_method = http_method + self.http_url = http_url + self.parameters = parameters or {} + + def set_parameter(self, parameter, value): + self.parameters[parameter] = value + + def get_parameter(self, parameter): + try: + return self.parameters[parameter] + except: + if parameter == "oauth_token": return None + raise OAuthError('Parameter not found: %s' % parameter) + + def _get_timestamp_nonce(self): + return self.get_parameter('oauth_timestamp'), self.get_parameter( + 'oauth_nonce') + + def get_nonoauth_parameters(self): + """Get any non-OAuth parameters.""" + parameters = {} + for k, v in self.parameters.items(): + # Ignore oauth parameters. + if k.find('oauth_') < 0: + parameters[k] = v + return parameters + + def to_header(self, realm=''): + """Serialize as a header for an HTTPAuth request.""" + auth_header = 'OAuth realm="%s"' % realm + # Add the oauth parameters. + if self.parameters: + for k, v in self.parameters.items(): + if k[:6] == 'oauth_': + auth_header += ', %s="%s"' % (k, escape(str(v))) + return {'Authorization': auth_header} + + def to_postdata(self): + """Serialize as post data for a POST request.""" + return '&'.join(['%s=%s' % (escape(str(k)), escape(str(v))) + for k, v in self.parameters.items()]) + + def to_url(self): + """Serialize as a URL for a GET request.""" + return '%s?%s' % (self.get_normalized_http_url(), self.to_postdata()) + + def get_normalized_parameters(self): + """Return a string that contains the parameters that must be signed.""" + # Chuck - Make a copy of the parameters so we can modify them + params = dict(self.parameters) + try: + # Exclude the signature if it exists. + del params['oauth_signature'] + except: + pass + # Escape key values before sorting. + key_values = [(escape(_utf8_str(k)), escape(_utf8_str(v))) + for k, v in list(params.items())] + # Sort lexicographically, first after key, then after value. + key_values.sort() + # Combine key value pairs into a string. + return '&'.join(['%s=%s' % (k, v) for k, v in key_values]) + + def get_normalized_http_method(self): + """Uppercases the http method.""" + return self.http_method.upper() + + def get_normalized_http_url(self): + """Parses the URL and rebuilds it to be scheme://host/path.""" + parts = urllib.parse.urlparse(self.http_url) + scheme, netloc, path = parts[:3] + # Exclude default port numbers. + if scheme == 'http' and netloc[-3:] == ':80': + netloc = netloc[:-3] + elif scheme == 'https' and netloc[-4:] == ':443': + netloc = netloc[:-4] + return '%s://%s%s' % (scheme, netloc, path) + + def sign_request(self, signature_method, consumer, token): + """Set the signature parameter to the result of build_signature.""" + # Set the signature method. + self.set_parameter('oauth_signature_method', + signature_method.get_name()) + # Set the signature. + self.set_parameter('oauth_signature', + self.build_signature(signature_method, + consumer, token)) + + def build_signature(self, signature_method, consumer, token): + """Calls the build signature method within the signature method.""" + return signature_method.build_signature(self, consumer, token) + + def from_request(http_method, http_url, headers=None, + parameters=None, query_string=None): + """Combines multiple parameter sources.""" + if parameters is None: + parameters = {} + + # Headers + if headers and 'Authorization' in headers: + auth_header = headers['Authorization'] + # Check that the authorization header is OAuth. + if auth_header.index('OAuth') > -1: + auth_header = auth_header.lstrip('OAuth ') + try: + # Get the parameters from the header. + header_params = OAuthRequest._split_header(auth_header) + parameters.update(header_params) + except: + raise OAuthError('Unable to parse OAuth parameters from' + 'Authorization header.') + + # GET or POST query string. + if query_string: + query_params = OAuthRequest._split_url_string(query_string) + parameters.update(query_params) + + # URL parameters. + param_str = urllib.parse.urlparse(http_url)[4] # query + url_params = OAuthRequest._split_url_string(param_str) + parameters.update(url_params) + + if parameters: + return OAuthRequest(http_method, http_url, parameters) + + return None + from_request = staticmethod(from_request) + + def from_consumer_and_token(oauth_consumer, token=None, + http_method=HTTP_METHOD, http_url=None, + parameters=None): + if not parameters: + parameters = {} + + defaults = { + 'oauth_consumer_key': oauth_consumer.key, + 'oauth_timestamp': generate_timestamp(), + 'oauth_nonce': generate_nonce(), + 'oauth_version': OAuthRequest.version, + } + + defaults.update(parameters) + parameters = defaults + + if token: + parameters['oauth_token'] = token.key + + return OAuthRequest(http_method, http_url, parameters) + from_consumer_and_token = staticmethod(from_consumer_and_token) + + def from_token_and_callback(token, callback=None, + http_method=HTTP_METHOD, http_url=None, + parameters=None): + if not parameters: + parameters = {} + + parameters['oauth_token'] = token.key + + if callback: + parameters['oauth_callback'] = callback + + return OAuthRequest(http_method, http_url, parameters) + from_token_and_callback = staticmethod(from_token_and_callback) + + def _split_header(header): + """Turn Authorization: header into parameters.""" + params = {} + parts = header.split(',') + for param in parts: + # Ignore realm parameter. + if param.find('realm') > -1: + continue + # Remove whitespace. + param = param.strip() + # Split key-value. + param_parts = param.split('=', 1) + # Remove quotes and unescape the value. + params[param_parts[0]] = urllib.parse.unquote(param_parts[1].strip('\"')) + return params + _split_header = staticmethod(_split_header) + + def _split_url_string(param_str): + """Turn URL string into parameters.""" + parameters = cgi.parse_qs(param_str, keep_blank_values=False) + for k, v in parameters.items(): + parameters[k] = urllib.parse.unquote(v[0]) + return parameters + _split_url_string = staticmethod(_split_url_string) + + +class OAuthServer(object): + """A worker to check the validity of a request against a data store.""" + timestamp_threshold = 300 # In seconds, five minutes. + version = VERSION + signature_methods = None + data_store = None + + def __init__(self, data_store=None, signature_methods=None): + self.data_store = data_store + self.signature_methods = signature_methods or {} + + def set_data_store(self, data_store): + self.data_store = data_store + + def get_data_store(self): + return self.data_store + + def add_signature_method(self, signature_method): + self.signature_methods[signature_method.get_name()] = signature_method + return self.signature_methods + + def fetch_request_token(self, oauth_request): + """Processes a request_token request and returns the + request token on success. + """ + try: + # Get the request token for authorization. + token = self._get_token(oauth_request, 'request') + except OAuthError: + # No token required for the initial token request. + version = self._get_version(oauth_request) + consumer = self._get_consumer(oauth_request) + self._check_signature(oauth_request, consumer, None) + # Fetch a new token. + token = self.data_store.fetch_request_token(consumer) + return token + + def fetch_access_token(self, oauth_request): + """Processes an access_token request and returns the + access token on success. + """ + version = self._get_version(oauth_request) + consumer = self._get_consumer(oauth_request) + # Get the request token. + token = self._get_token(oauth_request, 'request') + self._check_signature(oauth_request, consumer, token) + new_token = self.data_store.fetch_access_token(consumer, token) + return new_token + + def verify_request(self, oauth_request): + """Verifies an api call and checks all the parameters.""" + # -> consumer and token + version = self._get_version(oauth_request) + consumer = self._get_consumer(oauth_request) + # Get the access token. + token = self._get_token(oauth_request, 'access') + self._check_signature(oauth_request, consumer, token) + parameters = oauth_request.get_nonoauth_parameters() + return consumer, token, parameters + + def authorize_token(self, token, user): + """Authorize a request token.""" + return self.data_store.authorize_request_token(token, user) + + def get_callback(self, oauth_request): + """Get the callback URL.""" + return oauth_request.get_parameter('oauth_callback') + + def build_authenticate_header(self, realm=''): + """Optional support for the authenticate header.""" + return {'WWW-Authenticate': 'OAuth realm="%s"' % realm} + + def _get_version(self, oauth_request): + """Verify the correct version request for this server.""" + try: + version = oauth_request.get_parameter('oauth_version') + except: + version = VERSION + if version and version != self.version: + raise OAuthError('OAuth version %s not supported.' % str(version)) + return version + + def _get_signature_method(self, oauth_request): + """Figure out the signature with some defaults.""" + try: + signature_method = oauth_request.get_parameter( + 'oauth_signature_method') + except: + signature_method = SIGNATURE_METHOD + try: + # Get the signature method object. + signature_method = self.signature_methods[signature_method] + except: + signature_method_names = ', '.join(list(self.signature_methods.keys())) + raise OAuthError('Signature method %s not supported try one of the' + ' following: %s' % + (signature_method, signature_method_names)) + + return signature_method + + def _get_consumer(self, oauth_request): + consumer_key = oauth_request.get_parameter('oauth_consumer_key') + consumer = self.data_store.lookup_consumer(consumer_key) + if not consumer: + raise OAuthError('Invalid consumer.') + return consumer + + def _get_token(self, oauth_request, token_type='access'): + """Try to find the token for the provided request token key.""" + token_field = oauth_request.get_parameter('oauth_token') + token = self.data_store.lookup_token(token_type, token_field) + if not token: + raise OAuthError('Invalid %s token: %s' % + (token_type, token_field)) + return token + + def _check_signature(self, oauth_request, consumer, token): + timestamp, nonce = oauth_request._get_timestamp_nonce() + self._check_timestamp(timestamp) + self._check_nonce(consumer, token, nonce) + signature_method = self._get_signature_method(oauth_request) + try: + signature = oauth_request.get_parameter('oauth_signature') + except: + raise OAuthError('Missing signature.') + # Validate the signature. + valid_sig = signature_method.check_signature(oauth_request, consumer, + token, signature) + if not valid_sig: + key, base = signature_method.build_signature_base_string( + oauth_request, consumer, token) + raise OAuthError('Invalid signature. Expected signature base ' + 'string: %s' % base) + built = signature_method.build_signature(oauth_request, consumer, token) + + def _check_timestamp(self, timestamp): + """Verify that timestamp is recentish.""" + timestamp = int(timestamp) + now = int(time.time()) + lapsed = now - timestamp + if lapsed > self.timestamp_threshold: + raise OAuthError('Expired timestamp: given %d and now %s has a ' + 'greater difference than threshold %d' % + (timestamp, now, self.timestamp_threshold)) + + def _check_nonce(self, consumer, token, nonce): + """Verify that the nonce is uniqueish.""" + nonce = self.data_store.lookup_nonce(consumer, token, nonce) + if nonce: + raise OAuthError('Nonce already used: %s' % str(nonce)) + + +class OAuthClient(object): + """OAuthClient is a worker to attempt to execute a request.""" + consumer = None + token = None + + def __init__(self, oauth_consumer, oauth_token): + self.consumer = oauth_consumer + self.token = oauth_token + + def get_consumer(self): + return self.consumer + + def get_token(self): + return self.token + + def fetch_request_token(self, oauth_request): + """-> OAuthToken.""" + raise NotImplementedError + + def fetch_access_token(self, oauth_request): + """-> OAuthToken.""" + raise NotImplementedError + + def access_resource(self, oauth_request): + """-> Some protected resource.""" + raise NotImplementedError + + +class OAuthDataStore(object): + """A database abstraction used to lookup consumers and tokens.""" + + def lookup_consumer(self, key): + """-> OAuthConsumer.""" + raise NotImplementedError + + def lookup_token(self, oauth_consumer, token_type, token_token): + """-> OAuthToken.""" + raise NotImplementedError + + def lookup_nonce(self, oauth_consumer, oauth_token, nonce): + """-> OAuthToken.""" + raise NotImplementedError + + def fetch_request_token(self, oauth_consumer): + """-> OAuthToken.""" + raise NotImplementedError + + def fetch_access_token(self, oauth_consumer, oauth_token): + """-> OAuthToken.""" + raise NotImplementedError + + def authorize_request_token(self, oauth_token, user): + """-> OAuthToken.""" + raise NotImplementedError + + +class OAuthSignatureMethod(object): + """A strategy class that implements a signature method.""" + def get_name(self): + """-> str.""" + raise NotImplementedError + + def build_signature_base_string(self, oauth_request, + oauth_consumer, oauth_token): + """-> str key, str raw.""" + raise NotImplementedError + + def build_signature(self, oauth_request, oauth_consumer, oauth_token): + """-> str.""" + raise NotImplementedError + + def check_signature(self, oauth_request, consumer, token, signature): + built = self.build_signature(oauth_request, consumer, token) + return built == signature + + +class OAuthSignatureMethod_HMAC_SHA1(OAuthSignatureMethod): + + def get_name(self): + return 'HMAC-SHA1' + + def build_signature_base_string(self, oauth_request, consumer, token): + sig = ( + escape(oauth_request.get_normalized_http_method()), + escape(oauth_request.get_normalized_http_url()), + escape(oauth_request.get_normalized_parameters()), + ) + + key = '%s&' % escape(consumer.secret) + if token and token.secret: + key += escape(token.secret) + raw = '&'.join(sig) + return key, raw + + def build_signature(self, oauth_request, consumer, token): + """Builds the base signature string.""" + key, raw = self.build_signature_base_string(oauth_request, consumer, + token) + + # Compute the oauth hmac Python 3.0 style + # http://stackoverflow.com/questions/1306550/calculating-a-sha-hash-with-a-string-secret-key-in-python + import hashlib + import base64 + import hmac + hashed = hmac.new(bytearray(key, 'latin1'), + bytearray(raw, 'latin1'), hashlib.sha1) + + # Calculate the digest base 64. + digest = hashed.digest() + enc = base64.b64encode(digest).decode() # py3k-mode + return enc + + +class OAuthSignatureMethod_PLAINTEXT(OAuthSignatureMethod): + + def get_name(self): + return 'PLAINTEXT' + + def build_signature_base_string(self, oauth_request, consumer, token): + """Concatenates the consumer key and secret.""" + sig = '%s&' % escape(consumer.secret) + if token: + sig = sig + escape(token.secret) + return sig, sig + + def build_signature(self, oauth_request, consumer, token): + key, raw = self.build_signature_base_string(oauth_request, consumer, + token) + return key diff --git a/day_11/twit/twitter_13.py b/day_11/twit/twitter_13.py new file mode 100644 index 0000000..118a23c --- /dev/null +++ b/day_11/twit/twitter_13.py @@ -0,0 +1,28 @@ +#even thou code is complete but it has no permission as we do not have elevated access to twitter api read only and post, delete + +import urllib.request, urllib.parse, urllib.error +import json +import twurl + +TWITTER_URL = 'https://api.twitter.com/1.1/friends/list.json' + +while True: + print('') + acct = input('Enter Twitter Account: ') + if(len(acct) < 1): break + url = twurl.augment(TWITTER_URL, {'screen_name': acct, 'count': '5'}) + print('Retrieving', url) + + connection = urllib.request.urlopen(url) + data = connection.read().decode() + headers = dict(connection.getheaders()) + print('Remaining', headers['x-rate-limit-remaining']) + + js = json.loads(data) + print(json.dumps(js, indent=4)) + + for u in js['users']: + print(u['screen_name']) + s = u['status']['text'] + print(' ', s[:50]) + diff --git a/day_11/twit/twurl.py b/day_11/twit/twurl.py new file mode 100644 index 0000000..bf7edce --- /dev/null +++ b/day_11/twit/twurl.py @@ -0,0 +1,12 @@ +import urllib +import oauth +import hidden + +def augment(url, parameters): + secrets = hidden.oauth() + consumer = oauth.OAuthConsumer(secrets['consumer_key'], secrets['consumer_secret']) + token = oauth.OAuthToken(secrets['token_key'], secrets['token_secret']) + + oauth_request = oauth.OAuthRequest.from_consumer_and_token(consumer, token=token, http_method='GET', http_url=url, parameters=parameters) + oauth_request.sign_request(oauth.OAuthSignatureMethod_HMAC_SHA1(), consumer, token) + return oauth_request.to_url() \ No newline at end of file diff --git a/day_2/.vscode/settings.json b/day_2/.vscode/settings.json new file mode 100755 index 0000000..fa65dde --- /dev/null +++ b/day_2/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "cSpell.words": [ + "dwen", + "iterat", + "testin" + ] +} \ No newline at end of file diff --git a/day_2/al1.py b/day_2/al1.py new file mode 100755 index 0000000..31e1869 --- /dev/null +++ b/day_2/al1.py @@ -0,0 +1,14 @@ +x=97 +if x < 2: + print('small') +elif x < 10: + print('Medium') +elif x < 20: + print('Big') +elif x < 40: + print('Large') +elif x< 100: + print('Huge') +else: + print('LGinormous') +print('All done') diff --git a/day_2/al2.py b/day_2/al2.py new file mode 100755 index 0000000..56f0909 --- /dev/null +++ b/day_2/al2.py @@ -0,0 +1,13 @@ +acn = 'Hello row' +try: + ast = int(acn) +except: + ast = -1 +print('First', ast) + +acn = '123' +try: + ast = int(acn) +except: + ast = -1 +print('Second', ast) diff --git a/day_2/al3.py b/day_2/al3.py new file mode 100755 index 0000000..12eddf3 --- /dev/null +++ b/day_2/al3.py @@ -0,0 +1,10 @@ +rawstr = input('Enter a number:') +try: + ival = int(rawstr) +except: + ival = -1 + +if ival > 0: + print('Nice work') +else: + print('Not a number') diff --git a/day_2/al4.py b/day_2/al4.py new file mode 100755 index 0000000..fd7bbad --- /dev/null +++ b/day_2/al4.py @@ -0,0 +1,9 @@ +temp = "5 degrees" +cel = 0 +try: + fahr = float(temp) +except: + print('error, input numerical value') + quit() +cel = (fahr - 32.0) * 5.0 / 9.0 +print(cel) diff --git a/day_2/func b/day_2/func new file mode 160000 index 0000000..0e07f4d --- /dev/null +++ b/day_2/func @@ -0,0 +1 @@ +Subproject commit 0e07f4d77153d76895b4483dced6fc18d76e4519 diff --git a/day_2/read.txt b/day_2/read.txt new file mode 100755 index 0000000..c43be1c --- /dev/null +++ b/day_2/read.txt @@ -0,0 +1,4 @@ +fload put x=10 with 10 to 10.0 +int is used for number and string number like #"123" +TRY: is given for code while EXCEPT: is used to detect error " +if x>1 / elif x>=0.7 / elif x=0 / else error or done " diff --git a/day_3/begginer_string.py b/day_3/begginer_string.py new file mode 100755 index 0000000..b96ad73 --- /dev/null +++ b/day_3/begginer_string.py @@ -0,0 +1,65 @@ +#lv string data type +str1 = 'hello' +str2 = 'there' +bob = str1+str2 +print(bob) +str3 = '123' +#str3=str3+1 will not work need int for str3 as bellow +x=int(str3)+1 +print(x) + +#lv1 read and convert +name = input('Enter:') +print(name) +apple = input('Enter:') +print(apple) +#x=apple-10 will have traceback as not work because not int added for apple +x=int(apple)-10 +print(x) + +#lv2 look inside string +fruit = 'banana' +letter = fruit[1] +print(letter) +x=3 +w=fruit[x-1] +print(w) + +#lv3 string have length +fruit = 'banana' +print(len(fruit)) + +#lv4 len function +fruit = 'coconut' +x = len(fruit) +print(x) + +#lv5 looping thought string +fruit = 'watermelon' +index=0 +while index < len(fruit): + letter = fruit[index] + print(index, letter) + index = index + 1 + +#lv6 looping thrrough string without index this is better if index is not needed from lv5 +fruit = 'kiwi' +for letter in fruit: + print(letter) + +#lv7 looping and counting times a appear +word = 'grapesaa' +count = 0 +for letter in word: + if letter == 'a': + count = count + 1 + +print(count) + +#lv8 looking deep into in +for letter in 'banana': + print(letter) + +#test QA +for n in 'banana': + print(n) \ No newline at end of file diff --git a/day_4/.vscode/settings.json b/day_4/.vscode/settings.json new file mode 100755 index 0000000..f85be7f --- /dev/null +++ b/day_4/.vscode/settings.json @@ -0,0 +1,10 @@ +{ + "cSpell.words": [ + "concatention", + "dile", + "fhand", + "morestuff", + "nstr", + "xfile" + ] +} \ No newline at end of file diff --git a/day_4/file.txt b/day_4/file.txt new file mode 100755 index 0000000..59c305a --- /dev/null +++ b/day_4/file.txt @@ -0,0 +1,8 @@ +hello there big bad wolf +how is the hunt +you are an alpha +leader of pack +live or die by pack +pack +pack moon shine +moon goes red \ No newline at end of file diff --git a/day_4/intermediate_string.py b/day_4/intermediate_string.py new file mode 100755 index 0000000..07e1bef --- /dev/null +++ b/day_4/intermediate_string.py @@ -0,0 +1,101 @@ +#lv slicing string +s = 'Monty Python' +print(s[0:4]) +print(s[6:7]) +print(s[6:20]) +print(s[:2]) +print(s[8:]) +print(s[:]) + +#lv1 string concatention +a= 'Hello' +b = a + 'There' +print(b) +c= a + ' ' + 'There' +print(c) + +#lv2 using in as logical operator +fruit = 'banana' +a = 'na' in fruit +print(a) +b = 'a' in fruit +print(b) +if 'n' in fruit: + print('Gotcha') + +#lv3 string comparison +word = 'banana' +if word == 'banana': + print('all right, bananas.') +if word < 'banana': + print('your word,' + word + ', comes before banana.') +elif word > 'banana': + print('your word,' + word + ', comes after banana.') +else: + print('all right, bananas.') + +#lv4 string library +greet = 'Hello Bob' +zap = greet.lower() +print(zap) +print(greet) +print('Hi there'.lower()) + +#example to get all directory for all kind strings aka string method +stuff = 'Hello world' +type(stuff) +dir(stuff) + +#lv5 string library example find() method +fruit = 'banana' +pos = fruit.find('na') +print(pos) +aa = fruit.find('z') +print(aa) + +#lv6 convert upper & lower case +greet = 'Hey py' +nnn = greet.upper() +print(nnn) +www = greet.lower() +print(www) + +#lv7 search and replace +greet = 'Hey py how is day' +nstr = greet.replace('py', 'python') +print(nstr) +nstr = greet.replace('y', 'i') +print(nstr) + +#lv8 remove white space aka strip whitespace +greet = ' hi py ' +a = greet.lstrip() +print(a) +b = greet.rstrip() +print(b) +c = greet.strip() +print(c) + +#lv9 prefix +line = 'hey big bad wolf there' +a = line.startswith('hey') +print(a) +b = line.startswith('h') +print(b) +c = line.endswith('there') +print(c) + +#lv10 parsing and extracting +data = 'From stephan.marquard@utc.ac.za Sat Jan 5 09:14:16 2008' +ace = data.find('@') +print(ace) +al = data.find(' ',ace) +print(al) +kir = data[ace+1 : al] +print(kir) + + +#test QA +word = 'bananana' +i = word.find('na') +print(i) \ No newline at end of file diff --git a/day_4/lists.py b/day_4/lists.py new file mode 100755 index 0000000..0aa117e --- /dev/null +++ b/day_4/lists.py @@ -0,0 +1,73 @@ +#lv concatenating list using + +a = [1,2,3] +b = [4,5,6] +c = a + b +print(c) +print(a) + +#lv1 list slicing +t = [9,41,12,3,74,15] +print(t[1:3]) +print(t[:4]) +print(t[3:]) +print(t[:]) + +#lv2 list method can be seen in python3 +x = list() +type(x) +dir(x) + +#lv3 buid list from scratch +stuff = list() +stuff.append('book') +print(stuff) +stuff.append(99) +print(stuff) +stuff.append('cookie') +print(stuff) + +#lv4 is something in a list +some = [1,9,21,10,16] +a = 9 in some +print(a) +b = 15 in some +print(b) +c = 20 not in some +print(c) + +#lv5 list are in order +friends = ['jojo', 'kakarot', 'naruto', 'ace'] +friends.sort() +print(friends) +print(friends[1]) + +#lv6 build in functions and lists +nums = [3,41,12,9,74,15] +print(len(nums)) +print(max(nums)) +print(min(nums)) +print(sum(nums)) +print(sum(nums)/len(nums)) + +#ex take value and calculate as num is added +total = 0 +count = 0 +while True: + inp = input('Enter a number: ') + if inp == 'done' : break + value = float(inp) + total = total + value + count =count + 1 +average = total / count +print('Average', average) + + #ex2 store value and apend in arr +numlist = list() +while True: + inp = input('Enter a number: ') + if inp == 'done' : break + value = float(inp) + numlist.append(value) +average = sum(numlist) / len(numlist) +print('Average', average) + diff --git a/day_4/python_dictionaries.py b/day_4/python_dictionaries.py new file mode 100755 index 0000000..e1e4b1f --- /dev/null +++ b/day_4/python_dictionaries.py @@ -0,0 +1,37 @@ +#lv dictionaries +purse = dict() +purse['money'] = 12 +purse['candy'] = 3 +purse['tissues'] = 75 +print(purse) +print(purse['candy']) +purse['candy'] = purse['candy'] + 2 +print(purse) + +#lv1 comparing losts and dictionaries +lst = list() +lst.append(21) +lst.append(183) +print(lst) +lst[0] = 23 +print(lst) + +ddd = dict() +ddd['age'] = 21 +ddd['course'] = 182 +print(ddd) +ddd['age'] = 23 +print(ddd) + +#lv2 dictionary literals +jjj = {'chuck':1, 'fred':42, 'jan':100} +print(jjj) +ooo = { } +print(ooo) + +#test QA +dict = {'Fri':20, 'Thu':6, 'Sat':1} +dict['Thu'] = 13 +dict['Sat'] = 2 +dict['Sun'] = 9 +print(dict) \ No newline at end of file diff --git a/day_4/python_lists.py b/day_4/python_lists.py new file mode 100755 index 0000000..c70371a --- /dev/null +++ b/day_4/python_lists.py @@ -0,0 +1,60 @@ +#lv collection +friends = ['kivi', 'chichi', 'alward', 'jowas'] +num = [1, 13, 69, 0] +alphanum = [13, 'bad', 'luck', 7, 'cronos', 3.14, 'pie'] +arr = [1, 13, [7, 0], 99] +print(friends) +print(num) +print(alphanum) +print(arr) + +#lv1 list and define loops +for friend in friends: + print('Bad', friend) +print('Done!') + +z = ['kira', 'fal', 'white', 'pikachu', 'doraemon'] +for x in z: + print('i choose you:', x) +print('All set!') + +#lv2 looking inside lists +friend = ['ra', 'mojo', 'itachi', 'john'] +print(friend[1]) + +#lv3 list are mutable +fruit = 'Banana' +#fruit[0] = 'b' will not work +x = fruit.lower() +print(x) +lotto = [2,14,26,41,63] +print(lotto) +lotto[2] = 28 +print(lotto) + +#lv4 how long is list +greet = 'hello py' +print(len(greet)) +x= [1, 2, 'joe', 99] +print(len(x)) + +#lv5 range function +print(range(4)) +friend = ['roshi', 'kraken', 'game'] +print(len(friend)) +print(range(len(friend))) + +#lv6 a tale of two loops +friends = ['jo', 'arsi', 'hong'] +for friend in friends: + print('hoho:', friend) +for i in range(len(friends)): + friend = friends[i] + print('wow:', friend) +print(len(friends)) +print(range(len(friends))) + +#test QA +fruit = 'banana' +x = fruit[1] +print(x) \ No newline at end of file diff --git a/day_4/reading_file.py b/day_4/reading_file.py new file mode 100755 index 0000000..0fb275e --- /dev/null +++ b/day_4/reading_file.py @@ -0,0 +1,100 @@ +#lv opening file using open() +#handle = open(filename, mode) +fhand = open('file.txt') +print(fhand) + +#lv1 newline character +stuff = 'Hello\nWorld' +print(stuff) +morestuff = 'X\nY' +print(morestuff) +print(len(morestuff)) + +#lv2 dile handle as sequence +#newline is used by \n +xfile = open('file.txt') +for each in xfile: + print(each) + +#lv3 counting lines in file +fhand = open('file.txt') +count = 0 +for line in fhand: + count = count + 1 +print('Line Count', count) + +#lv4 reading whole file +fhand = open('file.txt') +inp = fhand.read() +print(len(inp)) +print(inp[:20]) + +#lv5 searching through a file +fhand = open('file.txt') +for line in fhand: + if line.startswith('hello:'): + print(line) + +#lv6 searching through a file(fixed) +fhand = open('file.txt') +for line in fhand: + line = line.rstrip() + if line.startswith('hello:'): + print(line) + +#lv7 skipping with continue +fhand = open('file.txt') +for line in fhand: + line = line.rstrip() + if not line.startswith('hello:'): + continue + print(line) + +#lv8 without : after 'hello' and without continue +fhand = open('file.txt') +for line in fhand: + line = line.rstrip() + if not line.startswith('hello'): + print(line) + +#lv9 without : after 'hello' and with continue +fhand = open('file.txt') +for line in fhand: + line = line.rstrip() + if not line.startswith('hello'): + continue + print(line) + +#lv10 usinf in to select lines +fhand = open('file.txt') +for line in fhand: + line = line.rstrip() + if not 'big bad wolf' in line: + continue + print(line) + +#lc11 prompt for file name +fname = input('Enter the file name: ') +fhand = open(fname) +count = 0 +for line in fhand: + if line.startswith('pack'): + count = count + 1 + print('There were', count, 'subject lines in', fname) + +#lv12 bad file name +rname = input('Enter file name: ') +try: + fhand = open(rname) +except: + print('File cannot be opened:', rname) + quit() +count = 0 +for lines in fhand: + if line.startswith('hello'): + count = count + 1 +print('There were', count, 'subject lines in', rname) + + + + diff --git a/day_4/strings_lists.py b/day_4/strings_lists.py new file mode 100755 index 0000000..abaf77e --- /dev/null +++ b/day_4/strings_lists.py @@ -0,0 +1,47 @@ +#lv split +abc = 'With three words' +stuff = abc.split() +print(stuff) +print(len(stuff)) +print(stuff[0]) +for w in stuff: + print(w) +print(stuff[-1]) + +#lv1 +line = 'A lot of spaces' +etc = line.split() +print(etc) +line = 'first;second;third' +thing = line.split() +print(thing) +print(len(thing)) +thing = line.split(';') +print(thing) +print(len(thing)) + +#lv2 +fhand = open('file.txt') +for line in fhand: + line = line.rstrip() + if not line.startswith('hello'): continue + word = line.split() + print(word[2]) + +line = 'From stephan.king@utc.ac.za Sat Jan 5 09:14:16 2008' +words = line.split() +print(words) +email = words[1] +print(email) +pieces = email.split('@') +print(pieces) +print(pieces[1]) + +#test QA +words = 'His e-mail is q-lar@@freecodecamp.org' +pieces = words.split() +print(pieces) +parts = pieces[3].split('-') +print(parts) +n = parts[1] +print(n) \ No newline at end of file diff --git a/day_5/.vscode/settings.json b/day_5/.vscode/settings.json new file mode 100755 index 0000000..61baeb6 --- /dev/null +++ b/day_5/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + "cSpell.words": [ + "csev", + "cwen" + ] +} \ No newline at end of file diff --git a/day_5/dict_common_applications.py b/day_5/dict_common_applications.py new file mode 100755 index 0000000..cf21a5f --- /dev/null +++ b/day_5/dict_common_applications.py @@ -0,0 +1,42 @@ +#lv many counters with a dictionary +ccc = dict() +ccc['csev'] = 1 +ccc['cwen'] = 1 +print(ccc) +ccc['cwen'] = ccc['cwen'] + 1 +print(ccc) + +#lv1 dictionary traceback check with in +ddd = dict() +al = 'csev' in ddd +#print(ddd) +print(al) + +#lv2 add new name if that repeat add 1 +counts = dict() +names = ['csev', 'cwen', 'csev', 'zqian', 'cwen'] +for name in names: + if name not in counts: + counts[name] = 1 + else: + counts[name] = counts[name] + 1 +print(counts) + +#lv3 get() method for dictionaries +#get() method can be exchange with above if statement +counts = dict() +names = ['kira', 'al', 'alpha', 'demon', 'al', 'jonah', 'sizil', 'ikra', 'sizil'] +for name in names: + counts[name] = counts.get(name, 0) + 1 +print(counts) + +#lv4 here without + 1 every result has o even name repeat +counts = dict() +names = ['kira', 'al', 'alpha', 'demon', 'al', 'jonah', 'sizil', 'ikra', 'sizil'] +for name in names: + counts[name] = counts.get(name, 0) +print(counts) + +#text QA +counts = { 'quincy' : 1, 'mrugesh' : 42, 'beau' : 100, '0': 10} +print(counts.get('kris', 0)) diff --git a/day_6/dict_and_loops.py b/day_6/dict_and_loops.py new file mode 100755 index 0000000..ede5153 --- /dev/null +++ b/day_6/dict_and_loops.py @@ -0,0 +1,51 @@ +#lv counting patter +counts = dict() +print('Enter a line of text:') +line = input('') +words = line.split() +print('Words:', words) +print('Counting...') +for word in words: + counts[word] = counts.get(word,0) + 1 +print('Counts', counts) + +#lv1 define loops and dictionaries +counts = {'kira': 1, 'iraf' : 42, 'jan': 100} +for key in counts: + print(key, counts[key]) + +#lv2 retrieving lists of keys and and values +jjj = {'kira': 1, 'jonah': 42, 'ior': 100} +print(list(jjj)) +print(jjj.keys()) +print(jjj.values()) +print(jjj.items()) + +#lv3 two iteration variables +kk = {'j': 1, 'jen': 42, 'fer': 100} +for aaa,bbb in kk.items() : + print(aaa, bbb) + +#lv4 +name = input('Enter file:') +handle = open(name) + +counts = dict() +for line in handle: + words = line.split() + for word in words: + counts[word] = counts.get(word,0) + 1 +bigcount = None +bigword = None +for word,count in counts.items(): + if bigcount is None or count > bigcount: + bigword = word + bigcount = count +print(bigword, bigcount) + +#test QA +counts = {'chuck': 1, 'annie': 42, 'jan': 100} +for key in counts: + if counts[key] > 10: + print(key, counts[key]) + \ No newline at end of file diff --git a/day_6/word.txt b/day_6/word.txt new file mode 100755 index 0000000..63de5e1 --- /dev/null +++ b/day_6/word.txt @@ -0,0 +1,3 @@ +hi there jojo what +are you up to today is jojo sad +or jojo need chichi \ No newline at end of file diff --git a/day_7/.vscode/settings.json b/day_7/.vscode/settings.json new file mode 100644 index 0000000..f7aa838 --- /dev/null +++ b/day_7/.vscode/settings.json @@ -0,0 +1,8 @@ +{ + "cSpell.words": [ + "AEIOU", + "fhand", + "mano", + "newtup" + ] +} \ No newline at end of file diff --git a/day_7/Networking.py b/day_7/Networking.py new file mode 100644 index 0000000..f81f375 --- /dev/null +++ b/day_7/Networking.py @@ -0,0 +1,4 @@ +#stocks in python +import socket +mysock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) +mysock.connect( ('data.pr4e.org', 80) ) diff --git a/day_7/Tuples_collection.py b/day_7/Tuples_collection.py new file mode 100755 index 0000000..6ca46b9 --- /dev/null +++ b/day_7/Tuples_collection.py @@ -0,0 +1,56 @@ +#lv tuples are like lists +x = ('kia', 'sora', 'mano') +print(x[2]) + +y = ( 1, 8, 3) +print(y) +print(max(y)) +print(sum(y)) +print(sum(y) / len(y)) +for l in y: + print(l) + +#lv1 tuples are immutable cannot mutate +r = [9, 8, 7, 6, 5] +r[2] = 1 +print(r) + +#lv2 tale of two sequence +l = list() +al = dir(l) +print(al) + +t = tuple() +at = dir(t) +print(at) + +#lv3 tuples and assignment +(x, y) = (13, 'row') +print(y) + +(a, b) = (97, 13) +print(a) + +#lv4 tuples and dictionaries +d = dict() +d['cere'] = 2 +d['reza'] = 4 +for (k,v) in d.items(): + print(k,v) + +tups = d.items() +print(tups) + +#lv5 tuples and comparables +print((0,1,2) < (5,1,2)) +print((0,1,2000000)<(0,3,4)) +print(('Ra', 'Kira')<('Ra', 'Sam')) +print(('Ra', 'Kira')>('Adams', 'Kindered')) + +#test QA +d = dict() +d['quincy'] = 1 +d['beau'] = 5 +d['kris'] = 9 +for (k,i) in d.items(): + print(k,i) \ No newline at end of file diff --git a/day_7/Tuples_compare_and_sort.py b/day_7/Tuples_compare_and_sort.py new file mode 100644 index 0000000..8e2339b --- /dev/null +++ b/day_7/Tuples_compare_and_sort.py @@ -0,0 +1,48 @@ +#lv sorting list of tuples +t = {'p':10,'y':1,'t':22} +print(t.items()) +at = sorted(t.items()) +print(at) + +#using sorted() +for k,v in sorted(t.items()): + print(k,v) + +#lv1 sort by values instead of key +l = {'k':10, 'i':1, 'a':22} +tmp = list() +for k,v in l.items(): + tmp.append((v,k)) +print(tmp) +tmp = sorted(tmp, reverse=True) +print(tmp) + +#lv2 most common word find fro disc +fhand = open('romeo.txt') +counts = dict() +for line in fhand: + words = line.split() + for word in words: + counts[word] = counts.get(word,0) + 1 + +lst = list() +for key, val in counts.items(): + newtup = (val, key) + lst.append(newtup) +lst = sorted(lst, reverse=True) +for val, key in lst[:10]: + print(key, val) + +#lv3 even shorter version +c = {'a': 10, 'b':1, 'c':22} +print(sorted([(v,k) for k,v in c.items()])) + +#test QA +lst = [] +for key, val in counts.items(): + newtup = (val, key) + lst.append(newtup) +lst = sorted(lst, reverse=True) +print(lst) +#short version +print(sorted([(v,k) for k,v in counts.items()], reverse=True)) \ No newline at end of file diff --git a/day_7/mbox-short.txt b/day_7/mbox-short.txt new file mode 100644 index 0000000..684d15e --- /dev/null +++ b/day_7/mbox-short.txt @@ -0,0 +1,1910 @@ +From stephen.marquard@uct.ac.za Sat Jan 5 09:14:16 2008 +Return-Path: +Received: from murder (mail.umich.edu [141.211.14.90]) + by frankenstein.mail.umich.edu (Cyrus v2.3.8) with LMTPA; + Sat, 05 Jan 2008 09:14:16 -0500 +X-Sieve: CMU Sieve 2.3 +Received: from murder ([unix socket]) + by mail.umich.edu (Cyrus v2.2.12) with LMTPA; + Sat, 05 Jan 2008 09:14:16 -0500 +Received: from holes.mr.itd.umich.edu (holes.mr.itd.umich.edu [141.211.14.79]) + by flawless.mail.umich.edu () with ESMTP id m05EEFR1013674; + Sat, 5 Jan 2008 09:14:15 -0500 +Received: FROM paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184]) + BY holes.mr.itd.umich.edu ID 477F90B0.2DB2F.12494 ; + 5 Jan 2008 09:14:10 -0500 +Received: from paploo.uhi.ac.uk (localhost [127.0.0.1]) + by paploo.uhi.ac.uk (Postfix) with ESMTP id 5F919BC2F2; + Sat, 5 Jan 2008 14:10:05 +0000 (GMT) +Message-ID: <200801051412.m05ECIaH010327@nakamura.uits.iupui.edu> +Mime-Version: 1.0 +Content-Transfer-Encoding: 7bit +Received: from prod.collab.uhi.ac.uk ([194.35.219.182]) + by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 899 + for ; + Sat, 5 Jan 2008 14:09:50 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (nakamura.uits.iupui.edu [134.68.220.122]) + by shmi.uhi.ac.uk (Postfix) with ESMTP id A215243002 + for ; Sat, 5 Jan 2008 14:13:33 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (localhost [127.0.0.1]) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11) with ESMTP id m05ECJVp010329 + for ; Sat, 5 Jan 2008 09:12:19 -0500 +Received: (from apache@localhost) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11/Submit) id m05ECIaH010327 + for source@collab.sakaiproject.org; Sat, 5 Jan 2008 09:12:18 -0500 +Date: Sat, 5 Jan 2008 09:12:18 -0500 +X-Authentication-Warning: nakamura.uits.iupui.edu: apache set sender to stephen.marquard@uct.ac.za using -f +To: source@collab.sakaiproject.org +From: stephen.marquard@uct.ac.za +Subject: [sakai] svn commit: r39772 - content/branches/sakai_2-5-x/content-impl/impl/src/java/org/sakaiproject/content/impl +X-Content-Type-Outer-Envelope: text/plain; charset=UTF-8 +X-Content-Type-Message-Body: text/plain; charset=UTF-8 +Content-Type: text/plain; charset=UTF-8 +X-DSPAM-Result: Innocent +X-DSPAM-Processed: Sat Jan 5 09:14:16 2008 +X-DSPAM-Confidence: 0.8475 +X-DSPAM-Probability: 0.0000 + +Details: http://source.sakaiproject.org/viewsvn/?view=rev&rev=39772 + +Author: stephen.marquard@uct.ac.za +Date: 2008-01-05 09:12:07 -0500 (Sat, 05 Jan 2008) +New Revision: 39772 + +Modified: +content/branches/sakai_2-5-x/content-impl/impl/src/java/org/sakaiproject/content/impl/ContentServiceSqlOracle.java +content/branches/sakai_2-5-x/content-impl/impl/src/java/org/sakaiproject/content/impl/DbContentService.java +Log: +SAK-12501 merge to 2-5-x: r39622, r39624:5, r39632:3 (resolve conflict from differing linebreaks for r39622) + +---------------------- +This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the Source site. +You can modify how you receive notifications at My Workspace > Preferences. + + + +From louis@media.berkeley.edu Fri Jan 4 18:10:48 2008 +Return-Path: +Received: from murder (mail.umich.edu [141.211.14.97]) + by frankenstein.mail.umich.edu (Cyrus v2.3.8) with LMTPA; + Fri, 04 Jan 2008 18:10:48 -0500 +X-Sieve: CMU Sieve 2.3 +Received: from murder ([unix socket]) + by mail.umich.edu (Cyrus v2.2.12) with LMTPA; + Fri, 04 Jan 2008 18:10:48 -0500 +Received: from icestorm.mr.itd.umich.edu (icestorm.mr.itd.umich.edu [141.211.93.149]) + by sleepers.mail.umich.edu () with ESMTP id m04NAbGa029441; + Fri, 4 Jan 2008 18:10:37 -0500 +Received: FROM paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184]) + BY icestorm.mr.itd.umich.edu ID 477EBCE3.161BB.4320 ; + 4 Jan 2008 18:10:31 -0500 +Received: from paploo.uhi.ac.uk (localhost [127.0.0.1]) + by paploo.uhi.ac.uk (Postfix) with ESMTP id 07969BB706; + Fri, 4 Jan 2008 23:10:33 +0000 (GMT) +Message-ID: <200801042308.m04N8v6O008125@nakamura.uits.iupui.edu> +Mime-Version: 1.0 +Content-Transfer-Encoding: 7bit +Received: from prod.collab.uhi.ac.uk ([194.35.219.182]) + by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 710 + for ; + Fri, 4 Jan 2008 23:10:10 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (nakamura.uits.iupui.edu [134.68.220.122]) + by shmi.uhi.ac.uk (Postfix) with ESMTP id 4BA2F42F57 + for ; Fri, 4 Jan 2008 23:10:10 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (localhost [127.0.0.1]) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11) with ESMTP id m04N8vHG008127 + for ; Fri, 4 Jan 2008 18:08:57 -0500 +Received: (from apache@localhost) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11/Submit) id m04N8v6O008125 + for source@collab.sakaiproject.org; Fri, 4 Jan 2008 18:08:57 -0500 +Date: Fri, 4 Jan 2008 18:08:57 -0500 +X-Authentication-Warning: nakamura.uits.iupui.edu: apache set sender to louis@media.berkeley.edu using -f +To: source@collab.sakaiproject.org +From: louis@media.berkeley.edu +Subject: [sakai] svn commit: r39771 - in bspace/site-manage/sakai_2-4-x/site-manage-tool/tool/src: bundle java/org/sakaiproject/site/tool +X-Content-Type-Outer-Envelope: text/plain; charset=UTF-8 +X-Content-Type-Message-Body: text/plain; charset=UTF-8 +Content-Type: text/plain; charset=UTF-8 +X-DSPAM-Result: Innocent +X-DSPAM-Processed: Fri Jan 4 18:10:48 2008 +X-DSPAM-Confidence: 0.6178 +X-DSPAM-Probability: 0.0000 + +Details: http://source.sakaiproject.org/viewsvn/?view=rev&rev=39771 + +Author: louis@media.berkeley.edu +Date: 2008-01-04 18:08:50 -0500 (Fri, 04 Jan 2008) +New Revision: 39771 + +Modified: +bspace/site-manage/sakai_2-4-x/site-manage-tool/tool/src/bundle/sitesetupgeneric.properties +bspace/site-manage/sakai_2-4-x/site-manage-tool/tool/src/java/org/sakaiproject/site/tool/SiteAction.java +Log: +BSP-1415 New (Guest) user Notification + +---------------------- +This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the Source site. +You can modify how you receive notifications at My Workspace > Preferences. + + + +From zqian@umich.edu Fri Jan 4 16:10:39 2008 +Return-Path: +Received: from murder (mail.umich.edu [141.211.14.25]) + by frankenstein.mail.umich.edu (Cyrus v2.3.8) with LMTPA; + Fri, 04 Jan 2008 16:10:39 -0500 +X-Sieve: CMU Sieve 2.3 +Received: from murder ([unix socket]) + by mail.umich.edu (Cyrus v2.2.12) with LMTPA; + Fri, 04 Jan 2008 16:10:39 -0500 +Received: from ghostbusters.mr.itd.umich.edu (ghostbusters.mr.itd.umich.edu [141.211.93.144]) + by panther.mail.umich.edu () with ESMTP id m04LAcZw014275; + Fri, 4 Jan 2008 16:10:38 -0500 +Received: FROM paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184]) + BY ghostbusters.mr.itd.umich.edu ID 477EA0C6.A0214.25480 ; + 4 Jan 2008 16:10:33 -0500 +Received: from paploo.uhi.ac.uk (localhost [127.0.0.1]) + by paploo.uhi.ac.uk (Postfix) with ESMTP id C48CDBB490; + Fri, 4 Jan 2008 21:10:31 +0000 (GMT) +Message-ID: <200801042109.m04L92hb007923@nakamura.uits.iupui.edu> +Mime-Version: 1.0 +Content-Transfer-Encoding: 7bit +Received: from prod.collab.uhi.ac.uk ([194.35.219.182]) + by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 906 + for ; + Fri, 4 Jan 2008 21:10:18 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (nakamura.uits.iupui.edu [134.68.220.122]) + by shmi.uhi.ac.uk (Postfix) with ESMTP id 7D13042F71 + for ; Fri, 4 Jan 2008 21:10:14 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (localhost [127.0.0.1]) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11) with ESMTP id m04L927E007925 + for ; Fri, 4 Jan 2008 16:09:02 -0500 +Received: (from apache@localhost) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11/Submit) id m04L92hb007923 + for source@collab.sakaiproject.org; Fri, 4 Jan 2008 16:09:02 -0500 +Date: Fri, 4 Jan 2008 16:09:02 -0500 +X-Authentication-Warning: nakamura.uits.iupui.edu: apache set sender to zqian@umich.edu using -f +To: source@collab.sakaiproject.org +From: zqian@umich.edu +Subject: [sakai] svn commit: r39770 - site-manage/branches/sakai_2-5-x/site-manage-tool/tool/src/webapp/vm/sitesetup +X-Content-Type-Outer-Envelope: text/plain; charset=UTF-8 +X-Content-Type-Message-Body: text/plain; charset=UTF-8 +Content-Type: text/plain; charset=UTF-8 +X-DSPAM-Result: Innocent +X-DSPAM-Processed: Fri Jan 4 16:10:39 2008 +X-DSPAM-Confidence: 0.6961 +X-DSPAM-Probability: 0.0000 + +Details: http://source.sakaiproject.org/viewsvn/?view=rev&rev=39770 + +Author: zqian@umich.edu +Date: 2008-01-04 16:09:01 -0500 (Fri, 04 Jan 2008) +New Revision: 39770 + +Modified: +site-manage/branches/sakai_2-5-x/site-manage-tool/tool/src/webapp/vm/sitesetup/chef_site-siteInfo-list.vm +Log: +merge fix to SAK-9996 into 2-5-x branch: svn merge -r 39687:39688 https://source.sakaiproject.org/svn/site-manage/trunk/ + +---------------------- +This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the Source site. +You can modify how you receive notifications at My Workspace > Preferences. + + + +From rjlowe@iupui.edu Fri Jan 4 15:46:24 2008 +Return-Path: +Received: from murder (mail.umich.edu [141.211.14.25]) + by frankenstein.mail.umich.edu (Cyrus v2.3.8) with LMTPA; + Fri, 04 Jan 2008 15:46:24 -0500 +X-Sieve: CMU Sieve 2.3 +Received: from murder ([unix socket]) + by mail.umich.edu (Cyrus v2.2.12) with LMTPA; + Fri, 04 Jan 2008 15:46:24 -0500 +Received: from dreamcatcher.mr.itd.umich.edu (dreamcatcher.mr.itd.umich.edu [141.211.14.43]) + by panther.mail.umich.edu () with ESMTP id m04KkNbx032077; + Fri, 4 Jan 2008 15:46:23 -0500 +Received: FROM paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184]) + BY dreamcatcher.mr.itd.umich.edu ID 477E9B13.2F3BC.22965 ; + 4 Jan 2008 15:46:13 -0500 +Received: from paploo.uhi.ac.uk (localhost [127.0.0.1]) + by paploo.uhi.ac.uk (Postfix) with ESMTP id 4AE03BB552; + Fri, 4 Jan 2008 20:46:13 +0000 (GMT) +Message-ID: <200801042044.m04Kiem3007881@nakamura.uits.iupui.edu> +Mime-Version: 1.0 +Content-Transfer-Encoding: 7bit +Received: from prod.collab.uhi.ac.uk ([194.35.219.182]) + by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 38 + for ; + Fri, 4 Jan 2008 20:45:56 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (nakamura.uits.iupui.edu [134.68.220.122]) + by shmi.uhi.ac.uk (Postfix) with ESMTP id A55D242F57 + for ; Fri, 4 Jan 2008 20:45:52 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (localhost [127.0.0.1]) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11) with ESMTP id m04KieqE007883 + for ; Fri, 4 Jan 2008 15:44:40 -0500 +Received: (from apache@localhost) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11/Submit) id m04Kiem3007881 + for source@collab.sakaiproject.org; Fri, 4 Jan 2008 15:44:40 -0500 +Date: Fri, 4 Jan 2008 15:44:40 -0500 +X-Authentication-Warning: nakamura.uits.iupui.edu: apache set sender to rjlowe@iupui.edu using -f +To: source@collab.sakaiproject.org +From: rjlowe@iupui.edu +Subject: [sakai] svn commit: r39769 - in gradebook/trunk/app/ui/src: java/org/sakaiproject/tool/gradebook/ui/helpers/beans java/org/sakaiproject/tool/gradebook/ui/helpers/producers webapp/WEB-INF webapp/WEB-INF/bundle +X-Content-Type-Outer-Envelope: text/plain; charset=UTF-8 +X-Content-Type-Message-Body: text/plain; charset=UTF-8 +Content-Type: text/plain; charset=UTF-8 +X-DSPAM-Result: Innocent +X-DSPAM-Processed: Fri Jan 4 15:46:24 2008 +X-DSPAM-Confidence: 0.7565 +X-DSPAM-Probability: 0.0000 + +Details: http://source.sakaiproject.org/viewsvn/?view=rev&rev=39769 + +Author: rjlowe@iupui.edu +Date: 2008-01-04 15:44:39 -0500 (Fri, 04 Jan 2008) +New Revision: 39769 + +Modified: +gradebook/trunk/app/ui/src/java/org/sakaiproject/tool/gradebook/ui/helpers/beans/AssignmentGradeRecordBean.java +gradebook/trunk/app/ui/src/java/org/sakaiproject/tool/gradebook/ui/helpers/producers/GradeGradebookItemProducer.java +gradebook/trunk/app/ui/src/webapp/WEB-INF/applicationContext.xml +gradebook/trunk/app/ui/src/webapp/WEB-INF/bundle/messages.properties +gradebook/trunk/app/ui/src/webapp/WEB-INF/requestContext.xml +Log: +SAK-12180 - Fixed errors with grading helper + +---------------------- +This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the Source site. +You can modify how you receive notifications at My Workspace > Preferences. + + + +From zqian@umich.edu Fri Jan 4 15:03:18 2008 +Return-Path: +Received: from murder (mail.umich.edu [141.211.14.46]) + by frankenstein.mail.umich.edu (Cyrus v2.3.8) with LMTPA; + Fri, 04 Jan 2008 15:03:18 -0500 +X-Sieve: CMU Sieve 2.3 +Received: from murder ([unix socket]) + by mail.umich.edu (Cyrus v2.2.12) with LMTPA; + Fri, 04 Jan 2008 15:03:18 -0500 +Received: from firestarter.mr.itd.umich.edu (firestarter.mr.itd.umich.edu [141.211.14.83]) + by fan.mail.umich.edu () with ESMTP id m04K3HGF006563; + Fri, 4 Jan 2008 15:03:17 -0500 +Received: FROM paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184]) + BY firestarter.mr.itd.umich.edu ID 477E9100.8F7F4.1590 ; + 4 Jan 2008 15:03:15 -0500 +Received: from paploo.uhi.ac.uk (localhost [127.0.0.1]) + by paploo.uhi.ac.uk (Postfix) with ESMTP id 57770BB477; + Fri, 4 Jan 2008 20:03:09 +0000 (GMT) +Message-ID: <200801042001.m04K1cO0007738@nakamura.uits.iupui.edu> +Mime-Version: 1.0 +Content-Transfer-Encoding: 7bit +Received: from prod.collab.uhi.ac.uk ([194.35.219.182]) + by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 622 + for ; + Fri, 4 Jan 2008 20:02:46 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (nakamura.uits.iupui.edu [134.68.220.122]) + by shmi.uhi.ac.uk (Postfix) with ESMTP id AB4D042F4D + for ; Fri, 4 Jan 2008 20:02:50 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (localhost [127.0.0.1]) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11) with ESMTP id m04K1cXv007740 + for ; Fri, 4 Jan 2008 15:01:38 -0500 +Received: (from apache@localhost) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11/Submit) id m04K1cO0007738 + for source@collab.sakaiproject.org; Fri, 4 Jan 2008 15:01:38 -0500 +Date: Fri, 4 Jan 2008 15:01:38 -0500 +X-Authentication-Warning: nakamura.uits.iupui.edu: apache set sender to zqian@umich.edu using -f +To: source@collab.sakaiproject.org +From: zqian@umich.edu +Subject: [sakai] svn commit: r39766 - site-manage/branches/sakai_2-4-x/site-manage-tool/tool/src/java/org/sakaiproject/site/tool +X-Content-Type-Outer-Envelope: text/plain; charset=UTF-8 +X-Content-Type-Message-Body: text/plain; charset=UTF-8 +Content-Type: text/plain; charset=UTF-8 +X-DSPAM-Result: Innocent +X-DSPAM-Processed: Fri Jan 4 15:03:18 2008 +X-DSPAM-Confidence: 0.7626 +X-DSPAM-Probability: 0.0000 + +Details: http://source.sakaiproject.org/viewsvn/?view=rev&rev=39766 + +Author: zqian@umich.edu +Date: 2008-01-04 15:01:37 -0500 (Fri, 04 Jan 2008) +New Revision: 39766 + +Modified: +site-manage/branches/sakai_2-4-x/site-manage-tool/tool/src/java/org/sakaiproject/site/tool/SiteAction.java +Log: +merge fix to SAK-10788 into site-manage 2.4.x branch: + +Sakai Source Repository #38024 Wed Nov 07 14:54:46 MST 2007 zqian@umich.edu Fix to SAK-10788: If a provided id in a couse site is fake or doesn't provide any user information, Site Info appears to be like project site with empty participant list + +Watch for enrollments object being null and concatenate provider ids when there are more than one. +Files Changed +MODIFY /site-manage/trunk/site-manage-tool/tool/src/java/org/sakaiproject/site/tool/SiteAction.java + + + + +---------------------- +This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the Source site. +You can modify how you receive notifications at My Workspace > Preferences. + + + +From rjlowe@iupui.edu Fri Jan 4 14:50:18 2008 +Return-Path: +Received: from murder (mail.umich.edu [141.211.14.93]) + by frankenstein.mail.umich.edu (Cyrus v2.3.8) with LMTPA; + Fri, 04 Jan 2008 14:50:18 -0500 +X-Sieve: CMU Sieve 2.3 +Received: from murder ([unix socket]) + by mail.umich.edu (Cyrus v2.2.12) with LMTPA; + Fri, 04 Jan 2008 14:50:18 -0500 +Received: from eyewitness.mr.itd.umich.edu (eyewitness.mr.itd.umich.edu [141.211.93.142]) + by mission.mail.umich.edu () with ESMTP id m04JoHJi019755; + Fri, 4 Jan 2008 14:50:17 -0500 +Received: FROM paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184]) + BY eyewitness.mr.itd.umich.edu ID 477E8DF2.67B91.5278 ; + 4 Jan 2008 14:50:13 -0500 +Received: from paploo.uhi.ac.uk (localhost [127.0.0.1]) + by paploo.uhi.ac.uk (Postfix) with ESMTP id 2D1B9BB492; + Fri, 4 Jan 2008 19:47:10 +0000 (GMT) +Message-ID: <200801041948.m04JmdwO007705@nakamura.uits.iupui.edu> +Mime-Version: 1.0 +Content-Transfer-Encoding: 7bit +Received: from prod.collab.uhi.ac.uk ([194.35.219.182]) + by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 960 + for ; + Fri, 4 Jan 2008 19:46:50 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (nakamura.uits.iupui.edu [134.68.220.122]) + by shmi.uhi.ac.uk (Postfix) with ESMTP id B3E6742F4A + for ; Fri, 4 Jan 2008 19:49:51 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (localhost [127.0.0.1]) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11) with ESMTP id m04JmeV9007707 + for ; Fri, 4 Jan 2008 14:48:40 -0500 +Received: (from apache@localhost) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11/Submit) id m04JmdwO007705 + for source@collab.sakaiproject.org; Fri, 4 Jan 2008 14:48:39 -0500 +Date: Fri, 4 Jan 2008 14:48:39 -0500 +X-Authentication-Warning: nakamura.uits.iupui.edu: apache set sender to rjlowe@iupui.edu using -f +To: source@collab.sakaiproject.org +From: rjlowe@iupui.edu +Subject: [sakai] svn commit: r39765 - in gradebook/trunk/app: business/src/java/org/sakaiproject/tool/gradebook/business business/src/java/org/sakaiproject/tool/gradebook/business/impl ui ui/src/java/org/sakaiproject/tool/gradebook/ui/helpers/beans ui/src/java/org/sakaiproject/tool/gradebook/ui/helpers/entity ui/src/java/org/sakaiproject/tool/gradebook/ui/helpers/params ui/src/java/org/sakaiproject/tool/gradebook/ui/helpers/producers ui/src/webapp/WEB-INF ui/src/webapp/WEB-INF/bundle ui/src/webapp/content/templates +X-Content-Type-Outer-Envelope: text/plain; charset=UTF-8 +X-Content-Type-Message-Body: text/plain; charset=UTF-8 +Content-Type: text/plain; charset=UTF-8 +X-DSPAM-Result: Innocent +X-DSPAM-Processed: Fri Jan 4 14:50:18 2008 +X-DSPAM-Confidence: 0.7556 +X-DSPAM-Probability: 0.0000 + +Details: http://source.sakaiproject.org/viewsvn/?view=rev&rev=39765 + +Author: rjlowe@iupui.edu +Date: 2008-01-04 14:48:37 -0500 (Fri, 04 Jan 2008) +New Revision: 39765 + +Added: +gradebook/trunk/app/ui/src/java/org/sakaiproject/tool/gradebook/ui/helpers/beans/AssignmentGradeRecordBean.java +gradebook/trunk/app/ui/src/java/org/sakaiproject/tool/gradebook/ui/helpers/beans/AssignmentGradeRecordCreator.java +gradebook/trunk/app/ui/src/java/org/sakaiproject/tool/gradebook/ui/helpers/entity/GradebookEntryGradeEntityProvider.java +gradebook/trunk/app/ui/src/java/org/sakaiproject/tool/gradebook/ui/helpers/params/GradeGradebookItemViewParams.java +gradebook/trunk/app/ui/src/java/org/sakaiproject/tool/gradebook/ui/helpers/producers/GradeGradebookItemProducer.java +gradebook/trunk/app/ui/src/webapp/content/templates/grade-gradebook-item.html +Modified: +gradebook/trunk/app/business/src/java/org/sakaiproject/tool/gradebook/business/GradebookManager.java +gradebook/trunk/app/business/src/java/org/sakaiproject/tool/gradebook/business/impl/GradebookManagerHibernateImpl.java +gradebook/trunk/app/ui/pom.xml +gradebook/trunk/app/ui/src/java/org/sakaiproject/tool/gradebook/ui/helpers/beans/GradebookItemBean.java +gradebook/trunk/app/ui/src/java/org/sakaiproject/tool/gradebook/ui/helpers/entity/GradebookEntryEntityProvider.java +gradebook/trunk/app/ui/src/java/org/sakaiproject/tool/gradebook/ui/helpers/producers/AddGradebookItemProducer.java +gradebook/trunk/app/ui/src/webapp/WEB-INF/applicationContext.xml +gradebook/trunk/app/ui/src/webapp/WEB-INF/bundle/messages.properties +gradebook/trunk/app/ui/src/webapp/WEB-INF/requestContext.xml +Log: +SAK-12180 - New helper tool to grade an assignment + +---------------------- +This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the Source site. +You can modify how you receive notifications at My Workspace > Preferences. + + + +From cwen@iupui.edu Fri Jan 4 11:37:30 2008 +Return-Path: +Received: from murder (mail.umich.edu [141.211.14.46]) + by frankenstein.mail.umich.edu (Cyrus v2.3.8) with LMTPA; + Fri, 04 Jan 2008 11:37:30 -0500 +X-Sieve: CMU Sieve 2.3 +Received: from murder ([unix socket]) + by mail.umich.edu (Cyrus v2.2.12) with LMTPA; + Fri, 04 Jan 2008 11:37:30 -0500 +Received: from tadpole.mr.itd.umich.edu (tadpole.mr.itd.umich.edu [141.211.14.72]) + by fan.mail.umich.edu () with ESMTP id m04GbT9x022078; + Fri, 4 Jan 2008 11:37:29 -0500 +Received: FROM paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184]) + BY tadpole.mr.itd.umich.edu ID 477E60B2.82756.9904 ; + 4 Jan 2008 11:37:09 -0500 +Received: from paploo.uhi.ac.uk (localhost [127.0.0.1]) + by paploo.uhi.ac.uk (Postfix) with ESMTP id 8D13DBB001; + Fri, 4 Jan 2008 16:37:07 +0000 (GMT) +Message-ID: <200801041635.m04GZQGZ007313@nakamura.uits.iupui.edu> +Mime-Version: 1.0 +Content-Transfer-Encoding: 7bit +Received: from prod.collab.uhi.ac.uk ([194.35.219.182]) + by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 120 + for ; + Fri, 4 Jan 2008 16:36:40 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (nakamura.uits.iupui.edu [134.68.220.122]) + by shmi.uhi.ac.uk (Postfix) with ESMTP id D430B42E42 + for ; Fri, 4 Jan 2008 16:36:37 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (localhost [127.0.0.1]) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11) with ESMTP id m04GZQ7W007315 + for ; Fri, 4 Jan 2008 11:35:26 -0500 +Received: (from apache@localhost) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11/Submit) id m04GZQGZ007313 + for source@collab.sakaiproject.org; Fri, 4 Jan 2008 11:35:26 -0500 +Date: Fri, 4 Jan 2008 11:35:26 -0500 +X-Authentication-Warning: nakamura.uits.iupui.edu: apache set sender to cwen@iupui.edu using -f +To: source@collab.sakaiproject.org +From: cwen@iupui.edu +Subject: [sakai] svn commit: r39764 - in msgcntr/trunk/messageforums-app/src/java/org/sakaiproject/tool/messageforums: . ui +X-Content-Type-Outer-Envelope: text/plain; charset=UTF-8 +X-Content-Type-Message-Body: text/plain; charset=UTF-8 +Content-Type: text/plain; charset=UTF-8 +X-DSPAM-Result: Innocent +X-DSPAM-Processed: Fri Jan 4 11:37:30 2008 +X-DSPAM-Confidence: 0.7002 +X-DSPAM-Probability: 0.0000 + +Details: http://source.sakaiproject.org/viewsvn/?view=rev&rev=39764 + +Author: cwen@iupui.edu +Date: 2008-01-04 11:35:25 -0500 (Fri, 04 Jan 2008) +New Revision: 39764 + +Modified: +msgcntr/trunk/messageforums-app/src/java/org/sakaiproject/tool/messageforums/PrivateMessagesTool.java +msgcntr/trunk/messageforums-app/src/java/org/sakaiproject/tool/messageforums/ui/PrivateMessageDecoratedBean.java +Log: +unmerge Xingtang's checkin for SAK-12488. + +svn merge -r39558:39557 https://source.sakaiproject.org/svn/msgcntr/trunk +U messageforums-app/src/java/org/sakaiproject/tool/messageforums/PrivateMessagesTool.java +U messageforums-app/src/java/org/sakaiproject/tool/messageforums/ui/PrivateMessageDecoratedBean.java + +svn log -r 39558 +------------------------------------------------------------------------ +r39558 | hu2@iupui.edu | 2007-12-20 15:25:38 -0500 (Thu, 20 Dec 2007) | 3 lines + +SAK-12488 +when send a message to yourself. click reply to all, cc row should be null. +http://jira.sakaiproject.org/jira/browse/SAK-12488 +------------------------------------------------------------------------ + + +---------------------- +This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the Source site. +You can modify how you receive notifications at My Workspace > Preferences. + + + +From cwen@iupui.edu Fri Jan 4 11:35:08 2008 +Return-Path: +Received: from murder (mail.umich.edu [141.211.14.46]) + by frankenstein.mail.umich.edu (Cyrus v2.3.8) with LMTPA; + Fri, 04 Jan 2008 11:35:08 -0500 +X-Sieve: CMU Sieve 2.3 +Received: from murder ([unix socket]) + by mail.umich.edu (Cyrus v2.2.12) with LMTPA; + Fri, 04 Jan 2008 11:35:08 -0500 +Received: from it.mr.itd.umich.edu (it.mr.itd.umich.edu [141.211.93.151]) + by fan.mail.umich.edu () with ESMTP id m04GZ6lt020480; + Fri, 4 Jan 2008 11:35:06 -0500 +Received: FROM paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184]) + BY it.mr.itd.umich.edu ID 477E6033.6469D.21870 ; + 4 Jan 2008 11:35:02 -0500 +Received: from paploo.uhi.ac.uk (localhost [127.0.0.1]) + by paploo.uhi.ac.uk (Postfix) with ESMTP id E40FABAE5B; + Fri, 4 Jan 2008 16:34:38 +0000 (GMT) +Message-ID: <200801041633.m04GX6eG007292@nakamura.uits.iupui.edu> +Mime-Version: 1.0 +Content-Transfer-Encoding: 7bit +Received: from prod.collab.uhi.ac.uk ([194.35.219.182]) + by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 697 + for ; + Fri, 4 Jan 2008 16:34:01 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (nakamura.uits.iupui.edu [134.68.220.122]) + by shmi.uhi.ac.uk (Postfix) with ESMTP id 1CD0C42E42 + for ; Fri, 4 Jan 2008 16:34:17 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (localhost [127.0.0.1]) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11) with ESMTP id m04GX6Y3007294 + for ; Fri, 4 Jan 2008 11:33:06 -0500 +Received: (from apache@localhost) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11/Submit) id m04GX6eG007292 + for source@collab.sakaiproject.org; Fri, 4 Jan 2008 11:33:06 -0500 +Date: Fri, 4 Jan 2008 11:33:06 -0500 +X-Authentication-Warning: nakamura.uits.iupui.edu: apache set sender to cwen@iupui.edu using -f +To: source@collab.sakaiproject.org +From: cwen@iupui.edu +Subject: [sakai] svn commit: r39763 - in msgcntr/trunk: messageforums-api/src/bundle/org/sakaiproject/api/app/messagecenter/bundle messageforums-app/src/java/org/sakaiproject/tool/messageforums +X-Content-Type-Outer-Envelope: text/plain; charset=UTF-8 +X-Content-Type-Message-Body: text/plain; charset=UTF-8 +Content-Type: text/plain; charset=UTF-8 +X-DSPAM-Result: Innocent +X-DSPAM-Processed: Fri Jan 4 11:35:08 2008 +X-DSPAM-Confidence: 0.7615 +X-DSPAM-Probability: 0.0000 + +Details: http://source.sakaiproject.org/viewsvn/?view=rev&rev=39763 + +Author: cwen@iupui.edu +Date: 2008-01-04 11:33:05 -0500 (Fri, 04 Jan 2008) +New Revision: 39763 + +Modified: +msgcntr/trunk/messageforums-api/src/bundle/org/sakaiproject/api/app/messagecenter/bundle/Messages.properties +msgcntr/trunk/messageforums-app/src/java/org/sakaiproject/tool/messageforums/PrivateMessagesTool.java +Log: +unmerge Xingtang's check in for SAK-12484. + +svn merge -r39571:39570 https://source.sakaiproject.org/svn/msgcntr/trunk +U messageforums-api/src/bundle/org/sakaiproject/api/app/messagecenter/bundle/Messages.properties +U messageforums-app/src/java/org/sakaiproject/tool/messageforums/PrivateMessagesTool.java + +svn log -r 39571 +------------------------------------------------------------------------ +r39571 | hu2@iupui.edu | 2007-12-20 21:26:28 -0500 (Thu, 20 Dec 2007) | 3 lines + +SAK-12484 +reply all cc list should not include the current user name. +http://jira.sakaiproject.org/jira/browse/SAK-12484 +------------------------------------------------------------------------ + + +---------------------- +This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the Source site. +You can modify how you receive notifications at My Workspace > Preferences. + + + +From gsilver@umich.edu Fri Jan 4 11:12:37 2008 +Return-Path: +Received: from murder (mail.umich.edu [141.211.14.25]) + by frankenstein.mail.umich.edu (Cyrus v2.3.8) with LMTPA; + Fri, 04 Jan 2008 11:12:37 -0500 +X-Sieve: CMU Sieve 2.3 +Received: from murder ([unix socket]) + by mail.umich.edu (Cyrus v2.2.12) with LMTPA; + Fri, 04 Jan 2008 11:12:37 -0500 +Received: from holes.mr.itd.umich.edu (holes.mr.itd.umich.edu [141.211.14.79]) + by panther.mail.umich.edu () with ESMTP id m04GCaHB030887; + Fri, 4 Jan 2008 11:12:36 -0500 +Received: FROM paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184]) + BY holes.mr.itd.umich.edu ID 477E5AEB.E670B.28397 ; + 4 Jan 2008 11:12:30 -0500 +Received: from paploo.uhi.ac.uk (localhost [127.0.0.1]) + by paploo.uhi.ac.uk (Postfix) with ESMTP id 99715BAE7D; + Fri, 4 Jan 2008 16:12:27 +0000 (GMT) +Message-ID: <200801041611.m04GB1Lb007221@nakamura.uits.iupui.edu> +Mime-Version: 1.0 +Content-Transfer-Encoding: 7bit +Received: from prod.collab.uhi.ac.uk ([194.35.219.182]) + by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 272 + for ; + Fri, 4 Jan 2008 16:12:14 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (nakamura.uits.iupui.edu [134.68.220.122]) + by shmi.uhi.ac.uk (Postfix) with ESMTP id 0A6ED42DFC + for ; Fri, 4 Jan 2008 16:12:12 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (localhost [127.0.0.1]) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11) with ESMTP id m04GB1Wt007223 + for ; Fri, 4 Jan 2008 11:11:01 -0500 +Received: (from apache@localhost) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11/Submit) id m04GB1Lb007221 + for source@collab.sakaiproject.org; Fri, 4 Jan 2008 11:11:01 -0500 +Date: Fri, 4 Jan 2008 11:11:01 -0500 +X-Authentication-Warning: nakamura.uits.iupui.edu: apache set sender to gsilver@umich.edu using -f +To: source@collab.sakaiproject.org +From: gsilver@umich.edu +Subject: [sakai] svn commit: r39762 - web/trunk/web-tool/tool/src/bundle +X-Content-Type-Outer-Envelope: text/plain; charset=UTF-8 +X-Content-Type-Message-Body: text/plain; charset=UTF-8 +Content-Type: text/plain; charset=UTF-8 +X-DSPAM-Result: Innocent +X-DSPAM-Processed: Fri Jan 4 11:12:37 2008 +X-DSPAM-Confidence: 0.7601 +X-DSPAM-Probability: 0.0000 + +Details: http://source.sakaiproject.org/viewsvn/?view=rev&rev=39762 + +Author: gsilver@umich.edu +Date: 2008-01-04 11:11:00 -0500 (Fri, 04 Jan 2008) +New Revision: 39762 + +Modified: +web/trunk/web-tool/tool/src/bundle/iframe.properties +Log: +SAK-12596 +http://bugs.sakaiproject.org/jira/browse/SAK-12596 +- left moot (unused) entries commented for now + +---------------------- +This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the Source site. +You can modify how you receive notifications at My Workspace > Preferences. + + + +From gsilver@umich.edu Fri Jan 4 11:11:52 2008 +Return-Path: +Received: from murder (mail.umich.edu [141.211.14.36]) + by frankenstein.mail.umich.edu (Cyrus v2.3.8) with LMTPA; + Fri, 04 Jan 2008 11:11:52 -0500 +X-Sieve: CMU Sieve 2.3 +Received: from murder ([unix socket]) + by mail.umich.edu (Cyrus v2.2.12) with LMTPA; + Fri, 04 Jan 2008 11:11:52 -0500 +Received: from creepshow.mr.itd.umich.edu (creepshow.mr.itd.umich.edu [141.211.14.84]) + by godsend.mail.umich.edu () with ESMTP id m04GBqqv025330; + Fri, 4 Jan 2008 11:11:52 -0500 +Received: FROM paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184]) + BY creepshow.mr.itd.umich.edu ID 477E5AB3.5CC32.30840 ; + 4 Jan 2008 11:11:34 -0500 +Received: from paploo.uhi.ac.uk (localhost [127.0.0.1]) + by paploo.uhi.ac.uk (Postfix) with ESMTP id 62AA4BAE46; + Fri, 4 Jan 2008 16:11:31 +0000 (GMT) +Message-ID: <200801041610.m04GA5KP007209@nakamura.uits.iupui.edu> +Mime-Version: 1.0 +Content-Transfer-Encoding: 7bit +Received: from prod.collab.uhi.ac.uk ([194.35.219.182]) + by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 1006 + for ; + Fri, 4 Jan 2008 16:11:18 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (nakamura.uits.iupui.edu [134.68.220.122]) + by shmi.uhi.ac.uk (Postfix) with ESMTP id C596A3DFA2 + for ; Fri, 4 Jan 2008 16:11:16 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (localhost [127.0.0.1]) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11) with ESMTP id m04GA5LR007211 + for ; Fri, 4 Jan 2008 11:10:05 -0500 +Received: (from apache@localhost) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11/Submit) id m04GA5KP007209 + for source@collab.sakaiproject.org; Fri, 4 Jan 2008 11:10:05 -0500 +Date: Fri, 4 Jan 2008 11:10:05 -0500 +X-Authentication-Warning: nakamura.uits.iupui.edu: apache set sender to gsilver@umich.edu using -f +To: source@collab.sakaiproject.org +From: gsilver@umich.edu +Subject: [sakai] svn commit: r39761 - site/trunk/site-tool/tool/src/bundle +X-Content-Type-Outer-Envelope: text/plain; charset=UTF-8 +X-Content-Type-Message-Body: text/plain; charset=UTF-8 +Content-Type: text/plain; charset=UTF-8 +X-DSPAM-Result: Innocent +X-DSPAM-Processed: Fri Jan 4 11:11:52 2008 +X-DSPAM-Confidence: 0.7605 +X-DSPAM-Probability: 0.0000 + +Details: http://source.sakaiproject.org/viewsvn/?view=rev&rev=39761 + +Author: gsilver@umich.edu +Date: 2008-01-04 11:10:04 -0500 (Fri, 04 Jan 2008) +New Revision: 39761 + +Modified: +site/trunk/site-tool/tool/src/bundle/admin.properties +Log: +SAK-12595 +http://bugs.sakaiproject.org/jira/browse/SAK-12595 +- left moot (unused) entries commented for now + +---------------------- +This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the Source site. +You can modify how you receive notifications at My Workspace > Preferences. + + + +From zqian@umich.edu Fri Jan 4 11:11:03 2008 +Return-Path: +Received: from murder (mail.umich.edu [141.211.14.97]) + by frankenstein.mail.umich.edu (Cyrus v2.3.8) with LMTPA; + Fri, 04 Jan 2008 11:11:03 -0500 +X-Sieve: CMU Sieve 2.3 +Received: from murder ([unix socket]) + by mail.umich.edu (Cyrus v2.2.12) with LMTPA; + Fri, 04 Jan 2008 11:11:03 -0500 +Received: from carrie.mr.itd.umich.edu (carrie.mr.itd.umich.edu [141.211.93.152]) + by sleepers.mail.umich.edu () with ESMTP id m04GB3Vg011502; + Fri, 4 Jan 2008 11:11:03 -0500 +Received: FROM paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184]) + BY carrie.mr.itd.umich.edu ID 477E5A8D.B378F.24200 ; + 4 Jan 2008 11:10:56 -0500 +Received: from paploo.uhi.ac.uk (localhost [127.0.0.1]) + by paploo.uhi.ac.uk (Postfix) with ESMTP id C7251BAD44; + Fri, 4 Jan 2008 16:10:53 +0000 (GMT) +Message-ID: <200801041609.m04G9EuX007197@nakamura.uits.iupui.edu> +Mime-Version: 1.0 +Content-Transfer-Encoding: 7bit +Received: from prod.collab.uhi.ac.uk ([194.35.219.182]) + by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 483 + for ; + Fri, 4 Jan 2008 16:10:27 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (nakamura.uits.iupui.edu [134.68.220.122]) + by shmi.uhi.ac.uk (Postfix) with ESMTP id 2E7043DFA2 + for ; Fri, 4 Jan 2008 16:10:26 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (localhost [127.0.0.1]) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11) with ESMTP id m04G9Eqg007199 + for ; Fri, 4 Jan 2008 11:09:15 -0500 +Received: (from apache@localhost) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11/Submit) id m04G9EuX007197 + for source@collab.sakaiproject.org; Fri, 4 Jan 2008 11:09:14 -0500 +Date: Fri, 4 Jan 2008 11:09:14 -0500 +X-Authentication-Warning: nakamura.uits.iupui.edu: apache set sender to zqian@umich.edu using -f +To: source@collab.sakaiproject.org +From: zqian@umich.edu +Subject: [sakai] svn commit: r39760 - in site-manage/trunk/site-manage-tool/tool/src: java/org/sakaiproject/site/tool webapp/vm/sitesetup +X-Content-Type-Outer-Envelope: text/plain; charset=UTF-8 +X-Content-Type-Message-Body: text/plain; charset=UTF-8 +Content-Type: text/plain; charset=UTF-8 +X-DSPAM-Result: Innocent +X-DSPAM-Processed: Fri Jan 4 11:11:03 2008 +X-DSPAM-Confidence: 0.6959 +X-DSPAM-Probability: 0.0000 + +Details: http://source.sakaiproject.org/viewsvn/?view=rev&rev=39760 + +Author: zqian@umich.edu +Date: 2008-01-04 11:09:12 -0500 (Fri, 04 Jan 2008) +New Revision: 39760 + +Modified: +site-manage/trunk/site-manage-tool/tool/src/java/org/sakaiproject/site/tool/SiteAction.java +site-manage/trunk/site-manage-tool/tool/src/webapp/vm/sitesetup/chef_site-siteInfo-list.vm +Log: +fix to SAK-10911: Refactor use of site.upd, site.upd.site.mbrship and site.upd.grp.mbrship permissions + +---------------------- +This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the Source site. +You can modify how you receive notifications at My Workspace > Preferences. + + + +From gsilver@umich.edu Fri Jan 4 11:10:22 2008 +Return-Path: +Received: from murder (mail.umich.edu [141.211.14.39]) + by frankenstein.mail.umich.edu (Cyrus v2.3.8) with LMTPA; + Fri, 04 Jan 2008 11:10:22 -0500 +X-Sieve: CMU Sieve 2.3 +Received: from murder ([unix socket]) + by mail.umich.edu (Cyrus v2.2.12) with LMTPA; + Fri, 04 Jan 2008 11:10:22 -0500 +Received: from holes.mr.itd.umich.edu (holes.mr.itd.umich.edu [141.211.14.79]) + by faithful.mail.umich.edu () with ESMTP id m04GAL9k010604; + Fri, 4 Jan 2008 11:10:21 -0500 +Received: FROM paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184]) + BY holes.mr.itd.umich.edu ID 477E5A67.34350.23015 ; + 4 Jan 2008 11:10:18 -0500 +Received: from paploo.uhi.ac.uk (localhost [127.0.0.1]) + by paploo.uhi.ac.uk (Postfix) with ESMTP id 98D04BAD43; + Fri, 4 Jan 2008 16:10:11 +0000 (GMT) +Message-ID: <200801041608.m04G8d7w007184@nakamura.uits.iupui.edu> +Mime-Version: 1.0 +Content-Transfer-Encoding: 7bit +Received: from prod.collab.uhi.ac.uk ([194.35.219.182]) + by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 966 + for ; + Fri, 4 Jan 2008 16:09:51 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (nakamura.uits.iupui.edu [134.68.220.122]) + by shmi.uhi.ac.uk (Postfix) with ESMTP id 9F89542DD0 + for ; Fri, 4 Jan 2008 16:09:50 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (localhost [127.0.0.1]) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11) with ESMTP id m04G8dXN007186 + for ; Fri, 4 Jan 2008 11:08:39 -0500 +Received: (from apache@localhost) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11/Submit) id m04G8d7w007184 + for source@collab.sakaiproject.org; Fri, 4 Jan 2008 11:08:39 -0500 +Date: Fri, 4 Jan 2008 11:08:39 -0500 +X-Authentication-Warning: nakamura.uits.iupui.edu: apache set sender to gsilver@umich.edu using -f +To: source@collab.sakaiproject.org +From: gsilver@umich.edu +Subject: [sakai] svn commit: r39759 - mailarchive/trunk/mailarchive-tool/tool/src/bundle +X-Content-Type-Outer-Envelope: text/plain; charset=UTF-8 +X-Content-Type-Message-Body: text/plain; charset=UTF-8 +Content-Type: text/plain; charset=UTF-8 +X-DSPAM-Result: Innocent +X-DSPAM-Processed: Fri Jan 4 11:10:22 2008 +X-DSPAM-Confidence: 0.7606 +X-DSPAM-Probability: 0.0000 + +Details: http://source.sakaiproject.org/viewsvn/?view=rev&rev=39759 + +Author: gsilver@umich.edu +Date: 2008-01-04 11:08:38 -0500 (Fri, 04 Jan 2008) +New Revision: 39759 + +Modified: +mailarchive/trunk/mailarchive-tool/tool/src/bundle/email.properties +Log: +SAK-12592 +http://bugs.sakaiproject.org/jira/browse/SAK-12592 +- left moot (unused) entries commented for now + +---------------------- +This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the Source site. +You can modify how you receive notifications at My Workspace > Preferences. + + + +From wagnermr@iupui.edu Fri Jan 4 10:38:42 2008 +Return-Path: +Received: from murder (mail.umich.edu [141.211.14.90]) + by frankenstein.mail.umich.edu (Cyrus v2.3.8) with LMTPA; + Fri, 04 Jan 2008 10:38:42 -0500 +X-Sieve: CMU Sieve 2.3 +Received: from murder ([unix socket]) + by mail.umich.edu (Cyrus v2.2.12) with LMTPA; + Fri, 04 Jan 2008 10:38:42 -0500 +Received: from shining.mr.itd.umich.edu (shining.mr.itd.umich.edu [141.211.93.153]) + by flawless.mail.umich.edu () with ESMTP id m04Fcfjm012313; + Fri, 4 Jan 2008 10:38:41 -0500 +Received: FROM paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184]) + BY shining.mr.itd.umich.edu ID 477E52FA.E6C6E.24093 ; + 4 Jan 2008 10:38:37 -0500 +Received: from paploo.uhi.ac.uk (localhost [127.0.0.1]) + by paploo.uhi.ac.uk (Postfix) with ESMTP id 6A39594CD2; + Fri, 4 Jan 2008 15:37:36 +0000 (GMT) +Message-ID: <200801041537.m04Fb6Ci007092@nakamura.uits.iupui.edu> +Mime-Version: 1.0 +Content-Transfer-Encoding: 7bit +Received: from prod.collab.uhi.ac.uk ([194.35.219.182]) + by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 690 + for ; + Fri, 4 Jan 2008 15:37:21 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (nakamura.uits.iupui.edu [134.68.220.122]) + by shmi.uhi.ac.uk (Postfix) with ESMTP id CEFA037ACE + for ; Fri, 4 Jan 2008 15:38:17 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (localhost [127.0.0.1]) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11) with ESMTP id m04Fb6nh007094 + for ; Fri, 4 Jan 2008 10:37:06 -0500 +Received: (from apache@localhost) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11/Submit) id m04Fb6Ci007092 + for source@collab.sakaiproject.org; Fri, 4 Jan 2008 10:37:06 -0500 +Date: Fri, 4 Jan 2008 10:37:06 -0500 +X-Authentication-Warning: nakamura.uits.iupui.edu: apache set sender to wagnermr@iupui.edu using -f +To: source@collab.sakaiproject.org +From: wagnermr@iupui.edu +Subject: [sakai] svn commit: r39758 - in gradebook/trunk: app/business/src/java/org/sakaiproject/tool/gradebook/business/impl service/api/src/java/org/sakaiproject/service/gradebook/shared service/impl/src/java/org/sakaiproject/component/gradebook +X-Content-Type-Outer-Envelope: text/plain; charset=UTF-8 +X-Content-Type-Message-Body: text/plain; charset=UTF-8 +Content-Type: text/plain; charset=UTF-8 +X-DSPAM-Result: Innocent +X-DSPAM-Processed: Fri Jan 4 10:38:42 2008 +X-DSPAM-Confidence: 0.7559 +X-DSPAM-Probability: 0.0000 + +Details: http://source.sakaiproject.org/viewsvn/?view=rev&rev=39758 + +Author: wagnermr@iupui.edu +Date: 2008-01-04 10:37:04 -0500 (Fri, 04 Jan 2008) +New Revision: 39758 + +Modified: +gradebook/trunk/app/business/src/java/org/sakaiproject/tool/gradebook/business/impl/GradebookManagerHibernateImpl.java +gradebook/trunk/service/api/src/java/org/sakaiproject/service/gradebook/shared/GradebookService.java +gradebook/trunk/service/impl/src/java/org/sakaiproject/component/gradebook/GradebookServiceHibernateImpl.java +Log: +SAK-12175 +http://bugs.sakaiproject.org/jira/browse/SAK-12175 +Create methods required for gb integration with the Assignment2 tool +getGradeDefinitionForStudentForItem + +---------------------- +This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the Source site. +You can modify how you receive notifications at My Workspace > Preferences. + + + +From zqian@umich.edu Fri Jan 4 10:17:43 2008 +Return-Path: +Received: from murder (mail.umich.edu [141.211.14.97]) + by frankenstein.mail.umich.edu (Cyrus v2.3.8) with LMTPA; + Fri, 04 Jan 2008 10:17:43 -0500 +X-Sieve: CMU Sieve 2.3 +Received: from murder ([unix socket]) + by mail.umich.edu (Cyrus v2.2.12) with LMTPA; + Fri, 04 Jan 2008 10:17:42 -0500 +Received: from creepshow.mr.itd.umich.edu (creepshow.mr.itd.umich.edu [141.211.14.84]) + by sleepers.mail.umich.edu () with ESMTP id m04FHgfs011536; + Fri, 4 Jan 2008 10:17:42 -0500 +Received: FROM paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184]) + BY creepshow.mr.itd.umich.edu ID 477E4E0F.CCA4B.926 ; + 4 Jan 2008 10:17:38 -0500 +Received: from paploo.uhi.ac.uk (localhost [127.0.0.1]) + by paploo.uhi.ac.uk (Postfix) with ESMTP id BD02DBAC64; + Fri, 4 Jan 2008 15:17:34 +0000 (GMT) +Message-ID: <200801041515.m04FFv42007050@nakamura.uits.iupui.edu> +Mime-Version: 1.0 +Content-Transfer-Encoding: 7bit +Received: from prod.collab.uhi.ac.uk ([194.35.219.182]) + by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 25 + for ; + Fri, 4 Jan 2008 15:17:11 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (nakamura.uits.iupui.edu [134.68.220.122]) + by shmi.uhi.ac.uk (Postfix) with ESMTP id 5B396236B9 + for ; Fri, 4 Jan 2008 15:17:08 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (localhost [127.0.0.1]) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11) with ESMTP id m04FFv85007052 + for ; Fri, 4 Jan 2008 10:15:57 -0500 +Received: (from apache@localhost) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11/Submit) id m04FFv42007050 + for source@collab.sakaiproject.org; Fri, 4 Jan 2008 10:15:57 -0500 +Date: Fri, 4 Jan 2008 10:15:57 -0500 +X-Authentication-Warning: nakamura.uits.iupui.edu: apache set sender to zqian@umich.edu using -f +To: source@collab.sakaiproject.org +From: zqian@umich.edu +Subject: [sakai] svn commit: r39757 - in assignment/trunk: assignment-impl/impl/src/java/org/sakaiproject/assignment/impl assignment-tool/tool/src/webapp/vm/assignment +X-Content-Type-Outer-Envelope: text/plain; charset=UTF-8 +X-Content-Type-Message-Body: text/plain; charset=UTF-8 +Content-Type: text/plain; charset=UTF-8 +X-DSPAM-Result: Innocent +X-DSPAM-Processed: Fri Jan 4 10:17:42 2008 +X-DSPAM-Confidence: 0.7605 +X-DSPAM-Probability: 0.0000 + +Details: http://source.sakaiproject.org/viewsvn/?view=rev&rev=39757 + +Author: zqian@umich.edu +Date: 2008-01-04 10:15:54 -0500 (Fri, 04 Jan 2008) +New Revision: 39757 + +Modified: +assignment/trunk/assignment-impl/impl/src/java/org/sakaiproject/assignment/impl/BaseAssignmentService.java +assignment/trunk/assignment-tool/tool/src/webapp/vm/assignment/chef_assignments_instructor_list_submissions.vm +Log: +fix to SAK-12604:Don't show groups/sections filter if the site doesn't have any + +---------------------- +This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the Source site. +You can modify how you receive notifications at My Workspace > Preferences. + + + +From antranig@caret.cam.ac.uk Fri Jan 4 10:04:14 2008 +Return-Path: +Received: from murder (mail.umich.edu [141.211.14.25]) + by frankenstein.mail.umich.edu (Cyrus v2.3.8) with LMTPA; + Fri, 04 Jan 2008 10:04:14 -0500 +X-Sieve: CMU Sieve 2.3 +Received: from murder ([unix socket]) + by mail.umich.edu (Cyrus v2.2.12) with LMTPA; + Fri, 04 Jan 2008 10:04:14 -0500 +Received: from holes.mr.itd.umich.edu (holes.mr.itd.umich.edu [141.211.14.79]) + by panther.mail.umich.edu () with ESMTP id m04F4Dci015108; + Fri, 4 Jan 2008 10:04:13 -0500 +Received: FROM paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184]) + BY holes.mr.itd.umich.edu ID 477E4AE3.D7AF.31669 ; + 4 Jan 2008 10:04:05 -0500 +Received: from paploo.uhi.ac.uk (localhost [127.0.0.1]) + by paploo.uhi.ac.uk (Postfix) with ESMTP id 933E3BAC17; + Fri, 4 Jan 2008 15:04:00 +0000 (GMT) +Message-ID: <200801041502.m04F21Jo007031@nakamura.uits.iupui.edu> +Mime-Version: 1.0 +Content-Transfer-Encoding: 7bit +Received: from prod.collab.uhi.ac.uk ([194.35.219.182]) + by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 32 + for ; + Fri, 4 Jan 2008 15:03:15 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (nakamura.uits.iupui.edu [134.68.220.122]) + by shmi.uhi.ac.uk (Postfix) with ESMTP id AC2F6236B9 + for ; Fri, 4 Jan 2008 15:03:12 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (localhost [127.0.0.1]) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11) with ESMTP id m04F21hn007033 + for ; Fri, 4 Jan 2008 10:02:01 -0500 +Received: (from apache@localhost) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11/Submit) id m04F21Jo007031 + for source@collab.sakaiproject.org; Fri, 4 Jan 2008 10:02:01 -0500 +Date: Fri, 4 Jan 2008 10:02:01 -0500 +X-Authentication-Warning: nakamura.uits.iupui.edu: apache set sender to antranig@caret.cam.ac.uk using -f +To: source@collab.sakaiproject.org +From: antranig@caret.cam.ac.uk +Subject: [sakai] svn commit: r39756 - in component/branches/SAK-12166/component-api/component/src/java/org/sakaiproject/component: impl impl/spring/support impl/spring/support/dynamic impl/support util +X-Content-Type-Outer-Envelope: text/plain; charset=UTF-8 +X-Content-Type-Message-Body: text/plain; charset=UTF-8 +Content-Type: text/plain; charset=UTF-8 +X-DSPAM-Result: Innocent +X-DSPAM-Processed: Fri Jan 4 10:04:14 2008 +X-DSPAM-Confidence: 0.6932 +X-DSPAM-Probability: 0.0000 + +Details: http://source.sakaiproject.org/viewsvn/?view=rev&rev=39756 + +Author: antranig@caret.cam.ac.uk +Date: 2008-01-04 10:01:40 -0500 (Fri, 04 Jan 2008) +New Revision: 39756 + +Added: +component/branches/SAK-12166/component-api/component/src/java/org/sakaiproject/component/impl/spring/support/dynamic/ +component/branches/SAK-12166/component-api/component/src/java/org/sakaiproject/component/impl/spring/support/dynamic/DynamicComponentManager.java +component/branches/SAK-12166/component-api/component/src/java/org/sakaiproject/component/impl/support/ +component/branches/SAK-12166/component-api/component/src/java/org/sakaiproject/component/impl/support/DynamicComponentRecord.java +component/branches/SAK-12166/component-api/component/src/java/org/sakaiproject/component/impl/support/DynamicJARManager.java +component/branches/SAK-12166/component-api/component/src/java/org/sakaiproject/component/impl/support/JARRecord.java +component/branches/SAK-12166/component-api/component/src/java/org/sakaiproject/component/util/ByteToCharBase64.java +component/branches/SAK-12166/component-api/component/src/java/org/sakaiproject/component/util/FileUtil.java +component/branches/SAK-12166/component-api/component/src/java/org/sakaiproject/component/util/RecordFileIO.java +component/branches/SAK-12166/component-api/component/src/java/org/sakaiproject/component/util/RecordReader.java +component/branches/SAK-12166/component-api/component/src/java/org/sakaiproject/component/util/RecordWriter.java +component/branches/SAK-12166/component-api/component/src/java/org/sakaiproject/component/util/StreamDigestor.java +Modified: +component/branches/SAK-12166/component-api/component/src/java/org/sakaiproject/component/impl/spring/support/ComponentsLoaderImpl.java +Log: +Temporary commit of incomplete work on JAR caching + +---------------------- +This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the Source site. +You can modify how you receive notifications at My Workspace > Preferences. + + + +From gopal.ramasammycook@gmail.com Fri Jan 4 09:05:31 2008 +Return-Path: +Received: from murder (mail.umich.edu [141.211.14.90]) + by frankenstein.mail.umich.edu (Cyrus v2.3.8) with LMTPA; + Fri, 04 Jan 2008 09:05:31 -0500 +X-Sieve: CMU Sieve 2.3 +Received: from murder ([unix socket]) + by mail.umich.edu (Cyrus v2.2.12) with LMTPA; + Fri, 04 Jan 2008 09:05:31 -0500 +Received: from guys.mr.itd.umich.edu (guys.mr.itd.umich.edu [141.211.14.76]) + by flawless.mail.umich.edu () with ESMTP id m04E5U3C029277; + Fri, 4 Jan 2008 09:05:30 -0500 +Received: FROM paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184]) + BY guys.mr.itd.umich.edu ID 477E3D23.EE2E7.5237 ; + 4 Jan 2008 09:05:26 -0500 +Received: from paploo.uhi.ac.uk (localhost [127.0.0.1]) + by paploo.uhi.ac.uk (Postfix) with ESMTP id 33C7856DC0; + Fri, 4 Jan 2008 14:05:26 +0000 (GMT) +Message-ID: <200801041403.m04E3psW006926@nakamura.uits.iupui.edu> +Mime-Version: 1.0 +Content-Transfer-Encoding: 7bit +Received: from prod.collab.uhi.ac.uk ([194.35.219.182]) + by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 575 + for ; + Fri, 4 Jan 2008 14:05:04 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (nakamura.uits.iupui.edu [134.68.220.122]) + by shmi.uhi.ac.uk (Postfix) with ESMTP id 3C0261D617 + for ; Fri, 4 Jan 2008 14:05:03 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (localhost [127.0.0.1]) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11) with ESMTP id m04E3pQS006928 + for ; Fri, 4 Jan 2008 09:03:52 -0500 +Received: (from apache@localhost) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11/Submit) id m04E3psW006926 + for source@collab.sakaiproject.org; Fri, 4 Jan 2008 09:03:51 -0500 +Date: Fri, 4 Jan 2008 09:03:51 -0500 +X-Authentication-Warning: nakamura.uits.iupui.edu: apache set sender to gopal.ramasammycook@gmail.com using -f +To: source@collab.sakaiproject.org +From: gopal.ramasammycook@gmail.com +Subject: [sakai] svn commit: r39755 - in sam/branches/SAK-12065: samigo-api/src/java/org/sakaiproject/tool/assessment/shared/api/grading samigo-app/src/java/org/sakaiproject/tool/assessment/ui/bean/evaluation samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/evaluation samigo-services/src/java/org/sakaiproject/tool/assessment/facade samigo-services/src/java/org/sakaiproject/tool/assessment/integration/helper/ifc samigo-services/src/java/org/sakaiproject/tool/assessment/integration/helper/integrated samigo-services/src/java/org/sakaiproject/tool/assessment/integration/helper/standalone samigo-services/src/java/org/sakaiproject/tool/assessment/shared/impl/grading +X-Content-Type-Outer-Envelope: text/plain; charset=UTF-8 +X-Content-Type-Message-Body: text/plain; charset=UTF-8 +Content-Type: text/plain; charset=UTF-8 +X-DSPAM-Result: Innocent +X-DSPAM-Processed: Fri Jan 4 09:05:31 2008 +X-DSPAM-Confidence: 0.7558 +X-DSPAM-Probability: 0.0000 + +Details: http://source.sakaiproject.org/viewsvn/?view=rev&rev=39755 + +Author: gopal.ramasammycook@gmail.com +Date: 2008-01-04 09:02:54 -0500 (Fri, 04 Jan 2008) +New Revision: 39755 + +Modified: +sam/branches/SAK-12065/samigo-api/src/java/org/sakaiproject/tool/assessment/shared/api/grading/GradingSectionAwareServiceAPI.java +sam/branches/SAK-12065/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/bean/evaluation/QuestionScoresBean.java +sam/branches/SAK-12065/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/bean/evaluation/SubmissionStatusBean.java +sam/branches/SAK-12065/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/bean/evaluation/TotalScoresBean.java +sam/branches/SAK-12065/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/evaluation/SubmissionStatusListener.java +sam/branches/SAK-12065/samigo-services/src/java/org/sakaiproject/tool/assessment/facade/PublishedAssessmentFacadeQueries.java +sam/branches/SAK-12065/samigo-services/src/java/org/sakaiproject/tool/assessment/facade/PublishedAssessmentFacadeQueriesAPI.java +sam/branches/SAK-12065/samigo-services/src/java/org/sakaiproject/tool/assessment/integration/helper/ifc/SectionAwareServiceHelper.java +sam/branches/SAK-12065/samigo-services/src/java/org/sakaiproject/tool/assessment/integration/helper/integrated/SectionAwareServiceHelperImpl.java +sam/branches/SAK-12065/samigo-services/src/java/org/sakaiproject/tool/assessment/integration/helper/standalone/SectionAwareServiceHelperImpl.java +sam/branches/SAK-12065/samigo-services/src/java/org/sakaiproject/tool/assessment/shared/impl/grading/GradingSectionAwareServiceImpl.java +Log: +SAK-12065 Gopal - Samigo Group Release. SubmissionStatus/TotalScores/Questions View filter. + +---------------------- +This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the Source site. +You can modify how you receive notifications at My Workspace > Preferences. + + + +From david.horwitz@uct.ac.za Fri Jan 4 07:02:32 2008 +Return-Path: +Received: from murder (mail.umich.edu [141.211.14.39]) + by frankenstein.mail.umich.edu (Cyrus v2.3.8) with LMTPA; + Fri, 04 Jan 2008 07:02:32 -0500 +X-Sieve: CMU Sieve 2.3 +Received: from murder ([unix socket]) + by mail.umich.edu (Cyrus v2.2.12) with LMTPA; + Fri, 04 Jan 2008 07:02:32 -0500 +Received: from guys.mr.itd.umich.edu (guys.mr.itd.umich.edu [141.211.14.76]) + by faithful.mail.umich.edu () with ESMTP id m04C2VN7026678; + Fri, 4 Jan 2008 07:02:31 -0500 +Received: FROM paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184]) + BY guys.mr.itd.umich.edu ID 477E2050.C2599.3263 ; + 4 Jan 2008 07:02:27 -0500 +Received: from paploo.uhi.ac.uk (localhost [127.0.0.1]) + by paploo.uhi.ac.uk (Postfix) with ESMTP id 6497FBA906; + Fri, 4 Jan 2008 12:02:11 +0000 (GMT) +Message-ID: <200801041200.m04C0gfK006793@nakamura.uits.iupui.edu> +Mime-Version: 1.0 +Content-Transfer-Encoding: 7bit +Received: from prod.collab.uhi.ac.uk ([194.35.219.182]) + by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 611 + for ; + Fri, 4 Jan 2008 12:01:53 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (nakamura.uits.iupui.edu [134.68.220.122]) + by shmi.uhi.ac.uk (Postfix) with ESMTP id 5296342D3C + for ; Fri, 4 Jan 2008 12:01:53 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (localhost [127.0.0.1]) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11) with ESMTP id m04C0gnm006795 + for ; Fri, 4 Jan 2008 07:00:42 -0500 +Received: (from apache@localhost) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11/Submit) id m04C0gfK006793 + for source@collab.sakaiproject.org; Fri, 4 Jan 2008 07:00:42 -0500 +Date: Fri, 4 Jan 2008 07:00:42 -0500 +X-Authentication-Warning: nakamura.uits.iupui.edu: apache set sender to david.horwitz@uct.ac.za using -f +To: source@collab.sakaiproject.org +From: david.horwitz@uct.ac.za +Subject: [sakai] svn commit: r39754 - in polls/branches/sakai_2-5-x: . tool tool/src/java/org/sakaiproject/poll/tool tool/src/java/org/sakaiproject/poll/tool/evolvers tool/src/webapp/WEB-INF +X-Content-Type-Outer-Envelope: text/plain; charset=UTF-8 +X-Content-Type-Message-Body: text/plain; charset=UTF-8 +Content-Type: text/plain; charset=UTF-8 +X-DSPAM-Result: Innocent +X-DSPAM-Processed: Fri Jan 4 07:02:32 2008 +X-DSPAM-Confidence: 0.6526 +X-DSPAM-Probability: 0.0000 + +Details: http://source.sakaiproject.org/viewsvn/?view=rev&rev=39754 + +Author: david.horwitz@uct.ac.za +Date: 2008-01-04 07:00:10 -0500 (Fri, 04 Jan 2008) +New Revision: 39754 + +Added: +polls/branches/sakai_2-5-x/tool/src/java/org/sakaiproject/poll/tool/evolvers/ +polls/branches/sakai_2-5-x/tool/src/java/org/sakaiproject/poll/tool/evolvers/SakaiFCKTextEvolver.java +Removed: +polls/branches/sakai_2-5-x/tool/src/java/org/sakaiproject/poll/tool/evolvers/SakaiFCKTextEvolver.java +Modified: +polls/branches/sakai_2-5-x/.classpath +polls/branches/sakai_2-5-x/tool/pom.xml +polls/branches/sakai_2-5-x/tool/src/webapp/WEB-INF/requestContext.xml +Log: +svn log -r39753 https://source.sakaiproject.org/svn/polls/trunk +------------------------------------------------------------------------ +r39753 | david.horwitz@uct.ac.za | 2008-01-04 13:05:51 +0200 (Fri, 04 Jan 2008) | 1 line + +SAK-12228 implmented workaround sugested by AB - needs to be tested against a trunk build +------------------------------------------------------------------------ +dhorwitz@david-horwitz-6:~/branchManagemnt/sakai_2-5-x> svn merge -c39753 https://source.sakaiproject.org/svn/polls/trunk polls/ +U polls/.classpath +A polls/tool/src/java/org/sakaiproject/poll/tool/evolvers +A polls/tool/src/java/org/sakaiproject/poll/tool/evolvers/SakaiFCKTextEvolver.java +C polls/tool/src/webapp/WEB-INF/requestContext.xml +U polls/tool/pom.xml + +dhorwitz@david-horwitz-6:~/branchManagemnt/sakai_2-5-x> svn resolved polls/tool/src/webapp/WEB-INF/requestContext.xml +Resolved conflicted state of 'polls/tool/src/webapp/WEB-INF/requestContext.xml + + +---------------------- +This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the Source site. +You can modify how you receive notifications at My Workspace > Preferences. + + + +From david.horwitz@uct.ac.za Fri Jan 4 06:08:27 2008 +Return-Path: +Received: from murder (mail.umich.edu [141.211.14.98]) + by frankenstein.mail.umich.edu (Cyrus v2.3.8) with LMTPA; + Fri, 04 Jan 2008 06:08:27 -0500 +X-Sieve: CMU Sieve 2.3 +Received: from murder ([unix socket]) + by mail.umich.edu (Cyrus v2.2.12) with LMTPA; + Fri, 04 Jan 2008 06:08:27 -0500 +Received: from firestarter.mr.itd.umich.edu (firestarter.mr.itd.umich.edu [141.211.14.83]) + by casino.mail.umich.edu () with ESMTP id m04B8Qw9001368; + Fri, 4 Jan 2008 06:08:26 -0500 +Received: FROM paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184]) + BY firestarter.mr.itd.umich.edu ID 477E13A5.30FC0.24054 ; + 4 Jan 2008 06:08:23 -0500 +Received: from paploo.uhi.ac.uk (localhost [127.0.0.1]) + by paploo.uhi.ac.uk (Postfix) with ESMTP id 784A476D7B; + Fri, 4 Jan 2008 11:08:12 +0000 (GMT) +Message-ID: <200801041106.m04B6lK3006677@nakamura.uits.iupui.edu> +Mime-Version: 1.0 +Content-Transfer-Encoding: 7bit +Received: from prod.collab.uhi.ac.uk ([194.35.219.182]) + by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 585 + for ; + Fri, 4 Jan 2008 11:07:56 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (nakamura.uits.iupui.edu [134.68.220.122]) + by shmi.uhi.ac.uk (Postfix) with ESMTP id 1CACC42D0C + for ; Fri, 4 Jan 2008 11:07:58 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (localhost [127.0.0.1]) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11) with ESMTP id m04B6lWM006679 + for ; Fri, 4 Jan 2008 06:06:47 -0500 +Received: (from apache@localhost) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11/Submit) id m04B6lK3006677 + for source@collab.sakaiproject.org; Fri, 4 Jan 2008 06:06:47 -0500 +Date: Fri, 4 Jan 2008 06:06:47 -0500 +X-Authentication-Warning: nakamura.uits.iupui.edu: apache set sender to david.horwitz@uct.ac.za using -f +To: source@collab.sakaiproject.org +From: david.horwitz@uct.ac.za +Subject: [sakai] svn commit: r39753 - in polls/trunk: . tool tool/src/java/org/sakaiproject/poll/tool tool/src/java/org/sakaiproject/poll/tool/evolvers tool/src/webapp/WEB-INF +X-Content-Type-Outer-Envelope: text/plain; charset=UTF-8 +X-Content-Type-Message-Body: text/plain; charset=UTF-8 +Content-Type: text/plain; charset=UTF-8 +X-DSPAM-Result: Innocent +X-DSPAM-Processed: Fri Jan 4 06:08:27 2008 +X-DSPAM-Confidence: 0.6948 +X-DSPAM-Probability: 0.0000 + +Details: http://source.sakaiproject.org/viewsvn/?view=rev&rev=39753 + +Author: david.horwitz@uct.ac.za +Date: 2008-01-04 06:05:51 -0500 (Fri, 04 Jan 2008) +New Revision: 39753 + +Added: +polls/trunk/tool/src/java/org/sakaiproject/poll/tool/evolvers/ +polls/trunk/tool/src/java/org/sakaiproject/poll/tool/evolvers/SakaiFCKTextEvolver.java +Modified: +polls/trunk/.classpath +polls/trunk/tool/pom.xml +polls/trunk/tool/src/webapp/WEB-INF/requestContext.xml +Log: +SAK-12228 implmented workaround sugested by AB - needs to be tested against a trunk build + +---------------------- +This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the Source site. +You can modify how you receive notifications at My Workspace > Preferences. + + + +From david.horwitz@uct.ac.za Fri Jan 4 04:49:08 2008 +Return-Path: +Received: from murder (mail.umich.edu [141.211.14.92]) + by frankenstein.mail.umich.edu (Cyrus v2.3.8) with LMTPA; + Fri, 04 Jan 2008 04:49:08 -0500 +X-Sieve: CMU Sieve 2.3 +Received: from murder ([unix socket]) + by mail.umich.edu (Cyrus v2.2.12) with LMTPA; + Fri, 04 Jan 2008 04:49:08 -0500 +Received: from galaxyquest.mr.itd.umich.edu (galaxyquest.mr.itd.umich.edu [141.211.93.145]) + by score.mail.umich.edu () with ESMTP id m049n60G017588; + Fri, 4 Jan 2008 04:49:06 -0500 +Received: FROM paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184]) + BY galaxyquest.mr.itd.umich.edu ID 477E010C.48C2.10259 ; + 4 Jan 2008 04:49:03 -0500 +Received: from paploo.uhi.ac.uk (localhost [127.0.0.1]) + by paploo.uhi.ac.uk (Postfix) with ESMTP id 254CC8CDEE; + Fri, 4 Jan 2008 09:48:55 +0000 (GMT) +Message-ID: <200801040947.m049lUxo006517@nakamura.uits.iupui.edu> +Mime-Version: 1.0 +Content-Transfer-Encoding: 7bit +Received: from prod.collab.uhi.ac.uk ([194.35.219.182]) + by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 246 + for ; + Fri, 4 Jan 2008 09:48:36 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (nakamura.uits.iupui.edu [134.68.220.122]) + by shmi.uhi.ac.uk (Postfix) with ESMTP id 8C13342C92 + for ; Fri, 4 Jan 2008 09:48:40 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (localhost [127.0.0.1]) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11) with ESMTP id m049lU3P006519 + for ; Fri, 4 Jan 2008 04:47:30 -0500 +Received: (from apache@localhost) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11/Submit) id m049lUxo006517 + for source@collab.sakaiproject.org; Fri, 4 Jan 2008 04:47:30 -0500 +Date: Fri, 4 Jan 2008 04:47:30 -0500 +X-Authentication-Warning: nakamura.uits.iupui.edu: apache set sender to david.horwitz@uct.ac.za using -f +To: source@collab.sakaiproject.org +From: david.horwitz@uct.ac.za +Subject: [sakai] svn commit: r39752 - in podcasts/branches/sakai_2-5-x/podcasts-app/src/webapp: css podcasts +X-Content-Type-Outer-Envelope: text/plain; charset=UTF-8 +X-Content-Type-Message-Body: text/plain; charset=UTF-8 +Content-Type: text/plain; charset=UTF-8 +X-DSPAM-Result: Innocent +X-DSPAM-Processed: Fri Jan 4 04:49:08 2008 +X-DSPAM-Confidence: 0.6528 +X-DSPAM-Probability: 0.0000 + +Details: http://source.sakaiproject.org/viewsvn/?view=rev&rev=39752 + +Author: david.horwitz@uct.ac.za +Date: 2008-01-04 04:47:16 -0500 (Fri, 04 Jan 2008) +New Revision: 39752 + +Modified: +podcasts/branches/sakai_2-5-x/podcasts-app/src/webapp/css/podcaster.css +podcasts/branches/sakai_2-5-x/podcasts-app/src/webapp/podcasts/podMain.jsp +Log: +svn log -r39641 https://source.sakaiproject.org/svn/podcasts/trunk +------------------------------------------------------------------------ +r39641 | josrodri@iupui.edu | 2007-12-28 23:44:24 +0200 (Fri, 28 Dec 2007) | 1 line + +SAK-9882: refactored podMain.jsp the right way (at least much closer to) +------------------------------------------------------------------------ + +dhorwitz@david-horwitz-6:~/branchManagemnt/sakai_2-5-x> svn merge -c39641 https://source.sakaiproject.org/svn/podcasts/trunk podcasts/ +C podcasts/podcasts-app/src/webapp/podcasts/podMain.jsp +U podcasts/podcasts-app/src/webapp/css/podcaster.css + +conflict merged manualy + + + +---------------------- +This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the Source site. +You can modify how you receive notifications at My Workspace > Preferences. + + + +From david.horwitz@uct.ac.za Fri Jan 4 04:33:44 2008 +Return-Path: +Received: from murder (mail.umich.edu [141.211.14.46]) + by frankenstein.mail.umich.edu (Cyrus v2.3.8) with LMTPA; + Fri, 04 Jan 2008 04:33:44 -0500 +X-Sieve: CMU Sieve 2.3 +Received: from murder ([unix socket]) + by mail.umich.edu (Cyrus v2.2.12) with LMTPA; + Fri, 04 Jan 2008 04:33:44 -0500 +Received: from workinggirl.mr.itd.umich.edu (workinggirl.mr.itd.umich.edu [141.211.93.143]) + by fan.mail.umich.edu () with ESMTP id m049Xge3031803; + Fri, 4 Jan 2008 04:33:42 -0500 +Received: FROM paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184]) + BY workinggirl.mr.itd.umich.edu ID 477DFD6C.75DBE.26054 ; + 4 Jan 2008 04:33:35 -0500 +Received: from paploo.uhi.ac.uk (localhost [127.0.0.1]) + by paploo.uhi.ac.uk (Postfix) with ESMTP id 6C929BA656; + Fri, 4 Jan 2008 09:33:27 +0000 (GMT) +Message-ID: <200801040932.m049W2i5006493@nakamura.uits.iupui.edu> +Mime-Version: 1.0 +Content-Transfer-Encoding: 7bit +Received: from prod.collab.uhi.ac.uk ([194.35.219.182]) + by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 153 + for ; + Fri, 4 Jan 2008 09:33:10 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (nakamura.uits.iupui.edu [134.68.220.122]) + by shmi.uhi.ac.uk (Postfix) with ESMTP id 6C69423767 + for ; Fri, 4 Jan 2008 09:33:13 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (localhost [127.0.0.1]) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11) with ESMTP id m049W3fl006495 + for ; Fri, 4 Jan 2008 04:32:03 -0500 +Received: (from apache@localhost) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11/Submit) id m049W2i5006493 + for source@collab.sakaiproject.org; Fri, 4 Jan 2008 04:32:02 -0500 +Date: Fri, 4 Jan 2008 04:32:02 -0500 +X-Authentication-Warning: nakamura.uits.iupui.edu: apache set sender to david.horwitz@uct.ac.za using -f +To: source@collab.sakaiproject.org +From: david.horwitz@uct.ac.za +Subject: [sakai] svn commit: r39751 - in podcasts/branches/sakai_2-5-x/podcasts-app/src/webapp: css images podcasts +X-Content-Type-Outer-Envelope: text/plain; charset=UTF-8 +X-Content-Type-Message-Body: text/plain; charset=UTF-8 +Content-Type: text/plain; charset=UTF-8 +X-DSPAM-Result: Innocent +X-DSPAM-Processed: Fri Jan 4 04:33:44 2008 +X-DSPAM-Confidence: 0.7002 +X-DSPAM-Probability: 0.0000 + +Details: http://source.sakaiproject.org/viewsvn/?view=rev&rev=39751 + +Author: david.horwitz@uct.ac.za +Date: 2008-01-04 04:31:35 -0500 (Fri, 04 Jan 2008) +New Revision: 39751 + +Removed: +podcasts/branches/sakai_2-5-x/podcasts-app/src/webapp/images/rss-feed-icon.png +podcasts/branches/sakai_2-5-x/podcasts-app/src/webapp/podcasts/podPermissions.jsp +Modified: +podcasts/branches/sakai_2-5-x/podcasts-app/src/webapp/css/podcaster.css +podcasts/branches/sakai_2-5-x/podcasts-app/src/webapp/podcasts/podDelete.jsp +podcasts/branches/sakai_2-5-x/podcasts-app/src/webapp/podcasts/podMain.jsp +podcasts/branches/sakai_2-5-x/podcasts-app/src/webapp/podcasts/podNoResource.jsp +podcasts/branches/sakai_2-5-x/podcasts-app/src/webapp/podcasts/podOptions.jsp +Log: +svn log -r39146 https://source.sakaiproject.org/svn/podcasts/trunk +------------------------------------------------------------------------ +r39146 | josrodri@iupui.edu | 2007-12-12 21:40:33 +0200 (Wed, 12 Dec 2007) | 1 line + +SAK-9882: refactored the other pages as well to take advantage of proper jsp components as well as validation cleanup. +------------------------------------------------------------------------ +dhorwitz@david-horwitz-6:~/branchManagemnt/sakai_2-5-x> svn merge -c39146 https://source.sakaiproject.org/svn/podcasts/trunk podcasts/ +D podcasts/podcasts-app/src/webapp/podcasts/podPermissions.jsp +U podcasts/podcasts-app/src/webapp/podcasts/podDelete.jsp +U podcasts/podcasts-app/src/webapp/podcasts/podMain.jsp +U podcasts/podcasts-app/src/webapp/podcasts/podNoResource.jsp +U podcasts/podcasts-app/src/webapp/podcasts/podOptions.jsp +D podcasts/podcasts-app/src/webapp/images/rss-feed-icon.png +U podcasts/podcasts-app/src/webapp/css/podcaster.css + + + +---------------------- +This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the Source site. +You can modify how you receive notifications at My Workspace > Preferences. + + + +From stephen.marquard@uct.ac.za Fri Jan 4 04:07:34 2008 +Return-Path: +Received: from murder (mail.umich.edu [141.211.14.25]) + by frankenstein.mail.umich.edu (Cyrus v2.3.8) with LMTPA; + Fri, 04 Jan 2008 04:07:34 -0500 +X-Sieve: CMU Sieve 2.3 +Received: from murder ([unix socket]) + by mail.umich.edu (Cyrus v2.2.12) with LMTPA; + Fri, 04 Jan 2008 04:07:34 -0500 +Received: from salemslot.mr.itd.umich.edu (salemslot.mr.itd.umich.edu [141.211.14.58]) + by panther.mail.umich.edu () with ESMTP id m0497WAN027902; + Fri, 4 Jan 2008 04:07:32 -0500 +Received: FROM paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184]) + BY salemslot.mr.itd.umich.edu ID 477DF74E.49493.30415 ; + 4 Jan 2008 04:07:29 -0500 +Received: from paploo.uhi.ac.uk (localhost [127.0.0.1]) + by paploo.uhi.ac.uk (Postfix) with ESMTP id 88598BA5B6; + Fri, 4 Jan 2008 09:07:19 +0000 (GMT) +Message-ID: <200801040905.m0495rWB006420@nakamura.uits.iupui.edu> +Mime-Version: 1.0 +Content-Transfer-Encoding: 7bit +Received: from prod.collab.uhi.ac.uk ([194.35.219.182]) + by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 385 + for ; + Fri, 4 Jan 2008 09:07:04 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (nakamura.uits.iupui.edu [134.68.220.122]) + by shmi.uhi.ac.uk (Postfix) with ESMTP id 90636418A8 + for ; Fri, 4 Jan 2008 09:07:04 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (localhost [127.0.0.1]) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11) with ESMTP id m0495sZs006422 + for ; Fri, 4 Jan 2008 04:05:54 -0500 +Received: (from apache@localhost) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11/Submit) id m0495rWB006420 + for source@collab.sakaiproject.org; Fri, 4 Jan 2008 04:05:53 -0500 +Date: Fri, 4 Jan 2008 04:05:53 -0500 +X-Authentication-Warning: nakamura.uits.iupui.edu: apache set sender to stephen.marquard@uct.ac.za using -f +To: source@collab.sakaiproject.org +From: stephen.marquard@uct.ac.za +Subject: [sakai] svn commit: r39750 - event/branches/SAK-6216/event-util/util/src/java/org/sakaiproject/util +X-Content-Type-Outer-Envelope: text/plain; charset=UTF-8 +X-Content-Type-Message-Body: text/plain; charset=UTF-8 +Content-Type: text/plain; charset=UTF-8 +X-DSPAM-Result: Innocent +X-DSPAM-Processed: Fri Jan 4 04:07:34 2008 +X-DSPAM-Confidence: 0.7554 +X-DSPAM-Probability: 0.0000 + +Details: http://source.sakaiproject.org/viewsvn/?view=rev&rev=39750 + +Author: stephen.marquard@uct.ac.za +Date: 2008-01-04 04:05:43 -0500 (Fri, 04 Jan 2008) +New Revision: 39750 + +Modified: +event/branches/SAK-6216/event-util/util/src/java/org/sakaiproject/util/EmailNotification.java +Log: +SAK-6216 merge event change from SAK-11169 (r39033) to synchronize branch with 2-5-x (for convenience for UCT local build) + +---------------------- +This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the Source site. +You can modify how you receive notifications at My Workspace > Preferences. + + + +From louis@media.berkeley.edu Thu Jan 3 19:51:21 2008 +Return-Path: +Received: from murder (mail.umich.edu [141.211.14.91]) + by frankenstein.mail.umich.edu (Cyrus v2.3.8) with LMTPA; + Thu, 03 Jan 2008 19:51:21 -0500 +X-Sieve: CMU Sieve 2.3 +Received: from murder ([unix socket]) + by mail.umich.edu (Cyrus v2.2.12) with LMTPA; + Thu, 03 Jan 2008 19:51:21 -0500 +Received: from eyewitness.mr.itd.umich.edu (eyewitness.mr.itd.umich.edu [141.211.93.142]) + by jacknife.mail.umich.edu () with ESMTP id m040pJHB027171; + Thu, 3 Jan 2008 19:51:19 -0500 +Received: FROM paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184]) + BY eyewitness.mr.itd.umich.edu ID 477D8300.AC098.32562 ; + 3 Jan 2008 19:51:15 -0500 +Received: from paploo.uhi.ac.uk (localhost [127.0.0.1]) + by paploo.uhi.ac.uk (Postfix) with ESMTP id E6CC4B9F8A; + Fri, 4 Jan 2008 00:36:06 +0000 (GMT) +Message-ID: <200801040023.m040NpCc005473@nakamura.uits.iupui.edu> +Mime-Version: 1.0 +Content-Transfer-Encoding: 7bit +Received: from prod.collab.uhi.ac.uk ([194.35.219.182]) + by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 754 + for ; + Fri, 4 Jan 2008 00:35:43 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (nakamura.uits.iupui.edu [134.68.220.122]) + by shmi.uhi.ac.uk (Postfix) with ESMTP id 8889842C49 + for ; Fri, 4 Jan 2008 00:25:00 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (localhost [127.0.0.1]) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11) with ESMTP id m040NpgM005475 + for ; Thu, 3 Jan 2008 19:23:51 -0500 +Received: (from apache@localhost) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11/Submit) id m040NpCc005473 + for source@collab.sakaiproject.org; Thu, 3 Jan 2008 19:23:51 -0500 +Date: Thu, 3 Jan 2008 19:23:51 -0500 +X-Authentication-Warning: nakamura.uits.iupui.edu: apache set sender to louis@media.berkeley.edu using -f +To: source@collab.sakaiproject.org +From: louis@media.berkeley.edu +Subject: [sakai] svn commit: r39749 - in bspace/site-manage/sakai_2-4-x/site-manage-tool/tool/src: bundle webapp/vm/sitesetup +X-Content-Type-Outer-Envelope: text/plain; charset=UTF-8 +X-Content-Type-Message-Body: text/plain; charset=UTF-8 +Content-Type: text/plain; charset=UTF-8 +X-DSPAM-Result: Innocent +X-DSPAM-Processed: Thu Jan 3 19:51:20 2008 +X-DSPAM-Confidence: 0.6956 +X-DSPAM-Probability: 0.0000 + +Details: http://source.sakaiproject.org/viewsvn/?view=rev&rev=39749 + +Author: louis@media.berkeley.edu +Date: 2008-01-03 19:23:46 -0500 (Thu, 03 Jan 2008) +New Revision: 39749 + +Modified: +bspace/site-manage/sakai_2-4-x/site-manage-tool/tool/src/bundle/sitesetupgeneric.properties +bspace/site-manage/sakai_2-4-x/site-manage-tool/tool/src/webapp/vm/sitesetup/chef_site-importSites.vm +Log: +BSP-1420 Update text to clarify "Re-Use Materials..." option in WS Setup + +---------------------- +This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the Source site. +You can modify how you receive notifications at My Workspace > Preferences. + + + +From louis@media.berkeley.edu Thu Jan 3 17:18:23 2008 +Return-Path: +Received: from murder (mail.umich.edu [141.211.14.91]) + by frankenstein.mail.umich.edu (Cyrus v2.3.8) with LMTPA; + Thu, 03 Jan 2008 17:18:23 -0500 +X-Sieve: CMU Sieve 2.3 +Received: from murder ([unix socket]) + by mail.umich.edu (Cyrus v2.2.12) with LMTPA; + Thu, 03 Jan 2008 17:18:23 -0500 +Received: from salemslot.mr.itd.umich.edu (salemslot.mr.itd.umich.edu [141.211.14.58]) + by jacknife.mail.umich.edu () with ESMTP id m03MIMXY027729; + Thu, 3 Jan 2008 17:18:22 -0500 +Received: FROM paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184]) + BY salemslot.mr.itd.umich.edu ID 477D5F23.797F6.16348 ; + 3 Jan 2008 17:18:14 -0500 +Received: from paploo.uhi.ac.uk (localhost [127.0.0.1]) + by paploo.uhi.ac.uk (Postfix) with ESMTP id EF439B98CE; + Thu, 3 Jan 2008 22:18:19 +0000 (GMT) +Message-ID: <200801032216.m03MGhDa005292@nakamura.uits.iupui.edu> +Mime-Version: 1.0 +Content-Transfer-Encoding: 7bit +Received: from prod.collab.uhi.ac.uk ([194.35.219.182]) + by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 236 + for ; + Thu, 3 Jan 2008 22:18:04 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (nakamura.uits.iupui.edu [134.68.220.122]) + by shmi.uhi.ac.uk (Postfix) with ESMTP id 905D53C2FD + for ; Thu, 3 Jan 2008 22:17:52 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (localhost [127.0.0.1]) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11) with ESMTP id m03MGhrs005294 + for ; Thu, 3 Jan 2008 17:16:43 -0500 +Received: (from apache@localhost) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11/Submit) id m03MGhDa005292 + for source@collab.sakaiproject.org; Thu, 3 Jan 2008 17:16:43 -0500 +Date: Thu, 3 Jan 2008 17:16:43 -0500 +X-Authentication-Warning: nakamura.uits.iupui.edu: apache set sender to louis@media.berkeley.edu using -f +To: source@collab.sakaiproject.org +From: louis@media.berkeley.edu +Subject: [sakai] svn commit: r39746 - in bspace/site-manage/sakai_2-4-x/site-manage-tool/tool/src: bundle webapp/vm/sitesetup +X-Content-Type-Outer-Envelope: text/plain; charset=UTF-8 +X-Content-Type-Message-Body: text/plain; charset=UTF-8 +Content-Type: text/plain; charset=UTF-8 +X-DSPAM-Result: Innocent +X-DSPAM-Processed: Thu Jan 3 17:18:23 2008 +X-DSPAM-Confidence: 0.6959 +X-DSPAM-Probability: 0.0000 + +Details: http://source.sakaiproject.org/viewsvn/?view=rev&rev=39746 + +Author: louis@media.berkeley.edu +Date: 2008-01-03 17:16:39 -0500 (Thu, 03 Jan 2008) +New Revision: 39746 + +Modified: +bspace/site-manage/sakai_2-4-x/site-manage-tool/tool/src/bundle/sitesetupgeneric.properties +bspace/site-manage/sakai_2-4-x/site-manage-tool/tool/src/webapp/vm/sitesetup/chef_site-siteInfo-duplicate.vm +Log: +BSP-1421 Add text to clarify "Duplicate Site" option in Site Info + +---------------------- +This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the Source site. +You can modify how you receive notifications at My Workspace > Preferences. + + + +From ray@media.berkeley.edu Thu Jan 3 17:07:00 2008 +Return-Path: +Received: from murder (mail.umich.edu [141.211.14.39]) + by frankenstein.mail.umich.edu (Cyrus v2.3.8) with LMTPA; + Thu, 03 Jan 2008 17:07:00 -0500 +X-Sieve: CMU Sieve 2.3 +Received: from murder ([unix socket]) + by mail.umich.edu (Cyrus v2.2.12) with LMTPA; + Thu, 03 Jan 2008 17:07:00 -0500 +Received: from anniehall.mr.itd.umich.edu (anniehall.mr.itd.umich.edu [141.211.93.141]) + by faithful.mail.umich.edu () with ESMTP id m03M6xaq014868; + Thu, 3 Jan 2008 17:06:59 -0500 +Received: FROM paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184]) + BY anniehall.mr.itd.umich.edu ID 477D5C7A.4FE1F.22211 ; + 3 Jan 2008 17:06:53 -0500 +Received: from paploo.uhi.ac.uk (localhost [127.0.0.1]) + by paploo.uhi.ac.uk (Postfix) with ESMTP id 0BC8D7225E; + Thu, 3 Jan 2008 22:06:57 +0000 (GMT) +Message-ID: <200801032205.m03M5Ea7005273@nakamura.uits.iupui.edu> +Mime-Version: 1.0 +Content-Transfer-Encoding: 7bit +Received: from prod.collab.uhi.ac.uk ([194.35.219.182]) + by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 554 + for ; + Thu, 3 Jan 2008 22:06:34 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (nakamura.uits.iupui.edu [134.68.220.122]) + by shmi.uhi.ac.uk (Postfix) with ESMTP id 2AB513C2FD + for ; Thu, 3 Jan 2008 22:06:23 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (localhost [127.0.0.1]) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11) with ESMTP id m03M5EQa005275 + for ; Thu, 3 Jan 2008 17:05:14 -0500 +Received: (from apache@localhost) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11/Submit) id m03M5Ea7005273 + for source@collab.sakaiproject.org; Thu, 3 Jan 2008 17:05:14 -0500 +Date: Thu, 3 Jan 2008 17:05:14 -0500 +X-Authentication-Warning: nakamura.uits.iupui.edu: apache set sender to ray@media.berkeley.edu using -f +To: source@collab.sakaiproject.org +From: ray@media.berkeley.edu +Subject: [sakai] svn commit: r39745 - providers/trunk/cm/cm-authz-provider/src/java/org/sakaiproject/coursemanagement/impl/provider +X-Content-Type-Outer-Envelope: text/plain; charset=UTF-8 +X-Content-Type-Message-Body: text/plain; charset=UTF-8 +Content-Type: text/plain; charset=UTF-8 +X-DSPAM-Result: Innocent +X-DSPAM-Processed: Thu Jan 3 17:07:00 2008 +X-DSPAM-Confidence: 0.7556 +X-DSPAM-Probability: 0.0000 + +Details: http://source.sakaiproject.org/viewsvn/?view=rev&rev=39745 + +Author: ray@media.berkeley.edu +Date: 2008-01-03 17:05:11 -0500 (Thu, 03 Jan 2008) +New Revision: 39745 + +Modified: +providers/trunk/cm/cm-authz-provider/src/java/org/sakaiproject/coursemanagement/impl/provider/CourseManagementGroupProvider.java +Log: +SAK-12602 Fix logic when a user has multiple roles in a section + +---------------------- +This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the Source site. +You can modify how you receive notifications at My Workspace > Preferences. + + + +From cwen@iupui.edu Thu Jan 3 16:34:40 2008 +Return-Path: +Received: from murder (mail.umich.edu [141.211.14.34]) + by frankenstein.mail.umich.edu (Cyrus v2.3.8) with LMTPA; + Thu, 03 Jan 2008 16:34:40 -0500 +X-Sieve: CMU Sieve 2.3 +Received: from murder ([unix socket]) + by mail.umich.edu (Cyrus v2.2.12) with LMTPA; + Thu, 03 Jan 2008 16:34:40 -0500 +Received: from icestorm.mr.itd.umich.edu (icestorm.mr.itd.umich.edu [141.211.93.149]) + by chaos.mail.umich.edu () with ESMTP id m03LYdY1029538; + Thu, 3 Jan 2008 16:34:39 -0500 +Received: FROM paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184]) + BY icestorm.mr.itd.umich.edu ID 477D54EA.13F34.26602 ; + 3 Jan 2008 16:34:36 -0500 +Received: from paploo.uhi.ac.uk (localhost [127.0.0.1]) + by paploo.uhi.ac.uk (Postfix) with ESMTP id CC710ADC79; + Thu, 3 Jan 2008 21:34:29 +0000 (GMT) +Message-ID: <200801032133.m03LX3gG005191@nakamura.uits.iupui.edu> +Mime-Version: 1.0 +Content-Transfer-Encoding: 7bit +Received: from prod.collab.uhi.ac.uk ([194.35.219.182]) + by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 611 + for ; + Thu, 3 Jan 2008 21:34:08 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (nakamura.uits.iupui.edu [134.68.220.122]) + by shmi.uhi.ac.uk (Postfix) with ESMTP id 43C4242B55 + for ; Thu, 3 Jan 2008 21:34:12 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (localhost [127.0.0.1]) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11) with ESMTP id m03LX3Vb005193 + for ; Thu, 3 Jan 2008 16:33:03 -0500 +Received: (from apache@localhost) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11/Submit) id m03LX3gG005191 + for source@collab.sakaiproject.org; Thu, 3 Jan 2008 16:33:03 -0500 +Date: Thu, 3 Jan 2008 16:33:03 -0500 +X-Authentication-Warning: nakamura.uits.iupui.edu: apache set sender to cwen@iupui.edu using -f +To: source@collab.sakaiproject.org +From: cwen@iupui.edu +Subject: [sakai] svn commit: r39744 - oncourse/branches/oncourse_OPC_122007 +X-Content-Type-Outer-Envelope: text/plain; charset=UTF-8 +X-Content-Type-Message-Body: text/plain; charset=UTF-8 +Content-Type: text/plain; charset=UTF-8 +X-DSPAM-Result: Innocent +X-DSPAM-Processed: Thu Jan 3 16:34:40 2008 +X-DSPAM-Confidence: 0.9846 +X-DSPAM-Probability: 0.0000 + +Details: http://source.sakaiproject.org/viewsvn/?view=rev&rev=39744 + +Author: cwen@iupui.edu +Date: 2008-01-03 16:33:02 -0500 (Thu, 03 Jan 2008) +New Revision: 39744 + +Modified: +oncourse/branches/oncourse_OPC_122007/ +oncourse/branches/oncourse_OPC_122007/.externals +Log: +update external for GB. + +---------------------- +This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the Source site. +You can modify how you receive notifications at My Workspace > Preferences. + + + +From cwen@iupui.edu Thu Jan 3 16:29:07 2008 +Return-Path: +Received: from murder (mail.umich.edu [141.211.14.46]) + by frankenstein.mail.umich.edu (Cyrus v2.3.8) with LMTPA; + Thu, 03 Jan 2008 16:29:07 -0500 +X-Sieve: CMU Sieve 2.3 +Received: from murder ([unix socket]) + by mail.umich.edu (Cyrus v2.2.12) with LMTPA; + Thu, 03 Jan 2008 16:29:07 -0500 +Received: from galaxyquest.mr.itd.umich.edu (galaxyquest.mr.itd.umich.edu [141.211.93.145]) + by fan.mail.umich.edu () with ESMTP id m03LT6uw027749; + Thu, 3 Jan 2008 16:29:06 -0500 +Received: FROM paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184]) + BY galaxyquest.mr.itd.umich.edu ID 477D5397.E161D.20326 ; + 3 Jan 2008 16:28:58 -0500 +Received: from paploo.uhi.ac.uk (localhost [127.0.0.1]) + by paploo.uhi.ac.uk (Postfix) with ESMTP id DEC65ADC79; + Thu, 3 Jan 2008 21:28:52 +0000 (GMT) +Message-ID: <200801032127.m03LRUqH005177@nakamura.uits.iupui.edu> +Mime-Version: 1.0 +Content-Transfer-Encoding: 7bit +Received: from prod.collab.uhi.ac.uk ([194.35.219.182]) + by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 917 + for ; + Thu, 3 Jan 2008 21:28:39 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (nakamura.uits.iupui.edu [134.68.220.122]) + by shmi.uhi.ac.uk (Postfix) with ESMTP id 1FBB042B30 + for ; Thu, 3 Jan 2008 21:28:38 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (localhost [127.0.0.1]) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11) with ESMTP id m03LRUk4005179 + for ; Thu, 3 Jan 2008 16:27:30 -0500 +Received: (from apache@localhost) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11/Submit) id m03LRUqH005177 + for source@collab.sakaiproject.org; Thu, 3 Jan 2008 16:27:30 -0500 +Date: Thu, 3 Jan 2008 16:27:30 -0500 +X-Authentication-Warning: nakamura.uits.iupui.edu: apache set sender to cwen@iupui.edu using -f +To: source@collab.sakaiproject.org +From: cwen@iupui.edu +Subject: [sakai] svn commit: r39743 - gradebook/branches/oncourse_2-4-2/app/ui/src/java/org/sakaiproject/tool/gradebook/ui +X-Content-Type-Outer-Envelope: text/plain; charset=UTF-8 +X-Content-Type-Message-Body: text/plain; charset=UTF-8 +Content-Type: text/plain; charset=UTF-8 +X-DSPAM-Result: Innocent +X-DSPAM-Processed: Thu Jan 3 16:29:07 2008 +X-DSPAM-Confidence: 0.8509 +X-DSPAM-Probability: 0.0000 + +Details: http://source.sakaiproject.org/viewsvn/?view=rev&rev=39743 + +Author: cwen@iupui.edu +Date: 2008-01-03 16:27:29 -0500 (Thu, 03 Jan 2008) +New Revision: 39743 + +Modified: +gradebook/branches/oncourse_2-4-2/app/ui/src/java/org/sakaiproject/tool/gradebook/ui/RosterBean.java +Log: +svn merge -c 39403 https://source.sakaiproject.org/svn/gradebook/trunk +U app/ui/src/java/org/sakaiproject/tool/gradebook/ui/RosterBean.java + +svn log -r 39403 https://source.sakaiproject.org/svn/gradebook/trunk +------------------------------------------------------------------------ +r39403 | wagnermr@iupui.edu | 2007-12-17 17:11:08 -0500 (Mon, 17 Dec 2007) | 3 lines + +SAK-12504 +http://jira.sakaiproject.org/jira/browse/SAK-12504 +Viewing "All Grades" page as a TA with grader permissions causes stack trace +------------------------------------------------------------------------ + + +---------------------- +This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the Source site. +You can modify how you receive notifications at My Workspace > Preferences. + + + +From cwen@iupui.edu Thu Jan 3 16:23:48 2008 +Return-Path: +Received: from murder (mail.umich.edu [141.211.14.91]) + by frankenstein.mail.umich.edu (Cyrus v2.3.8) with LMTPA; + Thu, 03 Jan 2008 16:23:48 -0500 +X-Sieve: CMU Sieve 2.3 +Received: from murder ([unix socket]) + by mail.umich.edu (Cyrus v2.2.12) with LMTPA; + Thu, 03 Jan 2008 16:23:48 -0500 +Received: from salemslot.mr.itd.umich.edu (salemslot.mr.itd.umich.edu [141.211.14.58]) + by jacknife.mail.umich.edu () with ESMTP id m03LNlf0002115; + Thu, 3 Jan 2008 16:23:47 -0500 +Received: FROM paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184]) + BY salemslot.mr.itd.umich.edu ID 477D525E.1448.30389 ; + 3 Jan 2008 16:23:44 -0500 +Received: from paploo.uhi.ac.uk (localhost [127.0.0.1]) + by paploo.uhi.ac.uk (Postfix) with ESMTP id 9D005B9D06; + Thu, 3 Jan 2008 21:23:38 +0000 (GMT) +Message-ID: <200801032122.m03LMFo4005148@nakamura.uits.iupui.edu> +Mime-Version: 1.0 +Content-Transfer-Encoding: 7bit +Received: from prod.collab.uhi.ac.uk ([194.35.219.182]) + by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 6 + for ; + Thu, 3 Jan 2008 21:23:24 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (nakamura.uits.iupui.edu [134.68.220.122]) + by shmi.uhi.ac.uk (Postfix) with ESMTP id 3535542B69 + for ; Thu, 3 Jan 2008 21:23:24 +0000 (GMT) +Received: from nakamura.uits.iupui.edu (localhost [127.0.0.1]) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11) with ESMTP id m03LMFtT005150 + for ; Thu, 3 Jan 2008 16:22:15 -0500 +Received: (from apache@localhost) + by nakamura.uits.iupui.edu (8.12.11.20060308/8.12.11/Submit) id m03LMFo4005148 + for source@collab.sakaiproject.org; Thu, 3 Jan 2008 16:22:15 -0500 +Date: Thu, 3 Jan 2008 16:22:15 -0500 +X-Authentication-Warning: nakamura.uits.iupui.edu: apache set sender to cwen@iupui.edu using -f +To: source@collab.sakaiproject.org +From: cwen@iupui.edu +Subject: [sakai] svn commit: r39742 - gradebook/branches/oncourse_2-4-2/app/ui/src/java/org/sakaiproject/tool/gradebook/ui +X-Content-Type-Outer-Envelope: text/plain; charset=UTF-8 +X-Content-Type-Message-Body: text/plain; charset=UTF-8 +Content-Type: text/plain; charset=UTF-8 +X-DSPAM-Result: Innocent +X-DSPAM-Processed: Thu Jan 3 16:23:48 2008 +X-DSPAM-Confidence: 0.9907 +X-DSPAM-Probability: 0.0000 + +Details: http://source.sakaiproject.org/viewsvn/?view=rev&rev=39742 + +Author: cwen@iupui.edu +Date: 2008-01-03 16:22:14 -0500 (Thu, 03 Jan 2008) +New Revision: 39742 + +Modified: +gradebook/branches/oncourse_2-4-2/app/ui/src/java/org/sakaiproject/tool/gradebook/ui/RosterBean.java +Log: +svn merge -c 35014 https://source.sakaiproject.org/svn/gradebook/trunk +U app/ui/src/java/org/sakaiproject/tool/gradebook/ui/RosterBean.java + +svn log -r 35014 https://source.sakaiproject.org/svn/gradebook/trunk +------------------------------------------------------------------------ +r35014 | wagnermr@iupui.edu | 2007-09-12 16:17:59 -0400 (Wed, 12 Sep 2007) | 3 lines + +SAK-11458 +http://bugs.sakaiproject.org/jira/browse/SAK-11458 +Course grade does not appear on "All Grades" page if no categories in gb +------------------------------------------------------------------------ + + +---------------------- +This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the Source site. +You can modify how you receive notifications at My Workspace > Preferences. + diff --git a/day_7/reg_ex_apllications.py b/day_7/reg_ex_apllications.py new file mode 100644 index 0000000..98c3df3 --- /dev/null +++ b/day_7/reg_ex_apllications.py @@ -0,0 +1,44 @@ +#lv regular expression applications +#without +data = 'From stephan.marquard@uct.ac.za Sat Jan 5 09:14:16 2008' +at = data.find('@') +print(at) +sp = data.find(' ', at) +print(sp) +host = data[at+1: sp] +print(host) + +#without 1 +words = data.split() +print(words) +email = words[1] +print(email) +pieces = email.split('@') +print(pieces[1]) + +#with regex version +import re +y = re.findall('@([^ ]*)', data) +print(y) +#even cooler regex version +y = re.findall('^From .*@([^ ]*)', data) +print(y) + + +#lv1 +import re +hand = open('mbox-short.txt') +numlist = list() +for line in hand: + line = line.rstrip() + stuff = re.findall('^X-DSPAM-Confidence: ([0-9.]+)', line) + if len(stuff) != 1 : continue + num = float(stuff[0]) + numlist.append(num) +print('Maximum:', max(numlist)) + +#lv2 escape character +import re +x = 'We just recieved $10.00 for cookies.' +y = re.findall('\$[0-9.]+',x) +print(y) diff --git a/day_7/reg_ex_match_extract_data.py b/day_7/reg_ex_match_extract_data.py new file mode 100644 index 0000000..8fb9955 --- /dev/null +++ b/day_7/reg_ex_match_extract_data.py @@ -0,0 +1,27 @@ +import re +#lv matching and extracting data with re.findall() +x = 'My 2 favorite numbers are 19 and 42' +y = re.findall('[0-9]+',x) +print(y) +y = re.findall('[AEIOU]+',x) #because capital world not avail +print(y) + +#lv1 Warning: Greedy MAtching +x = 'From: Using the : character' +y = re.findall('^F.+:',x) +print(y) +y = re.findall('^F.+?:',x) +#we choose non greedy +? +print(y) + +#lv2 fine-tuning string extraction +x = 'From stephan.marquard@utc.ac.za Sat Jan 5 09:14:16 2008' +y = re.findall('\S+@\S+', x) +print(y) +y = re.findall('^From (\S+@\S+)',x) +print(y) + +#test QA +S = 'A message from csev@umich.edu to cwen@iupuo.edu about meeting @2PM' +lst = re.findall('\\S+@\\S+',S) +print(lst) diff --git a/day_7/regular_expression.py b/day_7/regular_expression.py new file mode 100644 index 0000000..04ff944 --- /dev/null +++ b/day_7/regular_expression.py @@ -0,0 +1,51 @@ +#lv regular expression +''' +^ match begining of line +$ match the end of line +. match any character +\s match whitespace +\S match not-whitespace characters +* repeat character 0 or more times +*? repeact character 0 or more times(non-greedy) ++ repeat character 1 or more times ++? repeat character 1 or more times (non-greedy) +[aeiou] match single character in listed set +[^XYZ] match a single characte not in the listed set +[a-z0-9] the set of character can include a range +( indicate where string extraction start +) indicate where string extraction end +''' + +#lv1 using re.search() like find() +#ex without regular expression +hand = open('romeo.txt') +for lin in hand: + lin = lin.rstrip() + if lin.find('is') >= 0: + print(lin) + +#ex using regular expression start with import re +import re + +hand = open('romeo.txt') +for line in hand: + line = line.rstrip() + if re.search('is', line): + print(line) + +#lv2 using re.search() link startswith() +#without +hand = open('romeo.txt') +for line in hand: + line = line.rstrip() + if line.startswith('It'): + print(line) + +#with +import re +hand = open('romeo.txt') +for line in hand: + line = line.rstrip() + if re.match('^It', line): + print(line) + diff --git a/day_7/romeo.txt b/day_7/romeo.txt new file mode 100644 index 0000000..ebbf317 --- /dev/null +++ b/day_7/romeo.txt @@ -0,0 +1,4 @@ +But soft what light through yonder window breaks +It is the east and Juliet is the sun +Arise fair sun and kill the envious moon +Who is already sick and pale with grief diff --git a/day_8/Network_protocol.py b/day_8/Network_protocol.py new file mode 100644 index 0000000..71399fb --- /dev/null +++ b/day_8/Network_protocol.py @@ -0,0 +1,8 @@ +#lv TELNET +''' +telnet www.xyz.com 80 +GET http://www.xyz.com HTTP/1.0 +''' +#IS USED TO CONNECT TO WEB SERVER WITH DIFFERENT PORT FOR ITS REQUIREMENT + +print('telnet') diff --git a/day_9/.vscode/settings.json b/day_9/.vscode/settings.json new file mode 100644 index 0000000..a19bdb5 --- /dev/null +++ b/day_9/.vscode/settings.json @@ -0,0 +1,9 @@ +{ + "cSpell.words": [ + "fhand", + "kirh", + "Mrugesh", + "mysock", + "ribison" + ] +} \ No newline at end of file diff --git a/day_9/Network_text_processing.py b/day_9/Network_text_processing.py new file mode 100644 index 0000000..ac10fa6 --- /dev/null +++ b/day_9/Network_text_processing.py @@ -0,0 +1,28 @@ +import socket +#lv representing string with ord() +#http://unicode.org/charts/ +print(ord('H')) +print(ord('e')) +print(ord('\n')) + + +#lv1 encode() > send() > recv() > decode() work of socket +mysock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) +mysock.connect(('data.pr4e.org', 80)) +cmd = 'GET http://data.pr4e.org/romeo.txt HTTP/1.0\r\n\r\n'.encode() + +mysock.send(cmd) + +while True: + data = mysock.recv(512) + if len(data) < 1: + break + print(data.decode()) +mysock.close() + + +#test QA +''' +which type of encoding do most websites use? +UTF-8 +''' \ No newline at end of file diff --git a/day_9/Network_urllib.py b/day_9/Network_urllib.py new file mode 100644 index 0000000..1280831 --- /dev/null +++ b/day_9/Network_urllib.py @@ -0,0 +1,32 @@ +import urllib.request, urllib.parse, urllib.error + +#lv Using utllib in python with import urllib.request +fhand = urllib.request.urlopen('http://data.pr4e.org/romeo.txt') +for line in fhand: + print(line.decode().strip()) + +#lv1 like a file +bhand = urllib.request.urlopen('http://data.pr4e.org/romeo.txt') +counts = dict() +for line in bhand: + words = line.decode().split() + for word in words: + counts[word] = counts.get(word, 0) + 1 +print(counts) + +#lv2 read web pages +ahand = urllib.request.urlopen('http://www.dr-chuck.com/page1.htm') +for line in ahand: + print(line.decode().strip()) + + + + +#test QA +''' +import urllib.request + +fhand = urllib.request.urlopen('http://www.ribison.com') +for line in fhand: + print(line.decode().strip()) +''' \ No newline at end of file diff --git a/day_9/Networking_write_web_browser.py b/day_9/Networking_write_web_browser.py new file mode 100644 index 0000000..9bf5989 --- /dev/null +++ b/day_9/Networking_write_web_browser.py @@ -0,0 +1,28 @@ +import socket +#lv an HTTP request in python +mysock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) +mysock.connect(('data.pr4e.org', 80)) +cmd = 'GET http://data.pr4e.org/romeo.txt HTTP/1.0\r\n\r\n'.encode() +mysock.send(cmd) + +while True: + data = mysock.recv(512) + if len(data) < 1: + break + print(data.decode()) +mysock.close() + +#test QA +''' +cmd = 'GET http://www.ribison.com/ HTTP/1.0\r\n\r\n'.encode() +mysock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) +mysock.connect(('www.ribison.com', 80)) +mysock.send(cmd) + +while True: + data = mysock.recv(512) + if len(data) < 1: + break + print(data.decode(),end='') +mysock.close() +''' \ No newline at end of file diff --git a/day_9/data_types.xml b/day_9/data_types.xml new file mode 100644 index 0000000..b2280fd --- /dev/null +++ b/day_9/data_types.xml @@ -0,0 +1,7 @@ + + +John Smith +2002-09-24 +2005-05-30T09:30:10Z +999.50 +30 \ No newline at end of file diff --git a/day_9/data_types_schema.xml b/day_9/data_types_schema.xml new file mode 100644 index 0000000..53e5129 --- /dev/null +++ b/day_9/data_types_schema.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/day_9/doc.xml b/day_9/doc.xml new file mode 100644 index 0000000..dba5345 --- /dev/null +++ b/day_9/doc.xml @@ -0,0 +1,7 @@ + + + + Severance + 17 + 2001-04-17 + diff --git a/day_9/netw_web_scraping.py b/day_9/netw_web_scraping.py new file mode 100644 index 0000000..2143aea --- /dev/null +++ b/day_9/netw_web_scraping.py @@ -0,0 +1,13 @@ +#lv Beautiful soup install + +import urllib.request, urllib.parse, urllib.error +from bs4 import BeautifulSoup + +url = input('Enter - ') +html = urllib.request.urlopen(url).read() +soup = BeautifulSoup(html, 'html.parser') + +#retrive all of anchor tags +tags = soup('a') +for tag in tags: + print(tag.get('href', None)) \ No newline at end of file diff --git a/day_9/schema_contract.xml b/day_9/schema_contract.xml new file mode 100644 index 0000000..60a39eb --- /dev/null +++ b/day_9/schema_contract.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/day_9/web_services_json.py b/day_9/web_services_json.py new file mode 100644 index 0000000..adafcab --- /dev/null +++ b/day_9/web_services_json.py @@ -0,0 +1,57 @@ +#lv json process +import json +data = '''{ + "name" : "Chuck", + "phone" : { + "type" : "intl", + "number" : "+1 734 303 4456" + }, + "email": { + "hide" : "yes" + } +}''' +info = json.loads(data) +print('Name:',info["name"]) +print("Hide:",info["email"]["hide"]) + + +#lv1 +import json + +input = '''[ + { "id" : "001", + "x" : "2", + "name" : "kirh" + }, + { "id" : "009", + "x" : "7", + "name" : "wick" + } +]''' + +info = json.loads(input) +print('User count:', len(info)) +for item in info: + print('Name', item['name']) + print('Id', item['id']) + print('Attribute', item['x']) + + +#test QA +import json + +data = ''' + [ + { "id" : "001", + "x" : "2", + "name" : "Quincy" + } , + { "id" : "009", + "x" : "7", + "name" : "Mrugesh" + } + ] +''' + +info = json.loads(data) +print(info[1]['name']) \ No newline at end of file diff --git a/day_9/web_services_xml.py b/day_9/web_services_xml.py new file mode 100644 index 0000000..0d15442 --- /dev/null +++ b/day_9/web_services_xml.py @@ -0,0 +1,26 @@ +#XLM +''' +eXtensible Markup Language +Tags +Attribute +Serialize/Deserialize + + +Chuck ++1 734 303 4456 + + + +''' + +#lv XML Schema +import xml.etree.ElementTree as ET +data = ''' +Chuck ++1 734 303 4456 + +''' + +tree = ET.fromstring(data) +print('Name:',tree.find('name').text) +print('Attr:',tree.find('email').get('hide')) diff --git a/day_9/web_services_xml2.py b/day_9/web_services_xml2.py new file mode 100644 index 0000000..763b445 --- /dev/null +++ b/day_9/web_services_xml2.py @@ -0,0 +1,23 @@ +#XML Schema +import xml.etree.ElementTree as ET + +input = ''' + + + 001 + Ra + + + 009 + Bio + + +''' + +stuff = ET.fromstring(input) +lst = stuff.findall('users/user') +print('User count:', len(lst)) +for item in lst: + print('Name', item.find('name').text) + print('Id', item.find('id').text) + print('Attribute', item.get('x')) \ No newline at end of file diff --git a/day_9/xsd_constrain.xml b/day_9/xsd_constrain.xml new file mode 100644 index 0000000..c82ba1e --- /dev/null +++ b/day_9/xsd_constrain.xml @@ -0,0 +1,9 @@ + + + + Tove Refsnes + Hege + Stale + Jim + Borge + \ No newline at end of file diff --git a/day_9/xsd_constrain_schema.xml b/day_9/xsd_constrain_schema.xml new file mode 100644 index 0000000..77fe249 --- /dev/null +++ b/day_9/xsd_constrain_schema.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/ex_mode b/ex_mode new file mode 160000 index 0000000..45c3e7d --- /dev/null +++ b/ex_mode @@ -0,0 +1 @@ +Subproject commit 45c3e7d2f74c779f214ce32832910f2f9bf8cfce diff --git a/practical/al.txt b/practical/al.txt new file mode 100755 index 0000000..a129db3 --- /dev/null +++ b/practical/al.txt @@ -0,0 +1,8 @@ +morning rises new day comes but im soldier of night who long for moonshine +today lets start new chapter +when we know our sort comins +we fight for what we desire +where this fight with oneself to evolve +that is when you start +ones journy +13 diff --git a/practical/init.py b/practical/init.py new file mode 100755 index 0000000..9dd975c --- /dev/null +++ b/practical/init.py @@ -0,0 +1,17 @@ +name = input('Enter file:') +handle = open(name) + +counts = dict() +for line in handle: + words = line.split() + for word in words: + counts[word] = counts.get(word, 0) + 1 + +bigcount = None +bigword = None +for word, count in counts.items(): + if bigcount is None or count > bigcount: + bigword = word + bigcount = count + +print(bigword, bigcount)