filtertype="&filtertype=$_REF[\"filtertype\"]"
order="&order=$_REF[\"order\"]"
-uid=$(dbus-uuidgen)
+uid=$(uuidgenerator)
card="${uid}.vcf"
tempfile="$_DATA/temp/$card"
cgi_post
-uid=$(dbus-uuidgen)
+uid=$(uuidgenerator)
course="${uid}.ics"
tzid=$(cat /etc/timezone)
# along with Confetti. If not, see <http://www.gnu.org/licenses/>.
VCF_FIELDS=(PHOTO LOGO FN NICKNAME SOUND GENDER KIND TITLE ROLE ORG MEMBER CATEGORIES ANNIVERSARY BDAY EMAIL TEL IMPP ADR URL LANG NOTE RELATED X-ZACK-JOINDATE X-ZACK-LEAVEDATE)
+
+uuidgenerator(){
+ head -c16 /dev/urandom |sha1sum - |cut -c1-32
+}
SUP_FIELDS=(N NICKNAME GENDER BDAY X-ZACK-JOINDATE X-ZACK-LEAVEDATE EMAIL TEL IMPP ADR URL NOTE)
-[ -z "$values[UID]" ] && values[UID]="$(dbus-uuidgen)"
+[ -z "$values[UID]" ] && values[UID]="$(uuidgenerator)"
echo '<div id="'${id}'" class="card">'
echo '<form action="?action=update_attendee" method="POST">'
# along with Confetti. If not, see <http://www.gnu.org/licenses/>.
SUP_FIELDS=(SUMMARY COMMENT)
-[ -z "$values[UID]" ] && values[UID]="$(dbus-uuidgen)"
+[ -z "$values[UID]" ] && values[UID]="$(uuidgenerator)"
dtstart="$values[DTSTART]"
[ -z "$dtstart" ] && dtstart=$(date +%Y%m%dT%H%M%S)