الفرق بين المراجعتين لصفحة «تصميم:دواسوا/workflow»
(مبدئيا) |
(requesting user listings and removing listings) |
||
| (3 مراجعات متوسطة بواسطة نفس المستخدم غير معروضة) | |||
| سطر 1: | سطر 1: | ||
<div dir="ltr" style="direction: ltr;"> | <div dir="ltr" style="direction: ltr;"> | ||
== Insertion request == | == Insertion request == | ||
| − | + | When user [[#Listing instatement|submits an item to be listed]], it is kept in pending queue until the submission is verified by the user. For the submission request to be accepted the remaining time until the expiry date entered has to be greater than or equal to the value set by the configuration variable <var>[[../configuration variables#expiry-acceptance-threshold|expiry-acceptance-threshold]]</var>. | |
| − | Initiated by a [[../واجهة برمجة التطبيقات#request_insertion| | + | The purpose of verification is to: 1) verify the email address entered with the listing's information, since it is the user's identifier and contact method; and 2) to prevent accidental submissions and spam. A method to exclude robots could also be implemented as the final step of the submission form on the web. |
| + | |||
| + | The verification is completed via and a [[../رسائل البريد#listing confirmation request|message sent to the email address]] entered with the submission containing a URL that must be followed by the user. The URL sent in the email message includes a [[../cryptographic token|cryptographic token]] that uniquely identifies this request. | ||
| + | |||
| + | If the insertion is not concluded within the duration specified via the <var>[[../configuration variables#insertion-confirmation-grace|insertion-confirmation-grace]]</var> configuration variable, the listing is removed from the database into the [[../data#archive|archive]] with a <var>[[../data#archive|removal-reason]]</var> of <kbd>unconfirmed</kbd> | ||
| + | |||
| + | Initiated by a <code>[[../واجهة برمجة التطبيقات#request_insertion|request_insertion]]</code> API call. | ||
== Listing instatement == | == Listing instatement == | ||
| − | + | The final insertion into the service's listing is concluded after the user follows a URL [[../رسائل البريد#listing confirmation|sent to the email address]] specified in the request. [[#Insertion request|Before that]] it is kept in the pending queue following its [[#Insertion request|submission to the system]]. | |
| + | |||
| + | |||
| + | == Removal of listings== | ||
| + | Removal from the service's listings can happen either because of the [[#removal due to expiry|expiry of the package]], or due to a [[#removal due to user request|request by the user]], either because it's been given away, or another reason. | ||
| + | |||
| + | === removal due to expiry === | ||
| + | Batch removal of expired packages is achieved to the periodical execution of a task which compares package expiry dates to a value derived from the current date minus a the value set by <var>[[../configuration variables#expiry-removal-threshold|expiry-removal-threshold]]</var> where entries having an expiry date greater than or equal to the threshold are removed to the [[../data#archive|archive]] with <var>[[../data#archive|removal-reason]]</var> of <kbd>expired</kbd>. | ||
| + | |||
| + | === removal due to user request === | ||
| + | A user can request the removal of an entry from the listings by requesting so via following a URL containing a [[../cryptographic token|cryptographic token]] uniquely identifying the item. This token is displayed to the user for each of the items he manages upon [[#inquiring user listings|inquiring the entries associated with a given email]] address. | ||
| + | |||
| + | Upon confirmation by the user for the removal request, the listing information is removed to the [[../data#archive|archive]] with a <var>[[../data#archive|removal-reason]]</var> of <kbd>removed-by-user</kbd> | ||
| + | This type of removal is initiated by a <code>[[../واجهة برمجة التطبيقات#remove_listing|remove_listing]]</code> API call. | ||
| − | |||
| + | == Inquiring user listings == | ||
| + | A user can instruct the system to send to an email address a message containing a link to the listings associated with that email address. The link is comprised of the email address and a cryptographix token. Following the link leads to a listing on the web similar to that of the search results where it is possible to [[#removal due to user request|request the removal]] of individual listings. | ||
| + | This action is initiated by a <code>[[../واجهة برمجة التطبيقات#request_user_listings|get_user_listings]]</code> API call. | ||
</div> | </div> | ||
المراجعة الحالية بتاريخ 23:18، 28 يناير 2017
Insertion request
When user submits an item to be listed, it is kept in pending queue until the submission is verified by the user. For the submission request to be accepted the remaining time until the expiry date entered has to be greater than or equal to the value set by the configuration variable expiry-acceptance-threshold.
The purpose of verification is to: 1) verify the email address entered with the listing's information, since it is the user's identifier and contact method; and 2) to prevent accidental submissions and spam. A method to exclude robots could also be implemented as the final step of the submission form on the web.
The verification is completed via and a message sent to the email address entered with the submission containing a URL that must be followed by the user. The URL sent in the email message includes a cryptographic token that uniquely identifies this request.
If the insertion is not concluded within the duration specified via the insertion-confirmation-grace configuration variable, the listing is removed from the database into the archive with a removal-reason of unconfirmed
Initiated by a request_insertion API call.
Listing instatement
The final insertion into the service's listing is concluded after the user follows a URL sent to the email address specified in the request. Before that it is kept in the pending queue following its submission to the system.
Removal of listings
Removal from the service's listings can happen either because of the expiry of the package, or due to a request by the user, either because it's been given away, or another reason.
removal due to expiry
Batch removal of expired packages is achieved to the periodical execution of a task which compares package expiry dates to a value derived from the current date minus a the value set by expiry-removal-threshold where entries having an expiry date greater than or equal to the threshold are removed to the archive with removal-reason of expired.
removal due to user request
A user can request the removal of an entry from the listings by requesting so via following a URL containing a cryptographic token uniquely identifying the item. This token is displayed to the user for each of the items he manages upon inquiring the entries associated with a given email address.
Upon confirmation by the user for the removal request, the listing information is removed to the archive with a removal-reason of removed-by-user
This type of removal is initiated by a remove_listing API call.
Inquiring user listings
A user can instruct the system to send to an email address a message containing a link to the listings associated with that email address. The link is comprised of the email address and a cryptographix token. Following the link leads to a listing on the web similar to that of the search results where it is possible to request the removal of individual listings.
This action is initiated by a get_user_listings API call.