Chris Morgan
89abe706dc
Improve permission checking in objects, fix some initialization bugs
2005-10-26 02:09:49 +00:00
Chris Morgan
c1aa7e392e
Fix update() of sTestedRelease to use the correct $this variable
2005-10-16 19:03:12 +00:00
Chris Morgan
657167e8a5
Move hidden fields used by application and version class into their OutputEditor() member functions. Fix broken old style calls to application and version update() functions that were passing parameters in. Fix broken application::CheckOutputEditorInput()
2005-10-16 04:24:37 +00:00
Chris Morgan
49300a8707
Factor application/version editing code out of files and move it into the application and version classes. Add support to HtmlAreaLoaderScript() to be called multiple times on a single page without generating javascript that overwrites the previous html area settings.
2005-10-10 02:37:55 +00:00
Chris Morgan
77e623b59f
Improve the version rejection message to be like the application rejection one
2005-10-01 00:33:01 +00:00
Tony Lambregts
2311d4d572
Add the ability for user to monitor changes to applications
2005-09-30 01:55:51 +00:00
Tony Lambregts
65c5e0e4b3
Fix bug in the rejection of versions that was only sending the maintainers the url to the requeued application if there was a rejection reason given. Add url to requeued application to rejected applications.
2005-09-21 01:26:10 +00:00
Chris Morgan
16029378eb
Fix two other places where $iVersionId was used instead of $this->iVersionId, one in the reject path and another in the delete path
2005-08-21 03:50:39 +00:00
Chris Morgan
d5ba04b634
Fix access of $iVersion inside of version class that should have been $this->iVersion
2005-08-21 02:07:41 +00:00
Tony Lambregts
b7f1d55472
Allow maintainers/administrators to reject an application submission instead of just deleting it
2005-08-15 03:44:03 +00:00
Chris Morgan
639dd77d15
Let maintainers and super maintainers process the application versions and images submitted for applications they maintain
2005-08-05 22:07:41 +00:00
Tony Lambregts
c7d6988d4f
Fix backlink to application/version when sending email
2005-07-13 03:44:38 +00:00
Tony Lambregts
7f49c5055e
Modify the version object to include an array of bugs and use that array when deleting a version
2005-07-13 01:14:53 +00:00
Chris Morgan
6ae3aa98fd
When deleting a version or application the first thing deleted was the version
...
or application. Then each of the sub-objects like comments, notes etc were
deleted. This order is bad because it makes the database inconsistent, we
never want a comment/note/etc for a version that doesn't exist. Delete the
sub objects first and then the parent object.
2005-06-30 01:59:32 +00:00
Chris Morgan
437280be5f
Include the reason text in version added emails so we can see what maintainers
...
say to users when versions are accepted into the database.
2005-06-23 00:34:31 +00:00
Chris Morgan
dc99aaf631
Put some single quotes around application name and version name so they can be distinguished from the rest of the email notification text more easily.
2005-06-19 15:46:57 +00:00
Chris Morgan
81d3db95b8
Add the ability for admins to move a version from one application to another.
...
This is useful when there are duplicate applications and you want to move
versions prior to removing the duplicate app.
2005-06-05 21:26:07 +00:00
Chris Morgan
a80a97db33
Improve mail messages on version description changes and include the note description when sending a
...
node added email
2005-05-27 23:53:26 +00:00
Chris Morgan
f0b02e580e
Don't display the previous release or description in the change output if they are empty strings. This
...
just makes the change output more confusing.
2005-05-11 00:58:58 +00:00
Chris Morgan
d97afaea16
Check for non-empty maintainer ratings, not non-null ones.
2005-05-10 02:48:02 +00:00
Chris Morgan
f0c756e094
If 'replyText' is set when a version is deleted include this in the email to the
...
maintainers list.
2005-05-09 22:14:09 +00:00
WineHQ
8d2792cbd8
If there is no previous rating just print out the rating that the version was changed to
2005-05-09 22:10:51 +00:00
Chris Morgan
44356371ab
Delete maintainers when deleting applications and versions so maintainers aren't
...
orphaned.
2005-05-07 18:45:33 +00:00
Jonathan Ernst
06ea1b6d3d
Security fixes. Ensure that numeric values are actually numeric using is_numeric
...
so users can't login as admin by passing in non-numeric values.
2005-03-23 23:56:38 +00:00
Jonathan Ernst
57223914a0
Fix email sending logic when adding/rejecting applications
2005-02-27 16:45:49 +00:00
Jonathan Ernst
9523066655
Generate a true boolean and not a string so that tests against bqueued don't
...
return true if bqueued="false" instead of false.
2005-02-24 04:49:27 +00:00
Jonathan Ernst
c8a1a0b0df
versions, applications, and screenshots have to be marked queued="false" instead of
...
queued="" when added without being unqueued
2005-02-21 01:37:06 +00:00
Jonathan Ernst
73ad961a85
Fix version deletion
2005-02-19 01:19:07 +00:00
Jonathan Ernst
87153e5400
Better e-mail messages when handling versions
2005-02-19 01:18:31 +00:00
Jonathan Ernst
5c5148534d
Record submitter id when queueing apps
2005-02-17 01:18:13 +00:00
Jonathan Ernst
30f8514840
Fix mail were sent without the name of application or version when a new application or version was added
2005-02-11 01:36:24 +00:00
Jonathan Ernst
d9bf5bc528
Improved version and applicaton class, deletes all linked elements
2005-02-11 01:34:16 +00:00
Jonathan Ernst
9312f6063c
The maintainer rating and tested version were not appearing anymore
2005-02-09 23:57:44 +00:00
Jonathan Ernst
b516f4a78f
- initialize arrays to avoid error messages when arrays are empty
...
- use correct $this->array and not $array in application class
2005-02-09 23:53:25 +00:00
Jonathan Ernst
07dd65d0bc
- appId was not updated correctly
...
- submitterId was not stored
- informs interested people about version modification.
- tell what changed in the email
- get rid of addslashes and use compile_update_string
- delete linked notes on deletion
- delete linked comments on deletion
2005-02-09 23:51:38 +00:00
Jonathan Ernst
e7db4f1cac
Fix unqueueing new versions
2005-02-09 02:17:31 +00:00
Jonathan Ernst
7b12f89abf
- improve application and related classes
...
- use application/version/vendor class in scripts
- don't use a full table for queued appication but only one field in the application and version tables
- simplify the code in many places
2005-02-07 23:21:33 +00:00
Jonathan Ernst
792151c574
- add version and vendor classes
...
- much improved application class (same model as the other new classes I made)
- modified category class
- modified some files to use the new classes and methods
- deletes linked elements on cascade
2005-02-06 17:49:48 +00:00