repo.or.cz
/
reddit.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
CommentJsonTemplate: pull some attributes out into methods
2016-09-14
Brian Simpso
n
C
omment
J
son
T
e
mplate:
pull
some at
t
ributes out into
.
.
.
commit
|
commitdiff
|
tree
2016-09-12
B
ri
a
n Si
m
pson
Chan
g
e
n
ame to archived_slow to indic
a
te s
u
b
r
eddit
.
.
.
commit
|
commitdiff
|
tree
2016-09-12
Brian
S
imps
o
n
Link
.
sort_if
_
suggested:
T
a
ke optional
s
r parameter
commit
|
commitdiff
|
tree
2016-09-12
Brian Simpson
Comment: Add
i
s_
a
r
chi
v
ed() to skip subreddit lookup
.
.
.
commit
|
commitdiff
|
tree
2016-09-12
Brian Simpson
L
i
nk
:
Add is_archived() to sk
i
p
subredd
i
t
l
o
okup when
.
.
.
commit
|
commitdiff
|
tree
2016-09-12
B
r
i
an Simpson
Link: Rename to c
a
n_comm
e
nt_slow
commit
|
commitdiff
|
tree
2016-09-12
Br
i
a
n Simpson
Comme
n
t
.
archive
d
: Always u
s
e sub
r
e
d
dit_slow
commit
|
commitdiff
|
tree
2016-09-12
Brian Simpson
Link
.
arc
h
ived/c
a
n_comment: Always
use subreddit_s
l
ow
commit
|
commitdiff
|
tree
2016-09-12
Bri
a
n
S
i
m
pson
Comment
.
subreddit_
s
low: Always stale and cleanup
commit
|
commitdiff
|
tree
2016-09-12
Brian Simps
o
n
Lin
k
.
s
u
br
e
ddit_
s
low: Use
s
tale lookup
commit
|
commitdiff
|
tree
2016-09-12
Brian
S
im
p
son
valid_password: Han
d
le Va
l
u
eErro
r
raised by bcrypt
.
.
.
commit
|
commitdiff
|
tree
2016-09-12
Brian Simpson
get_tri
m
med_sr_dicts: Us
e
get_sr_u
s
er_relations
commit
|
commitdiff
|
tree
2016-09-12
Bria
n
S
i
m
p
s
on
Move get_s
r
_user_r
e
l
a
tions
o
u
t
of Subreddit
.
add_props
commit
|
commitdiff
|
tree
2016-09-12
Brian
S
im
p
son
Q
u
e
r
yB
u
ilder:
Batch sr_detai
l
con
s
truction
commit
|
commitdiff
|
tree
2016-09-12
Brian Simps
o
n
Replace Tr
i
m
medSubredd
i
t
JsonTemp
l
a
t
e
w
i
t
h get_trimmed
_
sr_dict
commit
|
commitdiff
|
tree
2016-09-12
B
rian Simpson
ListingCo
n
trol
l
e
r: Only build n
e
xt_suggestions_c
l
s
.
.
.
commit
|
commitdiff
|
tree
2016-09-12
Brian Simpso
n
I
n
box
.
get
_
rels: Use _fast
_
q
uer
y
commit
|
commitdiff
|
tree
2016-09-12
Brian Simpson
Inb
o
x:
S
eparate get_rels() and set_unread()
commit
|
commitdiff
|
tree
2016-09-12
Br
i
an
S
impson
q
u
eries
.
s
et_unread: Separat
e
Subreddit a
n
d Account
.
.
.
commit
|
commitdiff
|
tree
2016-09-12
Brian Simpson
Inbox: A
s
sert the relation na
m
e is valid
commit
|
commitdiff
|
tree
2016-09-12
Brian Simpson
Inbox
.
set_unrea
d
:
"
to" argument is not optional
commit
|
commitdiff
|
tree
2016-09-12
Brian Simpson
Delete
o
b
s
olete
m
igrate
.
upgrade_mess
a
g
e
s()
commit
|
commitdiff
|
tree
2016-09-12
Br
i
an
S
impson
ModeratorInbox: Th
e
r
e
lation name can only be "inbox"
commit
|
commitdiff
|
tree
2016-09-12
Brian Simpson
Inbox/Mo
d
eratorInbox: D
e
fault new to T
r
ue
commit
|
commitdiff
|
tree
2016-08-31
Br
i
an Simpson
U
s
e
"
clouds
e
arch_change
s
" name for que
u
e
proce
s
sor
.
.
.
commit
|
commitdiff
|
tree
2016-08-30
Brian Simpson
Per
m
a
l
in
k
Commen
t
Orde
r
er: handle ance
s
to
r
missing fro
m
.
.
.
commit
|
commitdiff
|
tree
2016-08-23
Bri
a
n Simpson
Use
I
PNetworkLiveList for g
.
thro
t
tles
commit
|
commitdiff
|
tree
2016-08-23
Bri
a
n Sim
p
son
zooke
e
per: Add ReducedLi
v
eLi
s
t
and
IP
N
et
w
orkLiveList
commit
|
commitdiff
|
tree
2016-08-17
Brian Simpson
Use mcrouter f
o
r
r
a
telimitca
c
h
e
commit
|
commitdiff
|
tree
2016-08-17
Brian Simpson
rateli
m
it: Ensure keys set
t
o
rate
l
i
mitcache have
.
.
.
commit
|
commitdiff
|
tree
2016-08-16
Brian Simpson
cache: Delete unused
m
ake
_
ke
y
()
commit
|
commitdiff
|
tree
2016-08-16
B
r
i
a
n
Simpson
memoiz
e
: St
o
p
w
riting to ol
d
k
e
y/o
l
d pool
commit
|
commitdiff
|
tree
2016-08-16
Brian Simpson
memo
i
ze: Read from new
key/new pool
commit
|
commitdiff
|
tree
2016-08-16
Brian Simpson
promote_test: P
a
tch memoizecache
commit
|
commitdiff
|
tree
2016-08-16
Brian S
i
mps
o
n
memoize: Don
'
t
set module level memoizecach
e
, j
u
s
t
.
.
.
commit
|
commitdiff
|
tree
2016-08-16
Bria
n
Simpson
tests: Patch m
e
moizec
a
che
commit
|
commitdiff
|
tree
2016-08-16
Brian Simpson
memoize: Dual writ
e
to new mcrou
t
er
p
o
ol
commit
|
commitdiff
|
tree
2016-08-16
Brian
S
i
mpson
popular_searches: Use sta
l
e
cache
fo
r
memoized r
e
sults
commit
|
commitdiff
|
tree
2016-08-16
Brian Simpson
Re
g
i
s
trationI
n
fo
:
U
se stalecache for me
m
oized html
.
.
.
commit
|
commitdiff
|
tree
2016-08-11
B
r
ian S
i
mps
o
n
Comm
e
nt
T
ree
.
add_comments: Ad
d
orphaned comments t
o
.
.
.
commit
|
commitdiff
|
tree
2016-08-11
B
rian Simpson
Refactor
Commen
t
T
r
ee
to
i
solate locking an
d
s
i
m
plify
.
.
.
commit
|
commitdiff
|
tree
2016-08-11
Brian S
i
m
p
so
n
add_comments:
D
on't
r
aise InconsistentComm
e
ntT
r
eeError
commit
|
commitdiff
|
tree
2016-08-11
Brian Simpso
n
a
dd_comments: Don't
use m
u
tation lock around wri
t
e_comment_o
.
.
.
commit
|
commitdiff
|
tree
2016-08-11
Brian
S
impson
Remove supp
o
rt for
d
ifferent
c
omme
n
t t
r
ee vers
i
ons
commit
|
commitdiff
|
tree
2016-08-09
Brian Simpson
R
elation: Reduce _c
a
che_ttl to 1 hour
commit
|
commitdiff
|
tree
2016-08-09
Brian Simpson
Relati
o
n: Reduce _rel_cache_ttl to 1 hr
commit
|
commitdiff
|
tree
2016-08-09
Brian
S
impso
n
Subre
d
d
i
t
.
_
by_name: Set
1
h
o
u
r cac
h
e TTL
commit
|
commitdiff
|
tree
2016-07-28
Brian
Simpson
S
ubreddi
t
.
_b
y
_name: Handle UnicodeEncod
e
Err
o
r
commit
|
commitdiff
|
tree
2016-07-22
Brian Sim
p
son
ad
d
_
comments: Don't exit imme
d
iately on Inconsi
s
tentCommentT
.
.
.
commit
|
commitdiff
|
tree
2016-07-19
Br
i
an Simpson
Relatio
n
.
_fast_query: Ig
n
ore cache e
r
ro
r
s
o
n sgm
s
et
commit
|
commitdiff
|
tree
2016-07-18
Brian Simpson
R
e
lat
i
on
.
_rel_cache: Use a 12 hour TTL
commit
|
commitdiff
|
tree
2016-07-18
Brian Simpson
example
.
i
n
i: Remove un
u
s
e
d c
a
ches
commit
|
commitdiff
|
tree
2016-07-18
B
r
ian Simpson
Use
m
c
router for relcache and
srmemberca
c
he
commit
|
commitdiff
|
tree
2016-07-18
Brian
S
impson
SRMembe
r
:
se
t
_c
a
che_prefix an
d
_rel_
c
ache_prefix
commit
|
commitdiff
|
tree
2016-07-18
Brian Sim
p
son
Relatio
n
: rename _f
a
s
t_cache
to _rel_cache
commit
|
commitdiff
|
tree
2016-07-18
Brian Simpson
Relation:
Re
f
actor _fast_cach
e
_key
to use a prefix
commit
|
commitdiff
|
tree
2016-07-18
Bri
a
n Simpson
Trophy: Di
s
able _fas
t
_query
commit
|
commitdiff
|
tree
2016-07-18
Brian Simpson
Relati
o
n: Allow optional disabling of _fast
_
query
commit
|
commitdiff
|
tree
2016-07-18
Brian Simpson
BaseCo
n
t
r
olle
r
: bette
r
s
eparate a
n
d docu
m
ent __before__
.
.
.
commit
|
commitdiff
|
tree
2016-07-15
Br
i
an Simpson
Su
b
reddit
.
_
b
y
_name: Use set rather than add
w
h
en populatin
g
.
.
.
commit
|
commitdiff
|
tree
2016-07-13
Brian Si
m
pson
CMemcache: R
e
move size
v
alidators
commit
|
commitdiff
|
tree
2016-07-12
B
r
ian
S
imps
o
n
Use multiple
c
li
e
nts for mcro
u
te
r
commit
|
commitdiff
|
tree
2016-07-11
B
r
ian Simps
o
n
Th
i
n
g: Remove record_l
o
okup
commit
|
commitdiff
|
tree
2016-07-11
B
r
ian Simpson
RedditCont
r
ollerTestCase: Don't
patch nonex
i
stent g
.
.
.
commit
|
commitdiff
|
tree
2016-07-11
Brian Simp
s
on
TransitionalCache: Remove me
n
tion of g
.
cache
commit
|
commitdiff
|
tree
2016-07-11
Brian Simpson
R
emove g
.
c
a
c
h
e
commit
|
commitdiff
|
tree
2016-07-11
Brian Simpson
cache: Update old t
e
st to use g
.
g
e
ncache ins
t
ead o
f
.
.
.
commit
|
commitdiff
|
tree
2016-07-11
Brian
S
impson
T
hing: All
subclasses mu
s
t set the
_
cache attr
i
bute
commit
|
commitdiff
|
tree
2016-07-11
Brian Simpson
emr_t
r
affic: Don't check existi
n
g cluster's boot
s
trap
.
.
.
commit
|
commitdiff
|
tree
2016-07-06
Brian
Simp
s
on
Use sta
l
ecache for "all:rising" key
commit
|
commitdiff
|
tree
2016-07-06
Brian Simpson
rising: Change the "all" key to work wi
t
h replicated
.
.
.
commit
|
commitdiff
|
tree
2016-07-05
Br
i
an Simpson
emr_helpers:
Don't con
v
ert date
stri
n
g t
o
d
a
tetime
commit
|
commitdiff
|
tree
2016-07-05
Brian Simpson
Locali
z
edSubreddits:
I
gnore memcache erro
r
s
commit
|
commitdiff
|
tree
2016-07-05
Brian S
i
mp
s
on
ge
o
ip: Igno
r
e memc
a
c
h
e errors
commit
|
commitdiff
|
tree
2016-07-05
Brian Sim
p
son
sgm: Optional
l
y ignore errors on set
commit
|
commitdiff
|
tree
2016-07-05
Brian Simpson
Subreddit
.
_by_name: Ig
n
ore
e
rrors o
n
popu
l
a
t
ing the
.
.
.
commit
|
commitdiff
|
tree
2016-07-05
Bria
n
Simpso
n
I
m
port sgm fr
o
m
its own module,
not fr
o
m
r
2
.
li
b
.
ca
c
h
e
commit
|
commitdiff
|
tree
2016-06-21
Brian Simp
s
on
Query: move caching to g
.
g
enc
a
c
he
a
n
d
mak
e
key human
.
.
.
commit
|
commitdiff
|
tree
2016-06-21
B
r
ian Sim
p
son
CachedR
e
sults: implem
e
nt g
e
t_query_iden() to not rely
.
.
.
commit
|
commitdiff
|
tree
2016-06-21
Brian Si
m
p
so
n
MultiQuery
:
Remove caching
commit
|
commitdiff
|
tree
2016-06-20
Brian
S
impson
LocalizedSubreddits: Us
e
g
.
gencache
commit
|
commitdiff
|
tree
2016-06-20
Brian Simpson
S
ubr
e
ddit
.
_by_name: Use g
.
g
e
n
c
ac
h
e
commit
|
commitdiff
|
tree
2016-06-20
Bria
n
S
i
mpson
rising: Use g
.
g
e
n
cache
commit
|
commitdiff
|
tree
2016-06-20
Bri
a
n Simpson
promote: U
s
e g
.
gencac
h
e
commit
|
commitdiff
|
tree
2016-06-20
Brian
S
im
p
so
n
geo
i
p
:
Us
e
g
.
g
e
nca
c
he
commit
|
commitdiff
|
tree
2016-06-20
B
rian Simpson
vo
t
ing: Use g
.
gencache for queued votes
commit
|
commitdiff
|
tree
2016-06-20
Brian Simpson
captch
a
: Store solutions in g
.
g
encache
commit
|
commitdiff
|
tree
2016-06-20
B
rian Simpson
VOneTi
m
e
P
asswo
r
d:
U
se g
.
gencach
e
to c
h
eck
f
o
r code
.
.
.
commit
|
commitdiff
|
tree
2016-06-20
B
rian Simpson
a
p
i: Us
e
g
.
ge
n
cache
for storing otp
se
c
re
t
commit
|
commitdiff
|
tree
2016-06-20
Brian Si
m
pso
n
Add g
.
g
encache for moving keys to mcrouter but still
.
.
.
commit
|
commitdiff
|
tree
2016-06-15
Brian
Simp
s
on
TryLa
t
e
r: r
e
ady_it
e
m
s key should be th
e
origina
l
uuid
.
.
.
commit
|
commitdiff
|
tree
2016-06-15
Brian Simpson
Modac
t
ion
.
create: Don't pass request o
r
c to mod_event
.
.
.
commit
|
commitdiff
|
tree
2016-06-15
Brian Simpson
TryL
a
ter
.
run: Make a copy of the all_hooks it
e
m
s
to
.
.
.
commit
|
commitdiff
|
tree
2016-06-15
Brian Simp
s
on
Tr
y
Later: Att
e
m
p
t row/timesta
m
p
d
e
lete to avoid
g
enera
t
in
g
.
.
.
commit
|
commitdiff
|
tree
2016-06-15
B
rian
S
i
m
pson
Try
L
ater: move all pro
c
essing and
c
l
eanup into clas
s
.
.
.
commit
|
commitdiff
|
tree
2016-06-15
Brian Simpson
TryLa
t
er: Use xget to process ALL ready items
commit
|
commitdiff
|
tree
2016-06-15
Brian
Si
m
pson
run_trylater: Flush the stats
commit
|
commitdiff
|
tree
2016-06-15
B
rian
Simpson
TryLater: Add stats for n
u
mber
o
f
r
eady items
commit
|
commitdiff
|
tree
2016-06-15
Brian Si
m
pson
TryLater
.
mult
i
_h
a
ndle: Doc
u
ment co
n
text
manager
m
agic
commit
|
commitdiff
|
tree
2016-06-15
Brian Simpson
V
O
neT
i
mePassword: Change name to o
t
p_rat
e
l
imit to avoid
.
.
.
commit
|
commitdiff
|
tree
next