Friday, 18 July 2014

GSoC Update: July 18 2014

Last week's summary:

Added css for +tickets view for modernized and foobar theme.
For modernized theme: codereview and commit to my repo.
Here is the screenshot


For foobar theme: codereview and commit to my repo.
Here is the screenshot



Added some more meta-data information(specific to blog items such as ptime, suppertags) to be displayed in modify view of blog items. Here is the codereview and commit to my repo.

Also finalized the solution of #433 - Added User Actions, Item Actions bar, Show, History, Modify and other important links in view template of nameless items in basic theme. Here is the codereview and commit to my repo.

Also made summary field in blog entries as necessary field so that only summary is shown on the blog entry view instead of name. Here is the codereview

Now I am working on Improving UI of blog items in all the themes.

Wednesday, 9 July 2014

GSoC Update: July 9 2014

Last week's summary:

Added 'Subscribe' and 'Add quicklink' option in ticket's modify template. Now users can subscribe to ticket items and also quicklink them in basic theme. Here is the codereview and commit to my repo.

Made nameless items downloadable. Previously there user couldn't download nameless items as the filename that was used for downloading used name of the item which was raising error in case of nameless items so I removed this dependency on name and defined separate function for getting filename (get_download_file_name). This returns the name of the item if there is some name else return field-value as download file name. Here is the codereview and commit to my repo.

Also made blog items update work and add useful links of modify, subscribe, modify meta etc on blog page. Here is the codereview for my changes. One TODO is to make blog-posts nameless which would be done once we get a way to create items without any initial fqname.

Fixed #433 - Now User Actions, Item Actions, Show, History, Modify etc are also displayed in the view of nameless items in basic theme. Here is the codereview for my changes . I am yet to commit it to my repo.

Also tried to write tests for +tickets view but couldn't complete it as we need pytest latest version(2.5.2) but currently it is not compatible with moin, so I will come to it later. Here is the codereview for the above.

Monday, 30 June 2014

GSoC Update: June 30 2014

Since last 10-12 days I have been working on adding some more features to +tickets view and also improve the UI of ticket items.
Features Added to +tickets view:
  • Added XStatic-JQuery.TableSorter 2.14.5.1 plugin. Now sorting can be done according to columns of table showing the list of tickets. Also added generic css for class table-sorter-header so that if this plugin is used somewhere else then there is no need to define separate css for it.
  • Now user can filter tickets according to the tags. User can filter tickets by selecting multiple tags.
  • Now sorting can also be done on the basis of modified time (Recently modified and least recently modified)
UI of ticket items: As decided in the plan in order to improve UI of ticket items I defined css for radio-buttons, select-lists, text-inputs and submit buttons. I defined the css in a way that it is compatible with all the themes. Here is the screenshot

Also added tag suggestions in ticket submit and modify view.

Also I passed the Mid-Term Evaluation that took place last week. I would like to thank my project mentors - dimazest, Thomas Waldmann and RogerHaase for their constant support.



Tuesday, 17 June 2014

GSoC Update: Finalized /+tickets view with some more features

This week I worked on adding more features to the basic /+tickets view that was made last week.
Following are the features that are in this view

  •  Now there is a search bar in this view by which user can search for text in comments, summary, itemid and tags. 
  • There is also a filter option by which user can filter the results by priority, effort, severity and difficulty. User can click on any td element and the table gets filtered according to the value in that column. 
  • I have also added buttons for viewing only Open, Closed or All tickets. by default only Open Tickets are being shown. 

Here is the screenshot of +tickets view.


Here is the codereview and commit for my changes.
Now I need to write tests for this view.

Tuesday, 10 June 2014

GSoC Update: June 10 2014

Last week I worked on adding /+tickets view having a list of tickets in a tabular form. It contains important meta data information of tickets and also the links to tickets.
I also added a search option in which user can search in comments, summary, itemid and tags. 
Here is the screenshot of +tickets view.



Also made summary, Effort, Difficulty, Severity and Priority necessary fields.
Here is the codereview for this change.

During this week I found one bug - Nameless items could not be downloaded in modernized theme so I made a small change in order to make it work. Here is the codereview for my change. 



Monday, 2 June 2014

GSoC Update: June 2 2014

Well, this post came a bit late as I was busy with my coding stuff.
The coding period started almost 2 weeks ago and in these 2 weeks I mainly worked on making ticket update work properly and also work on some GUI part of tickets. During this I came to know that this update problem is not only with the ticket items but all items which do not have any name. Also there was a failing unit test due to this. The problem was that the notification module was dependent on name and as items may not have any name so the error was raised whenever such an item was modified. For solving this I passed fqname instead of item_name to Notification module and also to logging signals and used this fqname to fetch the item's  information and send notification mail. Here is the codereview and commit to my repo.

There was also one specific problem with tickets that for the fields "Depends On" and "Superseded By" it was earlier trying to fetch the names of other tickets and tickets do not have any name so an error was raised. For this problem I made it fetch only some initials of itemid and also summary of the ticket items. Now in these fields the drop-down list shows this itemid initials and summary. Here is the codereview for my change. I am yet to commit it to my repo.

Also during this time Ajitesh (:randomax) reminded me of this bug regarding the dislocation of search box which I solved earlier but didn't commit. So I committed that also to my repo. Here is the codereview and commit to my repo.

Tuesday, 13 May 2014

GSoC Update: Final Plan

Well, this week we had discussions regarding the structure of the ticket item. Also I found out the reason why there the error is coming while modifying ticket item. Actually when we are modifying ticket then for the fields "Superseded By" and "Depends On", it tries to create a select list and for that it tries to fetch the name and ITEMID of the other ticket items and as name field is not defined then an error is raised. I was able to find this by creating breakpoints using Pycharm. Seriously, Pycharm is very nice IDE for python and web development.
Here is the Plan

The ticket item will only have ITEMID not the names.
  • In the fields "Superseded By" and "Depends On", we will first try to have ITEMID as option for display and then afterwards we will try to have "one-line summary" also displayed in in the options so that it is easy for the user select the desirable option.
  • There would a view having list of tickets with their links and one-line summary.
  • Also the the UI of the ticket would be made better by using bootstrap i.e the drop-down lists, submit buttons etc would be given bootstrap touch.
If required some minor changes may be incorporated :D