Carmeli Tamir
1a91f04927
Straightened the interface between query and web, as preparation to add a json api parallel to web
2019-10-05 00:27:52 -04:00
Carmeli Tamir
d926243164
Refactored ident query to use python objects rather than parsing REs
2019-10-02 00:01:46 -04:00
Mikael Bouillot
94caef2816
Set Pygments option to keep leading blank lines
...
Fixes #33
2019-09-25 08:14:04 +00:00
Michael Opdenacker
2d526f7709
web.py: add minor comments
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-09-23 15:47:41 +02:00
Michael Opdenacker
0eea6aa35f
Add a message banner and hyperlink to the header
...
- This allows to make some announcements
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-03-21 07:36:31 +01:00
Michael Opdenacker
7f5187ad4e
Capitalize project names in page titles
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
2018-03-29 06:36:20 +02:00
Michael Opdenacker
4cb3150119
Improve page titles
...
For more useful information in seach engine results.
Essentially, we highlight:
- That the page is about source code for the current project
- Pages that are about an identifier
- The revision tag being considered (otherwise the page
has the same title for 2 different tags)
Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
2018-03-29 06:28:52 +02:00
Michael Opdenacker
b321480ab9
Sort projects by name
...
- This impacts the drop down menu allowing to choose projects.
As the list of supported projects increases, this should
make project selection easier.
Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
2018-03-29 05:45:54 +02:00
Mikaël Bouillot
537e6b3a7b
Change business name
2018-02-15 21:27:00 +00:00
Mikaël Bouillot
b6e26e75c8
Switch to relative base URL for HTTPS support
2017-09-25 14:15:39 +02:00
Mikaël Bouillot
09c29afe32
Don't hide subversions
2017-07-03 12:42:12 +02:00
Mikaël Bouillot
57c17919e7
Strip whitespace from identifier queries
...
Fixes #22
2017-06-30 15:44:53 +02:00
Mikaël Bouillot
1b4c0fc7d4
Update notices to match the new license
2017-06-27 14:13:28 +02:00
zo
a100f42046
Improve line's anchor scroll jump
2017-05-24 15:02:40 +02:00
zo
bcbf25a6b1
Move project link in footer
2017-05-12 20:57:34 +02:00
zo
317a1c5a4e
Fix double </tr> closing
2017-05-12 20:31:33 +02:00
zo
7b07aa0c9d
Show active project in project menu
2017-05-12 16:14:47 +02:00
zo
e0d5db0ef5
Use pygments syntax highlighter
2017-05-12 16:12:08 +02:00
zo
53aab9601a
Refactor ident results html formating
2017-05-12 16:08:35 +02:00
zo
fed9263dc9
Use html class instead of id
2017-05-12 16:01:12 +02:00
zo
8484750ea2
Refactor html formating
2017-05-12 15:47:24 +02:00
zo
5a746645e6
Improve breadcrumb
2017-05-12 15:36:14 +02:00
zo
0fe583011b
Add dynamic projects list
2017-05-12 15:24:51 +02:00
zo
1e0eb60c24
Improve versions menu
2017-05-12 15:22:46 +02:00
zo
46f7eb7089
Use jinja template engine
2017-05-12 15:19:17 +02:00
zo
49bcc7bf52
Refactor variable's names
2017-05-12 14:49:52 +02:00
zo
dec241a866
Remove free-text search
2017-05-12 13:51:47 +02:00
zo
d6c83c8a6e
Remove extra spaces
2017-05-12 13:36:13 +02:00
Mikaël Bouillot
5064e6c924
Call query through python interface
2017-05-10 21:49:07 +02:00
Mikaël Bouillot
edd43b095c
Switch buffering to StringIO
2017-05-10 21:10:25 +02:00
Mikaël Bouillot
6b10d82124
Add freetext search option for old site
2017-05-10 13:40:37 +02:00
Mikaël Bouillot
c767b2d134
Updated titles and other cosmetic details
2017-05-02 16:02:01 +02:00
Mikaël Bouillot
7db38c24fd
Add support for virtual 'latest' version
...
Fixes #8
2017-05-01 19:14:08 +02:00
Mikaël Bouillot
6c475afb98
Remove italic styling for comments and strings
...
Fixes #9
It seems the italic font can sometimes be rendered at a different
height than the plain typeface, throwing the line number alignment
out of whack.
2017-04-27 20:59:06 +02:00
Mikaël Bouillot
471134bf85
Move version hierarchy logic to script.sh
2017-04-06 21:04:26 +02:00
Mikaël Bouillot
3bd9d72731
Add project selection and freetext search
2017-04-06 18:36:58 +02:00
Mikaël Bouillot
ca335d49ef
Fix redirects for multi-project
2017-04-05 20:56:42 +02:00
Mikaël Bouillot
ec5deff386
Return error on invalid URL
2017-04-05 19:51:54 +02:00
Mikaël Bouillot
68302a8881
Support multiple projects
2017-04-05 19:48:46 +02:00
Mikaël Bouillot
a657388b02
Make base URL point to the current project
2017-04-05 11:06:22 +02:00
Mikaël Bouillot
e594999925
Implement new URL scheme
2017-04-05 10:55:34 +02:00
Mikaël Bouillot
84bd5a0a16
Normalize paths
2017-04-04 15:12:59 +02:00
Mikaël Bouillot
2c3e362833
Expose raw git tags
2017-04-03 19:56:15 +02:00
Mikaël Bouillot
3ef4641fc4
Style string literals
2017-03-23 17:33:32 +01:00
Mikaël Bouillot
0fc96f3ce2
Fix syntax
2017-03-16 15:30:07 +01:00
Mikaël Bouillot
409abbd171
Also return a 404 error for identifiers not defined in current version
2017-03-16 15:12:43 +01:00
Mikaël Bouillot
80e113ab99
Don't deduce type from trailing slash
...
Instead of using a trailing slash in the path to tell trees from blobs,
we actually ask git the type of the object. Also, if the object is a
tree but lacks a trailing slash, we redirect to the correct URL.
Fixes #6
2017-03-09 18:37:40 +01:00
Mikaël Bouillot
832f7c8b6d
Add license
2017-03-09 17:25:42 +01:00
Mikaël Bouillot
f05dd3006a
Change default version to 4.10
2017-02-21 16:56:42 +01:00
Mikaël Bouillot
c4f9ab3b27
Move whitespace padding outside line number link
2017-02-21 11:05:00 +01:00