Closed Bug 931072 Opened 11 years ago Closed 11 years ago

Adjust "view report" URLs

Categories

(Mozilla Reps Graveyard :: reps.mozilla.org, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: hoosteeno, Assigned: tasos)

References

Details

(Whiteboard: [kb=1171583] )

We'll be creating a new "view report" template (bug 931068) for our continuous reporting system. Since we'll be taking reports anytime, and not just monthly, we'll need to adjust the urls that reports are viewable at. 

Right now, reports are viewed at URLs like this:

https://reps.mozilla.org/u/ananthulasrikar/r/2013/September/

Maybe the new reports will be viewed at URLs like this? 
 
https://reps.mozilla.org/u/ananthulasrikar/r/report_id/

Alternative suggestions welcome!
We discussed in our weekly meeting and decided to use URLs like this:

/u/username/r/year/month/day/id/

The id will simply be an incrementing integer -- the database id.
Assignee: nobody → tasos
Status: NEW → ASSIGNED
Whiteboard: [kb=1171583]
Commits pushed to master at https://github.com/mozilla/remo

https://github.com/mozilla/remo/commit/6be202d71e3bd6d732c153fcbdd1190112fe46c8
[fix bug 931072] [fix bug 931150] [fix bug 938041] NGReport submission.

* Adjust the urls of the new reporting system.
* Integrate the report submission form with backend.
* Remove fixtures from reports app.
* Add tests for the submission form of the Continuous Reporting system.
* Changes to NGReport model factory.
* Ignore dirty submodule django-offline-compressor.
* Add waffle flag to edit and delete report views of the CR system.

https://github.com/mozilla/remo/commit/43ef7627e760c89e7ae82dc968e3997c136ff091
[fix bug 931072] [fix bug 931150] [fix bug 938041] Enhanced NGReports tests.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Many of the fixes in this patch are [qa-]. The ones below are not. Here are steps for QAing them:

* Adjust the urls of the new reporting system.
1) Verify that individual reports appear at a URL like /u/username/r/year/month/day/id/

* Integrate the report submission form with backend.
-> verified in https://bugzilla.mozilla.org/show_bug.cgi?id=928444#c16
(In reply to jcrawford from comment #3)
> * Adjust the urls of the new reporting system.
> 1) Verify that individual reports appear at a URL like
> /u/username/r/year/month/day/id/
> 


Verified on stage:

I created a report as user 'giorgos' with report date '17 december 2013'. The url appears as expected. 

https://reps.allizom.org/u/giorgos/r/2013/December/17/1/

Thanks!
Status: RESOLVED → VERIFIED
Version: unspecified → 419
Product: Mozilla Reps → Mozilla Reps Graveyard
You need to log in before you can comment on or make changes to this bug.