Upgrade (projects must change):
-
log_apiis a small request log now, so drop it before deploying (Atom recreates it at startup; only request logs are lost):DROP TABLE log_api;on the log database (master, unless a project moved it). A row holds codes instead of text:api_id(the route'sconfig_apiid;/infonames it),methodandresponse_type(smallint, named in/info's int_mapping),status_code,response_time_ms,ip_address(inet),error,request_id. The query string, headers and bodies are kept only withconfig_is_log_api_detail(off by default). Onlyconfig_apiroutes are logged:config_is_log_api_allis gone (delete it from.envorconfig_extend.py)./my/api-usageanswers{api_id, api, count}. -
One path, one method: startup stops when a path is registered with two methods; give each action its own path (
/user/user-read,/user/user-delete). None of the known projects has one. -
Queue names:
func_producer,func_run_brokerandfunc_consumer_runtakebroker=andtask=(werequeue=andchannel=);?queue=on/my/object-createand/my/object-updateis?broker=;func_consumer_channelsisfunc_consumer_tasks;config_queue_servicesisconfig_queue_brokers. -
users.genderis a smallint (1 Male, 2 Female, in/info's int_mapping; was text): startup converts the column, which works only while its values are empty or 1/2. -
The Analytics page is gone: its users, roles and permissions are Monitor's Users tab (
/page/analyticsanswers 404).GET /admin/monitor?view=isusers(default),log_api,database,memoryorapp;requests,errors,background,redisandhoursare gone,group=day|week|monthpicks the users timeline. -
Monitor: five tabs. Users (totals, users created per day, week or month, roles, API permissions; every figure opens its users with the filter shown), Log API (traffic of the last 24 hours with methods, status codes, busiest, slowest and failing APIs, requests per day over the 7 days the log keeps), Database (the project's master only; Connections is the whole server's), Memory and App. Every bar shows its number; one table look everywhere.
-
PgWeb: Database info and Database health are about the database in the URL; Health ends with the databases on the same server. Plain tables, no stripes, More > Refresh reloads either view.
-
Message: the left panel is the Inbox (latest conversation per user); a users button starts a new conversation;
DELETE /my/message-delete-threaddeletes one conversation. -
My profile: Account and Profile tabs in the dialog header; new optional
userscolumns (postal code, language, time zone, currency, picture, website and social links) with pick lists for country, currency, language and time zone (config_options, fromfiles/). -
Pages: API page cleanup (plain table heads, short titles, short empty states), every search box's × is red, floating login labels, no cross-page links.