Software /
code /
prosody
Annotate
spec/scansion/empty_bookmarks.scs @ 13262:9a86e7cbdd79
mod_storage_internal: Fix fast trimming of archive with exactly one item
This method would previously never delete the first (and only) item
since it works out which item should become the first item after the
trim operation, which doesn't make sense when all should be removed.
This also works as an optimization for when all the last item should be
trimmed, thus items should be removed.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 24 Sep 2023 13:41:54 +0200 |
parent | 12593:1832b6c9c6ed |
rev | line source |
---|---|
12593
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 # mod_scansion_record on host 'localhost' recording started 2022-07-26T21:39:55Z |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 [Client] Romeo |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
4 password: password |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
5 jid: juliet@localhost/UaksS4M1xYZB |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
6 |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
7 ----- |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
8 |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
9 Romeo connects |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
10 |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
11 Romeo sends: |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
12 <iq xml:lang='en' type='get' id='bNBJLtpIJXpq'> |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
13 <pubsub xmlns='http://jabber.org/protocol/pubsub'> |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
14 <items node='storage:bookmarks'/> |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
15 </pubsub> |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
16 </iq> |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
17 |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
18 Romeo receives: |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
19 <iq id='bNBJLtpIJXpq' type='error'> |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
20 <error type='cancel'> |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
21 <item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/> |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
22 </error> |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
23 </iq> |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
24 |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
25 Romeo disconnects |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
26 |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
27 # recording ended on 2022-07-26T21:40:45Z |