49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
@ -- a - Announcements
@ -- c - Check-ins
@ -- f - Forum posts
@ -- k - ** Special: Unsubscribed using /oneclickunsub
@ -- n - New forum threads
@ -- r - Replies to my own forum posts
@ -- t - Ticket changes
@ -- u - Elevation of users' permissions (admins only)
@ -- w - Wiki changes
@ -- x - Edits to forum posts
@ -- Probably different codes will be added in the future. In the future
@ -- we might also add a separate table that allows subscribing to email
@ -- notifications for specific branches or tags or tickets.
@ --
@ CREATE TABLE repository.subscriber(
|
|
|
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
@ -- a - Announcements
@ -- c - Check-ins
@ -- f - Forum posts
@ -- k - ** Special: Unsubscribed using /oneclickunsub
@ -- n - New forum threads
@ -- r - Replies to my own forum posts
@ -- t - Ticket changes
@ -- u - Potential elevation of users' permissions (admins only)
@ -- w - Wiki changes
@ -- x - Edits to forum posts
@ -- Probably different codes will be added in the future. In the future
@ -- we might also add a separate table that allows subscribing to email
@ -- notifications for specific branches or tags or tickets.
@ --
@ CREATE TABLE repository.subscriber(
|
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
|
}
if( g.perm.RdWiki ){
@ <label><input type="checkbox" name="sw" %s(PCK("sw"))> \
@ Wiki</label><br>
}
if( g.perm.Admin ){
@ <label><input type="checkbox" name="su" %s(PCK("su"))> \
@ User permission elevation</label>
}
di = PB("di");
@ </td></tr>
@ <tr>
@ <td class="form_label">Delivery:</td>
@ <td><select size="1" name="di">
@ <option value="0" %s(di?"":"selected")>Individual Emails</option>
|
|
|
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
|
}
if( g.perm.RdWiki ){
@ <label><input type="checkbox" name="sw" %s(PCK("sw"))> \
@ Wiki</label><br>
}
if( g.perm.Admin ){
@ <label><input type="checkbox" name="su" %s(PCK("su"))> \
@ User permission additions</label>
}
di = PB("di");
@ </td></tr>
@ <tr>
@ <td class="form_label">Delivery:</td>
@ <td><select size="1" name="di">
@ <option value="0" %s(di?"":"selected")>Individual Emails</option>
|
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
|
}
if( g.perm.Admin ){
/* Corner-case bug: if an admin assigns 'u' to a non-admin, that
** subscription will get removed if the user later edits their
** subscriptions, as non-admins are not permitted to add that
** subscription. */
@ <label><input type="checkbox" name="su" %s(su?"checked":"")>\
@ User permission elevation</label>
}
@ </td></tr>
if( strchr(ssub,'k')!=0 ){
@ <tr><td></td><td> ↑
@ Note: User did a one-click unsubscribe</td></tr>
}
@ <tr>
|
|
|
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
|
}
if( g.perm.Admin ){
/* Corner-case bug: if an admin assigns 'u' to a non-admin, that
** subscription will get removed if the user later edits their
** subscriptions, as non-admins are not permitted to add that
** subscription. */
@ <label><input type="checkbox" name="su" %s(su?"checked":"")>\
@ User permission additions</label>
}
@ </td></tr>
if( strchr(ssub,'k')!=0 ){
@ <tr><td></td><td> ↑
@ Note: User did a one-click unsubscribe</td></tr>
}
@ <tr>
|