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
wrapped: Use correct cache key when in the parent template
2016-09-26
B
rian Simpson
wrapp
e
d:
U
se correct cache key when in the parent template
commit
|
commitdiff
|
tree
2016-09-21
B
r
ian Simpson
Templated: Co
l
lect
t
i
m
i
ngs
on rendering
commit
|
commitdiff
|
tree
2016-09-21
Brian Simps
o
n
Templated: Rem
o
ve unpublis
h
ed timer in _rend
e
r()
commit
|
commitdiff
|
tree
2016-09-21
Brian Simp
s
on
Template
d
: Remov
e
t
imer for g
.
ti
m
e
d
_templates
commit
|
commitdiff
|
tree
2016-09-21
Brian Simpson
M
inimalContro
l
l
e
r:
S
t
op logging useragent str
i
ng o
n
.
.
.
commit
|
commitdiff
|
tree
2016-09-20
Brian
S
impson
F
a
stlyCdnPro
v
i
d
er
:
I
mplement get_client_ip
and ge
t
_
c
lient_lo
.
.
.
commit
|
commitdiff
|
tree
2016-09-14
Bria
n
Simpson
OA
u
th2A
c
cessControl
l
er
:
return 403 if g
.
disal
l
ow_db_writes
commit
|
commitdiff
|
tree
2016-09-14
Bri
a
n Sim
p
s
o
n
T
h
ingJs
o
nT
e
mplate:
Remove a
t
tribu
t
es only for Link
.
.
.
commit
|
commitdiff
|
tree
2016-09-14
Brian Sim
p
son
U
se faster ThingTemplate for L
i
nkJsonTemplate
commit
|
commitdiff
|
tree
2016-09-14
Brian Simpso
n
Lin
k
Js
o
n
T
emplat
e
: fixups
commit
|
commitdiff
|
tree
2016-09-14
Bria
n
Simpson
CommentJsonTemplate: pull some at
t
r
ibutes out into
.
.
.
commit
|
commitdiff
|
tree
2016-09-12
Brian Simp
s
o
n
Chan
g
e na
m
e
t
o
archived_sl
o
w
t
o indica
t
e
s
ubreddi
t
.
.
.
commit
|
commitdiff
|
tree
2016-09-12
B
r
ian
Simpson
Link
.
s
ort_if_sugg
e
sted: Take opti
o
nal sr
p
arame
t
er
commit
|
commitdiff
|
tree
2016-09-12
Br
i
an Simpson
Commen
t
:
Add is_archive
d
() to skip subreddit
l
o
okup
.
.
.
commit
|
commitdiff
|
tree
2016-09-12
Brian Si
m
p
son
Link: Ad
d
is_arch
i
ve
d
() to
ski
p
subr
e
ddit
l
ookup w
h
en
.
.
.
commit
|
commitdiff
|
tree
2016-09-12
Brian Simpson
Link: R
e
name to
c
an_comment_slow
commit
|
commitdiff
|
tree
2016-09-12
Bri
a
n Si
m
pson
Comment
.
ar
c
hived: A
l
ways u
s
e subreddit_sl
o
w
commit
|
commitdiff
|
tree
2016-09-12
Brian Simp
s
on
Link
.
archived/can_c
o
mm
e
nt:
A
l
ways use subreddit_slow
commit
|
commitdiff
|
tree
2016-09-12
Brian Simps
o
n
Comment
.
subredd
i
t
_
slow: Always
stale and
clea
n
up
commit
|
commitdiff
|
tree
2016-09-12
Brian Sim
p
son
Link
.
subredd
i
t_slow: Use stale lookup
commit
|
commitdiff
|
tree
2016-09-12
Bria
n
Simpson
valid_pas
s
word: Handle ValueError rai
s
ed by bcry
p
t
.
.
.
commit
|
commitdiff
|
tree
2016-09-12
B
r
i
an
S
imps
o
n
get_trimmed_sr_d
i
cts:
U
se get_sr
_
user_
r
elati
o
ns
commit
|
commitdiff
|
tree
2016-09-12
Brian Simpson
Move get_sr_user_re
l
ations out of Subr
e
ddit
.
add_props
commit
|
commitdiff
|
tree
2016-09-12
Brian Simp
s
on
QueryBuil
d
er
:
Batch sr_detail construction
commit
|
commitdiff
|
tree
2016-09-12
Bri
a
n
S
impson
R
eplace
T
rimmedSubreddi
t
Jso
n
Template
w
i
th get_trimmed_sr_di
c
t
commit
|
commitdiff
|
tree
2016-09-12
Brian Sim
p
son
L
i
stingC
o
ntroller:
On
l
y build next_su
g
gestions_cls
.
.
.
commit
|
commitdiff
|
tree
2016-09-12
B
rian Si
m
pson
Inbox
.
get_rels
:
Use _fast_query
commit
|
commitdiff
|
tree
2016-09-12
B
r
ian Simp
s
on
Inbox
:
Separate get_r
e
ls() a
n
d
s
et_unread()
commit
|
commitdiff
|
tree
2016-09-12
Br
i
an Simpson
queries
.
set_unrea
d
: Separate Subreddit and Account
.
.
.
commit
|
commitdiff
|
tree
2016-09-12
Brian Simpson
Inbox: Asser
t
the relati
o
n name
is valid
commit
|
commitdiff
|
tree
2016-09-12
Brian
S
impson
I
n
b
ox
.
set_
u
nread: "to" argument
is not optional
commit
|
commitdiff
|
tree
2016-09-12
Brian Simps
o
n
Delete
obsolete migrate
.
u
p
g
r
ade_mess
a
g
es
(
)
commit
|
commitdiff
|
tree
2016-09-12
Brian Sim
p
s
on
Modera
t
orInbox
:
The r
e
lation name
c
an o
n
ly be "inbox"
commit
|
commitdiff
|
tree
2016-09-12
Brian Simpson
Inbox
/
M
oderatorInbox: D
e
faul
t
ne
w
to Tru
e
commit
|
commitdiff
|
tree
2016-08-31
Brian Simp
s
on
Use "
c
loudsearch
_
ch
a
nges" name fo
r
queue proces
s
or
.
.
.
commit
|
commitdiff
|
tree
2016-08-30
B
rian
S
impson
Permalin
k
CommentOrdere
r
: handle anc
e
stor
m
is
s
ing from
.
.
.
commit
|
commitdiff
|
tree
2016-08-23
Brian Simpson
Use IPNetworkLiveList for g
.
th
r
ottles
commit
|
commitdiff
|
tree
2016-08-23
Brian S
i
mpson
zookeepe
r
: A
d
d
R
educedLiveLis
t
an
d
I
P
Netw
o
rkLiveList
commit
|
commitdiff
|
tree
2016-08-17
Brian Simpson
Use mcrout
e
r for ratelimitcache
commit
|
commitdiff
|
tree
2016-08-17
Brian Simpson
r
atelimit: Ensure keys
set to ratelimitc
a
che have
.
.
.
commit
|
commitdiff
|
tree
2016-08-16
Bri
a
n
Sim
p
s
on
cache
:
Delete unuse
d
make
_
key()
commit
|
commitdiff
|
tree
2016-08-16
Brian Sim
p
son
memoize: Stop writing to old
key/old
pool
commit
|
commitdiff
|
tree
2016-08-16
B
rian Simpson
memoize
:
R
e
ad
f
rom
new key/new
p
ool
commit
|
commitdiff
|
tree
2016-08-16
Brian
Simpson
promot
e
_
test
:
P
a
tch m
e
m
oizecache
commit
|
commitdiff
|
tree
2016-08-16
Brian Simpso
n
memoize:
Don'
t
set m
o
dule
level memo
i
zecache, ju
s
t
.
.
.
commit
|
commitdiff
|
tree
2016-08-16
Brian Simpson
te
s
ts: Patch memoizecache
commit
|
commitdiff
|
tree
2016-08-16
B
rian
Sim
p
son
memoize:
D
ua
l
write to new mcrouter pool
commit
|
commitdiff
|
tree
2016-08-16
Brian
S
impson
popular_
s
earches: Use
s
ta
l
ecache for memoi
z
ed results
commit
|
commitdiff
|
tree
2016-08-16
Br
i
an
S
i
m
ps
o
n
Registrat
i
onInfo: Use stalecache
f
o
r memoized html
.
.
.
commit
|
commitdiff
|
tree
2016-08-11
Brian Simpson
C
o
m
m
entTree
.
ad
d
_c
o
mments: Add orphan
e
d
com
m
ents to
.
.
.
commit
|
commitdiff
|
tree
2016-08-11
Brian Simps
o
n
Refactor Comment
T
ree to
isolate locking and simplify
.
.
.
commit
|
commitdiff
|
tree
2016-08-11
Brian Si
m
pson
add_comment
s
: Don't raise Incon
s
istentCommentTreeError
commit
|
commitdiff
|
tree
2016-08-11
Bria
n
Simpson
add_comments: Don't use m
u
tation lock a
r
ound write_com
m
en
t
_o
.
.
.
commit
|
commitdiff
|
tree
2016-08-11
Bria
n
Simpson
R
emove su
p
port
for different comment
t
re
e
v
e
r
s
ions
commit
|
commitdiff
|
tree
2016-08-09
B
r
ian
S
impson
Rel
a
tion: R
e
d
u
ce _cache_ttl to
1 hour
commit
|
commitdiff
|
tree
2016-08-09
Br
i
an Simpson
Relation: R
e
duce _rel_cache_ttl to 1 hr
commit
|
commitdiff
|
tree
2016-08-09
B
r
ian Simpson
Subreddit
.
_by_nam
e
: Set
1
hour ca
c
he
T
TL
commit
|
commitdiff
|
tree
2016-07-28
Bri
a
n Simpson
Subreddit
.
_by_n
a
me:
H
andle
U
nicod
e
E
n
co
d
eErro
r
commit
|
commitdiff
|
tree
2016-07-22
Brian Simpson
a
dd_
c
omments: Don't exit immedia
t
ely
o
n
I
nc
o
nsistentCommen
t
T
.
.
.
commit
|
commitdiff
|
tree
2016-07-19
Brian
S
i
mpson
Relat
i
on
.
_
f
as
t
_query: I
g
nore cache erro
r
s
on s
g
m set
commit
|
commitdiff
|
tree
2016-07-18
Bria
n
Simp
s
o
n
Rela
t
io
n
.
_
r
e
l
_cache: Use a 12
h
ou
r
T
TL
commit
|
commitdiff
|
tree
2016-07-18
Brian
Simpson
example
.
i
ni: R
e
move unus
e
d ca
c
hes
commit
|
commitdiff
|
tree
2016-07-18
Brian
Simpson
Use mcrout
e
r for r
e
lcache and
srmembercache
commit
|
commitdiff
|
tree
2016-07-18
B
rian Simpson
S
RMe
m
ber: set _cache_prefix
a
n
d _rel_cache_prefix
commit
|
commitdiff
|
tree
2016-07-18
Brian Simpson
Relati
o
n: ren
a
me _fast_
c
ache to _rel_c
a
che
commit
|
commitdiff
|
tree
2016-07-18
Brian Si
m
pson
Relation: Refactor _fast_cache_key to use a p
r
ef
i
x
commit
|
commitdiff
|
tree
2016-07-18
Brian
S
impson
Trophy:
D
isab
l
e _fa
s
t_q
u
ery
commit
|
commitdiff
|
tree
2016-07-18
B
r
ian Simps
o
n
Re
l
ation: Allow
optional disabling of _fast_query
commit
|
commitdiff
|
tree
2016-07-18
Bria
n
Simpson
Ba
s
eContr
o
l
l
e
r: better separate and document __before__
.
.
.
commit
|
commitdiff
|
tree
2016-07-15
Brian
Simpson
Subreddit
.
_
b
y_name: Use
set rather than add whe
n
popul
a
tin
g
.
.
.
commit
|
commitdiff
|
tree
2016-07-13
B
rian Simp
s
o
n
CM
e
mcache:
Remove size validator
s
commit
|
commitdiff
|
tree
2016-07-12
Brian
Simp
s
on
Use multipl
e
client
s
for mcrout
e
r
commit
|
commitdiff
|
tree
2016-07-11
Brian Simps
o
n
Thing: Remo
v
e r
e
cord_lookup
commit
|
commitdiff
|
tree
2016-07-11
Brian Simpson
Redd
i
tCon
t
rollerT
e
stCase: Don't patch n
o
nexi
s
ten
t
g
.
.
.
commit
|
commitdiff
|
tree
2016-07-11
B
r
ian
S
i
mpson
Transi
t
i
ona
l
Ca
c
he:
Remove mention of g
.
cach
e
commit
|
commitdiff
|
tree
2016-07-11
Brian Simps
o
n
R
e
move g
.
cache
commit
|
commitdiff
|
tree
2016-07-11
Brian Simpson
cache
:
Update old test to use g
.
g
enca
c
he
instead of
.
.
.
commit
|
commitdiff
|
tree
2016-07-11
Brian Simpson
Thin
g
: All subclasses m
u
st set the _
c
ache attr
i
bu
t
e
commit
|
commitdiff
|
tree
2016-07-11
Br
i
an Simpson
emr_tra
f
fic:
Don't check existing c
l
u
ster's bootstrap
.
.
.
commit
|
commitdiff
|
tree
2016-07-06
Bri
a
n Simpson
U
se stalecache f
o
r "all
:
rising
"
key
commit
|
commitdiff
|
tree
2016-07-06
Brian Simpson
rising: Chan
g
e the "all" key to work with replicated
.
.
.
commit
|
commitdiff
|
tree
2016-07-05
Brian Simpson
e
m
r_h
e
lper
s
:
Don't conv
e
r
t date string to date
t
ime
commit
|
commitdiff
|
tree
2016-07-05
Brian Simpson
LocalizedSu
b
r
eddit
s
:
Ignore memcache
e
r
rors
commit
|
commitdiff
|
tree
2016-07-05
Br
i
an
Simpson
geoip: Ignore mem
c
a
c
h
e
err
o
rs
commit
|
commitdiff
|
tree
2016-07-05
Brian Simpson
sgm: O
p
tionally i
g
nore errors
o
n
s
et
commit
|
commitdiff
|
tree
2016-07-05
Brian Simpson
Subreddit
.
_by_name:
Igno
r
e
errors on populating the
.
.
.
commit
|
commitdiff
|
tree
2016-07-05
Brian S
i
mpson
Im
p
ort sgm from
i
ts own modu
l
e, not from
r
2
.
li
b
.
cache
commit
|
commitdiff
|
tree
2016-06-21
Bria
n
Simps
o
n
Query: mov
e
ca
c
hing to
g
.
g
enca
c
he and make
k
ey human
.
.
.
commit
|
commitdiff
|
tree
2016-06-21
Brian
Simpson
CachedResults
:
imp
l
e
ment
g
et_query_i
d
en() to not rely
.
.
.
commit
|
commitdiff
|
tree
2016-06-21
B
r
ian
Simpson
MultiQuery: Remove cachi
n
g
commit
|
commitdiff
|
tree
2016-06-20
Brian Simpson
Loca
l
izedSubreddi
t
s
: U
s
e g
.
gencac
h
e
commit
|
commitdiff
|
tree
2016-06-20
B
rian Simpson
Subr
e
d
d
it
.
_by
_
n
ame: Use g
.
gencache
commit
|
commitdiff
|
tree
2016-06-20
B
r
ia
n
Simpso
n
ris
i
ng: Us
e
g
.
g
encac
h
e
commit
|
commitdiff
|
tree
2016-06-20
Brian Simp
s
o
n
p
r
omot
e
: Use
g
.
gencache
commit
|
commitdiff
|
tree
2016-06-20
Brian Simpson
g
eoip: Use g
.
gen
c
a
c
h
e
commit
|
commitdiff
|
tree
2016-06-20
B
rian Simps
o
n
v
o
ting: Use g
.
gencache for q
u
eued
votes
commit
|
commitdiff
|
tree
2016-06-20
Brian Simpson
captcha: Store solutio
n
s in g
.
gencache
commit
|
commitdiff
|
tree
2016-06-20
Br
i
an Simpson
VO
n
eTime
P
assword: Use g
.
g
e
n
c
ache to check for
c
o
d
e
.
.
.
commit
|
commitdiff
|
tree
2016-06-20
Brian
S
impson
api:
U
se g
.
g
e
ncache for sto
r
i
n
g otp secret
commit
|
commitdiff
|
tree
2016-06-20
B
rian S
i
mpson
Add g
.
genc
a
che
f
or movin
g
keys
to mcrouter b
u
t
still
.
.
.
commit
|
commitdiff
|
tree
next