summaryrefslogtreecommitdiff
path: root/wikipedia
Commit message (Collapse)AuthorAge
* Moved category page back to the leftMatt Watson2013-12-12
| | | | | | | Per Dalio's request. Hard coded to 40px pixels so not very adaptable. Tried to imitate the specs on basecamp. This button was supposed to appear on the left of page and not centered in the open space there. [endlessm/eos-sdk#427]
* Category button sizing for gtk 3.10Matt Watson2013-12-05
| | | | | | | | Another one. This one for gtk 3.10. With the new Gtk version, overriding get_preferred_width to handle overlong titles can mess up the height allocation when labels wrap. Specifying width for height management for the button fixed this [endlessm/eos-sdk#376]
* Fix wiki apps title category button sizingMatt Watson2013-12-05
| | | | | | | | | | | | | | | Before this the size request of the title category button is set based on the toplevels allocation. This broke when EosWindow's size request was fixed. Having some sort of container or bind constraint that allocated things based on percentages is the eventual solution here. For now I used a column homogeneous grid where each column was a percentage of the allocation. A little gross, but works fine, and our wiki apps handle resizing much better than they did before now [endlessm/eos-sdk#376] [endlessm/eos-sdk#376]
* Add category button mouseover arrow in overlayMatt Watson2013-12-04
| | | | | | | | No longer set the arrow images opacity, which seemed to be the root a visual bug. The overlay also means the arrow will always appear in the right of the category button and not be cut off even if the label is overlong [endlessm/eos-sdk#407]
* Simplified category buttonMatt Watson2013-12-04
| | | | | | Subclass button, so we don't need our own event boxes and event handling [endlessm/eos-sdk#407]
* Freed cairo context for BoxWithBg widgetMatt Watson2013-11-18
| | | | | | | This widget was used on the category page. Without the call to $dispose there's a large memory leak each time the category page is displayed on screen. [endlessm/eos-sdk#408]
* Merge pull request #406 from endlessm/issues/402rmacqueen2013-11-18
|\ | | | | Domain specific apps no longer must specify links
| * Domain specific apps no longer must specify linksWill2013-11-15
| | | | | | | | | | | | | | | | Refactored the process of settings which articles should be linked such that, if no linked articles JSON is specified, the view will behave as if hide_links were set to true [endlessm/eos-sdk#402]
* | Dispose cairo context in vfunc_drawMatt Watson2013-11-15
| | | | | | | | | | | | For our category buttons, otherwise the context and all associated resources are never freed [endlessm/eos-sdk#403]
* | Revert quick fix for memory leakMatt Watson2013-11-14
|/ | | | This reverts commit e7dc5aa70b27f3251ef82ce91d05dea770a0e7ac.
* Partly revert "Only load category button images when needed"Philip Chimento2013-11-12
| | | | | | | This reverts part of commit [ddcbb17]. It is a workaround for a GJS bug and should itself be reverted later. [endlessm/eos-sdk#399]
* Add word wrap widths to the front page categoriesPhilip Chimento2013-11-07
| | | | | | | | | | - Fonts are changed to be 150px and 48px for ODROID's 1920x1080 resolution - Word-wrapping widths are set to approximately reproduce the deck [endlessm/eos-sdk#394] [endlessm/eos-sdk#394]
* Add word wrap on category titlesRory MacQueen2013-11-07
| | | | [endlessm/eos-sdk#394]
* Only load category button images when neededMatt Watson2013-11-06
| | | | | | | | Before we were loading them every time size_allocate was called, even if the widget was not even realized. Now just check during draw if the pixbuf needs to be reloaded. Also draw the pixbuf directly with cairo which cuts down on widget hierarchy. [endlessm/eos-sdk#349]
* Don't pass lang parameter to query anymorePhilip Chimento2013-11-04
| | | | | | Also, call the query parameter appname instead of app_name [endlessm/eos-sdk#386]
* Intercept requests to /wiki/[title]Rory MacQueen2013-11-04
| | | | | | | | Previously we were not interecepting requests to /wiki/[title] in wikipedia webview, which meant that when we refresh to online, all links would not work. [endlessm/eos-sdk#386]
* Load articles by IdRory MacQueen2013-11-04
| | | | | | | Previously we were loading articles in domain specific apps by title. Now, we are loading by Id, which is the suffix of the url. [endlessm/eos-sdk#386]
* Merge pull request #384 from endlessm/issues/383rmacqueen2013-11-01
|\ | | | | Issues/383
| * Query articles with the 'source' parameterPhilip Chimento2013-10-31
| | | | | | | | | | | | | | | | We need to pass the 'source' parameter to NodeJS to indicate the source database that an article comes from. This should later be replaced by indicating this information in the database name. [endlessm/eos-sdk#383]
| * Show 'browser-' URIs in system browserPhilip Chimento2013-10-31
| | | | | | | | | | | | | | | | If the URI scheme starts with 'browser-', then show the corresponding URI without 'browser-' in the system default browser. e.g. shows browser-http://google.com as http://google.com in the system browser. [endlessm/eos-sdk#383]
| * Query articles with title, not IDPhilip Chimento2013-10-31
| | | | | | | | | | | | | | This is because the NodeJS server and the database don't know about the WikiHow artice 'cocinar-arroz'; it is stored as 'Cómo Cocinar Arroz'. [endlessm/eos-sdk#380]
* | Query nodejs with versioned APIPhilip Chimento2013-10-30
|/ | | | | | Make requests to 127.0.0.1:3000/v1 instead of 127.0.0.1:3000. [endlessm/eos-wikipedia-offline#145]
* Merge pull request #379 from endlessm/issues/377P. F. Chimento2013-10-30
|\ | | | | #377 WikiWebView now takes personality and app_name
| * WikiWebView now takes personality and app_nameRory MacQueen2013-10-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, we only had one database so the wiki web view did not have to pass its app name and personality to node js API. Now that each app has its own database, this needs to happen [endlessm/eos-sdk#377] [endlessm/eos-sdk#377] [endlessm/eos-sdk#377] [endlessm/eos-sdk#377]
* | WikiWebView now has search results methodRory MacQueen2013-10-29
|/ | | | | | To load a list of articles matching search query [endlessm/eos-sdk#373]
* Removed import of SideBarButtonMatt Watson2013-10-28
| | | | | | The widget has been removed but an import remained [endlessm/eos-sdk#348]
* Article lists scroll to top on page transitionMatt Watson2013-10-28
| | | | | | | | | Moved all the transition code to the view, because it made making the scroll up calls we need easier. Also think thats the right place for the scroll logic to live. Took some nice code from :tomato:'s spike to use signals on back button presses in the view. [endlessm/eos-sdk#348]
* wiki: Add documentation for all new and changed APIPhilip Chimento2013-10-23
| | | | | | | For good code hygiene, let's make sure we document all new and changed APIs. [endlessm/eos-sdk#367]
* wiki: Functionality unchanged with new JSON formatPhilip Chimento2013-10-23
| | | | | | | | | Reorganizes the various models, presenters, and views, so that the wiki apps work unchanged with the new JSON export format. Also refactors so that there is less linkage between models, presenters, and views, so further updates will hopefully be less extensive. [endlessm/eos-sdk#367]
* wiki: Use this._model and this._viewPhilip Chimento2013-10-23
| | | | | | | Minor refactoring, because this._domain_wiki_model and this._domain_wiki_view are a lot of unnecessary typing. [endlessm/eos-sdk#367]
* Merge pull request #365 from endlessm/issues/361mattdangerw2013-10-22
|\ | | | | wikipedia: Use Lato fonts
| * wikipedia: Use Lato fontsPhilip Chimento2013-10-18
| | | | | | | | | | | | | | | | | | Fonts are changed according to the conversion table. It turns out that what we thought was the "Benton Sans correction" does not only apply to Benton Sans - I think it is due to GTK's lack of baseline alignment, something that has been rectified in GTK 3.10. [endlessm/eos-sdk#361]
* | 'eos-application-manifest' tool with subcommandsPhilip Chimento2013-10-18
|/ | | | | | | | This is the framework for an 'eos-application-manifest' tool with subcommands as in git. Currently the 'help' and 'version' subcommands are implemented. [endlessm/eos-sdk#152]
* Arrow on sidebar button is always there.Rory MacQueen2013-10-11
| | | | | | | | Previously, the arrow on the sidebar back button for the article page would only appear on hover. Now it appears always, as per design request. [endlessm/eos-sdk#352]
* Domain wiki apps use language codeRory MacQueen2013-10-08
| | | | | | | | Previously, domain wiki apps were not sensitive to the language their articles were in. Now, they get that language from the JSON file name and use that to tell nodejs which language database to use [endlessm/eos-sdk#345]
* Styled top bar back buttonRory MacQueen2013-10-01
| | | | | | | | | | Previously, the back button on the top window bar was not styled correctly according to designs. This commit changes the BackButton widget to now suclass Endless Asset Button and have the right styling. [endlessm/eos-sdk#301]
* Gave category page back button a nameRory MacQueen2013-10-01
| | | | | | | | | Previously this asset button did not have a name and we were just styling it by styling the Gjs AssetButton. However, this will not work when we want to add other asset buttons with different styling, so giving it its own name [endlessm/eos-sdk#301]
* Added back button to categories pageRory MacQueen2013-09-26
| | | | | | | | | Designers wanted a back button the categories page to make it easier for users to navigate back to the home page. This button is an asset button from our SDK. [endlessm/eos-sdk#270]
* Renamed TextButton to ListTextButton so that we can have other textbuttonsRory MacQueen2013-09-26
|
* Reorganized widget layout for the category pageRory MacQueen2013-09-26
| | | | | | | | | | | We were encountering a bizarre bug where the textview would enlarge when you click the button on the category page. It seems to be due to the set_size_request call on the textview or containing widget. To correct, I took out that set_size_request call and instead subclassed the textview to override the get_preferred_width function. The button image is a placeholder till we get the right asset from design.
* Removed unnecessary frame on category pageRory MacQueen2013-09-26
|
* Merge pull request #292 from endlessm/issues/289mattdangerw2013-09-12
|\ | | | | Install WebHelper into GJS modules directory
| * Install WebHelper into GJS modules directoryPhilip Chimento2013-09-12
| | | | | | | | | | | | | | | | WebHelper is now importable using const WebHelper = imports.webhelper; [endlessm/eos-sdk#289]
* | Allowed links in domain specific appsRory MacQueen2013-09-03
|/ | | | | | | | These are the changes to the wikipedia SDK to allow for certain showable links in the domain specific apps. The JSON file will specify which links can be clickable across all articles. [endlessm/eos-sdk#282]
* Removed HTML related codeRory MacQueen2013-08-30
| | | | [endlessm/eos-sdk#279]
* Word-wrap overly long category titlePhilip Chimento2013-08-29
| | | | | | | Turn word-wrapping on in the GtkLabel. Set the arrow button's valign to be END, and add a Benton Sans correction to the arrow button. [endlessm/eos-sdk#255]
* Functionality to show links we wantRory MacQueen2013-08-28
| | | | | | | We had to add a field to WikipediaWebView in order to determine whether we want to display all links or not [endlessm/eos-sdk#271]
* Can add articles to the main category.Nick Isaacs2013-08-21
| | | | | | | | If there are articles for an app's main category, then it becomes clickable and acts like any other category. If there are no articles for a category, it isn't cilckable and has no hover animations. We no longer use the Title Label View since the main category is now a category button like any other. [endlessm/eos-sdk#259]
* Wikiwebview now uses new API callsRory MacQueen2013-08-19
| | | | [endlessm/eos-sdk#267]
* Merge pull request #266 from endlessm/issues/264P. F. Chimento2013-08-19
|\ | | | | #264 Added ability to follow links in wiki webview