Created by Christian Zambrano and last modified
Get this branch:
bzr branch lp:~czambran/ubuntu-teamreports/improvements
Only Christian Zambrano can upload to this branch. If you are Christian Zambrano please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Christian Zambrano
Ubuntu Team Reports

Recent revisions

39. By Christian Zambrano

1. Updated the lp_login function so that it uses the launchpad test server when debugging the application and the live lp server when the app is in production
 2. The function is_admin_or_owner no longer has the simple check as this function will mainly be used by the view used to proposed a team which means that info about the team is not in the local db
 3. Added some additional checks to the function that validates the team name proposed and create the form for creating and editing report entries
 4. Updated the init-reports file to include code that sets-up the different things needed to be able to use TinyMCE
 5. Removed the hardcoded reference to the ubuntu-council-teams and made it a setting so that we can more easily update the initial teams that will be imported into the local db
 6. Updated the membership model to include an attribute that can be used to specify whether a user has permissions to add report entries for a given team
7. The report entry model now has an attribute that will track when an entry was created. This is useful for when somebody edits an entry. This was also needed because report entries usually refer to things that occurred in the past
8. Initial attempt at creating the view and template that will be used for report entries

38. By Christian Zambrano

1. Updated the function used to validate a team being proposed to include checking with launchpad that the team exists
2. Renamed the Form class used on the page to propose a team and its definition
3. Updated the functions that loads the team's info into the local DB so that it checks that the member is a team
4. Updated the TeamProposal class to store who approved the team, to include a deleted flag so that a proposal can be considered deleted without actually removing the record, and made the date field automatically store the time when the row was created. Also fixed the __unicode__ function to use the 'team' property instead of name as name is not a property of that model
5. Updated the team models to no longer include multiple many to many references to the person class but only one and use a separate class to handle the additional properties like whether the person is an owner, admin, etc.. The class Membership was created for this.
6. Changed the property entry of a ReportEntry from a CharField to a TextField and specified a 'permision' meta property
7. Updated the form class used for proposing a team including changing the name and also the view that used it. Some info was being passed to it and shown as hidden fields which I didn't think belonged in the form

37. By Christian Zambrano

1. Adding a couple of context processors that I copied from the locoteams app that adds a couple of useful variables
 2. Adding the media folder that will hold the differnt css, js and image files that apply to only this app
 3. Updated the init-reports.py file to do a additional set-up steps that are now needed since the app will use the the light-django-theme. I copied the code from the locoteams app
 4. The settings file was also updated to do some additional things that are needed to include the different parts/requirements of the list-djang-theme. This code was also copied form the locoteams app
 5. The base.html and index.html have been updated as well to make use of the new theme
 6. I remove a bunch of unnecessary commented out code form the urls file and added some additional settings that allows the app to serve static files during development. This was also copied from the locoteams app.

35. By Daniel Holbach

make admin actions a bit more obvious

34. By Daniel Holbach

make sure that only app admins can make changes in the /manage/ page

33. By Daniel Holbach

update i18n template

32. By Daniel Holbach

add team category for better sorting of the report, remove 'mark_delete' stuff we can do that more easily, add team categories to management form

31. By Daniel Holbach

ignore .mo files

30. By Daniel Holbach

rename management view

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.